Barcode generator · Free

Free barcode generator

Make a Code 128, EAN-13, UPC-A, EAN-8 or Code 39 barcode in seconds. Check digits are added and verified, and everything runs in your browser.

Your barcode

100% is the nominal size for the type. Retail scanners accept 80–200% for EAN/UPC.

Print at 100% scale on a laser or thermal printer for the sharpest bars, leave the white margin around the code and scan one printed sample before a full run.

How it works

Create a barcode in three steps

01

Pick the barcode type

EAN-13 or UPC-A for shop products, Code 128 for SKUs and assets, Code 39 for simple IDs.

02

Enter the value

The check digit is added for EAN and UPC, or verified if you included it.

03

Download or print

PNG for documents, SVG for print shops, or print the bars straight from the page.

Tips

Barcodes that scan first time

  • Keep the white margin on both sides: a scanner needs it to find where the bars start.
  • Print dark bars on a light background and avoid colors with low contrast, such as red on white.
  • Do not stretch the image. If you resize it, keep the proportions and the module width as a whole number of printer dots.
  • Print a test label and scan it with the scanner that will be used, not only with a phone.
Who it's for

Where barcodes are used

Retail products

EAN-13 or UPC-A on packaging and shelf labels.

Shipping and returns

Code 128 on parcel and return labels.

Stock and inventory

SKU and location labels on shelves and boxes.

Assets and equipment

Code 39 or Code 128 on equipment tags.

Keep exploring

More for labels and stock

FAQ

Questions, answered

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

A barcode (1D) is a row of bars that stores a short number or text and is read by a laser or camera scanner. A QR code (2D) stores much more, such as a link, and is read by phone cameras. Shops and warehouses still use 1D barcodes on products and shelves.

Which barcode type should I use?

Use EAN-13 (or UPC-A in North America) for products sold through shops, Code 128 for SKUs, asset tags and shipping labels, and Code 39 for simple IDs in capital letters. EAN-8 is for very small packs.

Do I need to buy an EAN or UPC number?

To sell in shops and marketplaces, EAN and UPC numbers must come from GS1, which assigns your company prefix. This tool draws any valid number, but it cannot register one for you.

Why is the last digit added for me?

EAN and UPC end with a check digit calculated from the other digits. Enter the digits without it and it is added; enter all digits and it is checked, with an error if it does not match.

What size should I print?

At 100% an EAN-13 is about 37 mm wide with its margins. Retail standards allow 80–200%. Keep the white quiet zone on both sides and print in dark ink on a light background.

Need many barcodes at once?

Put a list of values on Avery-style label sheets.

Make barcode labels