Barcode generator
Make a barcode for a product number, shipping label or asset tag and download it as SVG or PNG. For EAN, UPC and ITF-14 the check digit is worked out for you.
runs in your browser · nothing uploaded
How to use it
- Choose the barcode type. Retail products use EAN-13 (or UPC-A in North America); labels and stock systems usually use Code 128.
- Type the value. For EAN and UPC you can leave off the last digit and it will be calculated.
- Adjust the height and whether the number shows underneath.
- Download SVG for print, which stays sharp at any size, or PNG.
Which type to use
EAN-13 and UPC-A carry the GTIN numbers printed on retail products. Code 128 encodes any text and is dense, which is why shipping labels use it. Code 39 is older and only does capitals, digits and a few symbols, but many legacy scanners and asset tags expect it. ITF-14 goes on outer cartons.
How the check digit works
EAN, UPC and ITF-14 end with a check digit so a scanner can catch a misread. Starting from the right of the other digits, multiply them alternately by 3 and 1, add them up, and the check digit is whatever brings the total to the next multiple of 10. For 590123412345 that gives 7, so the full EAN-13 is 5901234123457.
Selling in shops
A barcode is just a picture of a number. To sell through retailers, the number itself must be a GTIN licensed to your company by GS1, the standards body. Made-up numbers work for internal stock, but retailers check them against GS1's register.
Questions
Is anything sent to a server?
No. Everything happens in your browser, and nothing you type is uploaded or stored by us.
Why is my EAN-13 rejected?
Either it has the wrong number of digits, or you typed 13 digits and the last one is not the correct check digit. Type the first 12 and let the page add it.
SVG or PNG?
SVG for anything printed: it is made of shapes, so the bars stay crisp at any size. PNG is fine for screens and documents that don't accept SVG.