Open Doc Tools

Barcode Generator

Scannable CODE128, EAN-13, UPC-A, CODE39 and ITF-14, exported as SVG or PNG.

Runs in your browser — nothing uploaded

How to use Barcode Generator

  1. Choose the symbology — CODE128, EAN-13, UPC-A, CODE39 or ITF-14.
  2. Enter the data. Invalid input for that format is flagged immediately.
  3. Download as SVG for print or PNG for a screen.

Which format, and how many digits

FormatAcceptsUsed for
EAN-13exactly 13 digitsRetail outside North America
UPC-Aexactly 12 digitsRetail in the US and Canada
EAN-8exactly 8 digitsSmall packaging
Code 128letters and digitsLogistics, internal labels
Code 39letters, digits, a few symbolsOlder industrial systems
ITF-14exactly 14 digitsShipping cartons

EAN-13, UPC-A, EAN-8 and ITF-14 end in a check digit worked out from the digits before it. Enter one fewer and it is calculated for you.

A retail barcode must be a number issued by GS1. One you invent will scan, and will collide with somebody else’s product.

Questions

Which type should I use?
CODE128 for general internal use — it takes letters and numbers and is compact. EAN-13 and UPC-A are retail product codes with fixed lengths and a check digit. ITF-14 is for shipping cartons.
It says my number is invalid.
Retail formats have a required length and a check digit that must be correct. EAN-13 needs exactly 13 digits, UPC-A needs 12.
Will it actually scan?
Yes, provided it is printed large enough with white space either side. Barcodes fail far more often from being printed too small than from bad data.

Guides that use this

Which barcode format do you need?EAN-13, UPC-A, Code 128, ITF-14, EAN-8 and Code 39 explained: what each is for, how many digits it takes, and which one your use needs.

Also called

Barcode Generator does all of these. Looking for something else? Search every tool.

Other Productivity tools