Barcode Generator: Code 128, EAN-13 and More

Barcodes let a scanner read a code in a fraction of a second, without typing errors. Shops use them on products, warehouses on boxes and shelves, and offices on asset tags and files.

This barcode generator creates Code 128, Code 39, EAN-13 and UPC-A barcodes, as well as QR codes, from the text or numbers you enter, and lets you download them as PNG images or PDFs.

Choosing a format

Retail barcodes need registered numbers

Anyone can draw an EAN-13 barcode, but selling a product in shops or on large marketplaces requires numbers issued to your company by GS1, which is GS1 India here. Made-up EAN numbers can clash with real products. For internal stock, use Code 128 with your own codes instead.

How to use this tool

  1. Enter the data: The text or number to encode.
  2. Choose the format: Code 128, Code 39, EAN-13, UPC-A or QR.
  3. Set the size: Adjust the height or size for your label.
  4. Download: Save as PNG for labels, or PDF for printing.

Features

Worked examples

Asset tags for office laptops

An office labels each laptop with an ID such as "TS-LAP-0042".

Result: Use Code 128, which handles letters, digits and hyphens, and print the PNG on label sheets.

An EAN-13 from a GS1 number

A small brand has received a GS1 India number for a new product.

Result: Choose EAN-13, enter the number, check the human-readable digits under the bars, and send the PDF to the packaging printer.

Who it is for

Tips

Frequently asked questions

Why does it say my data is invalid?

Each format accepts only certain characters and lengths. EAN-13 needs 12 or 13 digits and UPC-A 11 or 12; Code 39 accepts capital letters, digits and a few symbols. Use Code 128 for anything else.

Can I use these barcodes on products I sell?

The barcode itself will scan, but retail EAN and UPC numbers must be licensed from GS1. Use your GS1-issued number for products sold in stores.

Which format should I use for inventory?

Code 128. It is compact, reads reliably and accepts letters, numbers and symbols.

Related tools