Barcode generator

EAN-13, UPC-A, EAN-8, ITF-14, Code 128 and Code 39. The check digit is added or checked for you, and you get a print-ready SVG, a PNG or a whole sheet of labels as a PDF. Made in your browser, no sign-up.

Size and look

Many barcodes at once: ZIP or a sheet of labels

One number or code per line, in the type chosen above. Add a comma and a number to print copies of one code (590123412345, 10). Paste a column from Excel or Google Sheets.

How to make a barcode

  1. Pick the type. EAN-13 or UPC-A for products in shops, ITF-14 for cartons, Code 128 for your own stock codes.
  2. Type the number. For EAN and UPC you can leave out the last digit: we work out the check digit. If you type it and it’s wrong, you’re told and offered the right one.
  3. Check the size under Size and look. The defaults are the standard 100% size for retail codes.
  4. Download an SVG or PDF for print and packaging artwork (sharp at any size), or a PNG for documents and label software.

For many codes, paste the list into the box below the generator and download a ZIP or a PDF sheet of labels. Print the sheet at 100% (“Actual size”), not “Fit to page”, so the bars keep their size.

Which barcode type to choose

TypeHoldsUse it for
EAN-1313 digits (12 + check digit)Retail products almost everywhere outside North America; books (ISBN starts 978/979)
UPC-A12 digits (11 + check digit)Retail products in the US and Canada
EAN-88 digitsVery small packs where an EAN-13 doesn’t fit (numbers issued by GS1 on request)
ITF-1414 digitsOuter cartons and cases of products (printed on corrugated board, with the frame around it)
Code 128Letters, numbers and symbolsSKUs, stock locations, asset tags, tickets, shipping and internal labels
Code 39A–Z, 0–9 and a few symbolsOlder warehouse, ID-badge and industrial systems that ask for it

Where the numbers come from

A barcode is only a picture of a number. For shop products the number itself has to be yours: EAN, UPC and ITF-14 numbers are issued through GS1, usually by licensing a company prefix from your country’s GS1 office, or they come from the manufacturer of the product. Marketplaces such as Amazon point sellers to GS1 for new products. For anything inside your business, make up your own codes and use Code 128.

Print it so it scans

Why it’s made on your device

Product numbers, stock lists and asset tags are business data. The barcodes are drawn in your browser from the numbers you type; nothing is sent to a server, and there’s no account to make.

Frequently asked questions

Can I make up my own EAN or UPC number?

Not for products you sell in shops or on marketplaces. EAN and UPC numbers for retail come from GS1, the organisation that runs them: you license a company prefix and number your products with it, or get the number from the manufacturer. A made-up number can clash with another company’s product. For your own stock, shelves, assets or tickets, use Code 128 with any code you like.

Which barcode type should I use?

EAN-13 for retail products in most of the world, UPC-A for the US and Canada, EAN-8 for very small packs, and ITF-14 for outer cartons. For anything inside your business (SKUs, stock bins, library books, asset tags, tickets), use Code 128: it holds letters, numbers and symbols and is short. Code 39 is for older systems that ask for it.

What size should a barcode be when printed?

An EAN-13 at 100% is about 37.3 mm wide including its quiet zones, with bars 22.85 mm tall; the narrowest bar is 0.33 mm. GS1 allows it smaller or larger in proportion (roughly 80% to 200%), but bigger scans more easily. Don’t squash the height unless the pack is too small, keep the white margins, and print dark bars on a white or light background.

Why won’t my barcode scan?

The usual causes are: printed too small, the printer scaled the page (print at 100% or Actual size), the white margin at the sides was cut off, bars in a light or red colour, a shiny or curved surface, or a wrong check digit. This page works out the check digit for you and warns when it doesn’t match.

Guides for this tool