Miscellaneous Tools

Barcode Generator

Use this free Barcode Generator to create scannable 1D barcodes in formats like Code 128, Code 39, EAN-13, and UPC-A for inventory, labels, and products. Enter your data, pick a symbology, and download a clean barcode with the check digit handled for you. No sign-up required.

Multiple Symbologies Print Ready 100% Free

Why You Are Here

You are labelling inventory. You want to put scannable codes on stock, assets, or shelves so a scanner can pull up the right item instantly.

You are printing product or shipping labels. You need a barcode on a label that a retail or warehouse scanner will read reliably.

You are testing a scanner or workflow. You want sample barcodes to check that your scanner, app, or point-of-sale reads a given format correctly.

What This Tool Does

The Barcode Generator turns your text or number into a scannable 1D barcode in the format you choose, and lets you download it for printing on labels, products, or shelves. It handles the check digit for formats that need one, so the code you get is valid.

Everything runs in your browser. Nothing you enter is uploaded or stored.

Picking the Right Symbology

Barcode is not one format but a family, and choosing the wrong one is the most common mistake. Each type suits a different job.

Symbology

Encodes

Best for

Code 128

Full ASCII, dense

Shipping, internal inventory

Code 39

Letters, digits, some symbols

Simple asset and ID labels

EAN-13

13 digits

Retail products (outside North America)

UPC-A

12 digits

Retail products (North America)

ITF-14

14 digits

Cartons and shipping cases

Match the symbology to the reader

A warehouse workflow that scans internal codes is happy with Code 128, while a product destined for a shop till needs EAN or UPC because that is what retail scanners and databases expect. Pick the format your scanner and system are set up to read.

A Barcode Is Not the Same as a Retail Product Code

This is the honest core of the page, and the point that saves people from a real mistake. Generating an EAN or UPC image does not give you a legitimate product number.

Retail numbers must be issued, not invented

The digits inside a real EAN-13 or UPC-A are assigned through GS1, the organisation that governs retail barcodes. A number you make up may collide with a real product's code, and retailers will reject it. To sell in shops, you obtain a genuine number first, then encode it here.

This tool encodes a number, it does not register one

The generator draws a correct, scannable barcode for whatever value you give it. It cannot make that value a valid, owned retail identifier. For internal use, any Code 128 value is fine; for retail, the number must be a real GS1-issued one.

Internal use is unrestricted

If the barcode is only for your own inventory, assets, or a closed system, you can encode any value you like with Code 128 or Code 39. The restriction applies only to the public retail formats.

Scannability Depends on How You Print It

A perfect barcode image can still fail to scan if it is printed badly. A few physical rules decide whether a reader can read it.

Keep the quiet zone

Barcodes need clear white space on the left and right, called the quiet zone. Crop it off or crowd it with other elements and scanners struggle. Leave a margin around the bars.

Do not stretch or shrink too far

Squashing a barcode narrower than the scanner's minimum bar width, or blowing it up until the print blurs, both reduce readability. Scale it proportionally and keep it within a sensible size for the label.

Contrast and print quality matter

Black bars on a white background read best. Low-contrast colours, glossy reflections, and low-resolution or smudged printing all cause failed scans. Print sharp and dark on a light background.

Barcode or QR Code

The two get confused, so here is when each fits. For a 2D QR code, use the QR Code Generator (/miscellaneous-tools/qr-code-generator).

Use a 1D barcode when

Use a QR code when

A retail or warehouse scanner reads it

A phone camera reads it

You encode a short number or ID

You encode a URL, text, or Wi-Fi

It fits a narrow label strip

You have a square space

The system expects EAN, UPC, or Code 128

You want more data in less width

Common Mistakes to Avoid

Inventing an EAN or UPC Number for a Real Product

The digits in a retail barcode must be issued through GS1, not made up, or they may clash with a real product and be rejected by shops. Generate a retail barcode only from a genuine, owned number; for internal use, any Code 128 value is fine.
Cropping Away the Quiet Zone

Barcodes need clear white margins on each side to scan, and cropping tight to the bars or placing text right against them causes failed reads. Leave the quiet zone intact when you place the barcode on a label.
Choosing a Symbology Your Scanner Does Not Read

A barcode is only useful if your reader and system expect that format. Encoding data in a symbology your scanner is not set up for means it will not read, even though the image is correct. Match the format to the equipment before printing a batch.

Quick Reference

Item

Detail

Type

1D linear barcodes

Formats

Code 128, Code 39, EAN-13, UPC-A

Check digit

Calculated automatically

Retail EAN/UPC

Needs a real GS1 number

Internal use

Any Code 128 value works

Quiet zone

Keep clear margins each side

Print

Sharp, dark, high contrast

2D codes

Use the QR Code Generator

Best for

Inventory, labels, asset tags

Runs

100% in the browser, nothing stored

Frequently Asked Questions

What is a barcode generator?

A barcode generator is a free online tool that turns your text or number into a scannable 1D barcode image you can download and print. This barcode generator supports common formats such as Code 128, Code 39, EAN-13, and UPC-A, and handles the check digit automatically for the formats that need one.

Which barcode format should I use?

It depends on the job. Code 128 is dense and good for shipping and internal inventory, Code 39 suits simple asset labels, and EAN-13 or UPC-A are the retail product formats. Choose the symbology your scanner and system are set up to read.

Can I create a UPC or EAN for a product I sell in stores?

You can encode one, but the number itself must be a genuine code issued through GS1, not invented, or it may clash with a real product and be rejected by retailers. Obtain a legitimate GS1 number first, then use this tool to turn it into a barcode.

Why won't my printed barcode scan?

Usually a printing problem. Check that the quiet zone, the clear white margin on each side, is intact, that the barcode is not stretched or shrunk beyond a readable size, and that it is printed sharp and dark on a light background with good contrast.

What is a check digit?

It is a final digit calculated from the rest of the number that lets a scanner verify the code was read correctly. Formats like EAN-13 and UPC-A require one, and this tool calculates it for you, so the barcode you download is valid.

What is the difference between a barcode and a QR code?

A 1D barcode is the striped code read by retail and warehouse scanners and typically holds a short number or ID. A QR code is a 2D square read by phone cameras that can hold a URL, text, or Wi-Fi details. Use the QR Code Generator when you need a QR code.

Is my data private when I use this tool?

Yes. The barcode is generated entirely in your browser, so the value you enter is not uploaded to a server or stored, and there is no account. Your data stays on your device.

When should I use this barcode generator?

Reach for this barcode generator when you need scannable 1D barcodes for inventory, asset tags, shipping labels, or testing a scanner, in a format your equipment reads. For retail products, encode a real GS1 number; for internal use, any Code 128 or Code 39 value works.

Comments

Login to leave a comment

No comments yet. Be the first to comment!