EAN-13 barcode generator
Enter 12 digits and we'll add the check digit — or paste all 13 and we'll verify it. Choose a retail size and download a barcode that prints at exactly the right dimensions.
1Choose a format and enter your number
Retail products sold worldwide. 12 digits + 1 check digit.
This tool doesn't issue GTINs. To sell through retailers and marketplaces, license your numbers from GS1 — we check the check digit, not ownership. Get GS1 numbers
Size and style · optional
Digits under the bars help when a scan fails.
What's in an EAN-13 number?
An EAN-13 is a 13-digit GTIN. The first digits are a GS1 prefix and your company prefix, followed by an item reference you assign to each product, and finally the check digit that lets scanners catch misreads. Numbers starting with 978 or 979 are books (ISBN); numbers starting with 20–29 are for in-store use only.
EAN-13 size guide
GS1 nominal dimensions, including the light margins (quiet zones) and the human-readable digits. Our SVG files are about 0.7 mm wider because they also contain the “>” quiet-zone marker.
| Magnification | Narrow bar (X) | Width × height |
|---|---|---|
| 80% | 0.264 mm | 29.83 × 20.74 mm |
| 90% | 0.297 mm | 33.56 × 23.34 mm |
| 100% | 0.330 mm | 37.29 × 25.93 mm |
| 120% | 0.396 mm | 44.75 × 31.12 mm |
| 150% | 0.495 mm | 55.94 × 38.89 mm |
| 200% | 0.660 mm | 74.58 × 51.86 mm |
We don't sell barcode numbers
Some websites resell old EAN numbers. Retailers and marketplaces increasingly check GTINs against GS1's registry, so those numbers can be rejected. This tool creates the barcode image; for numbers, go to GS1. Got a whole catalogue? Use the bulk generator.
Frequently asked questions
How is the EAN-13 check digit calculated?
Take the first 12 digits. From the right, multiply them alternately by 3 and 1 and add everything up. The check digit is the number that brings the total to the next multiple of 10.
Where do I get EAN-13 numbers?
From GS1, the organisation that licenses barcode numbers in your country. A GS1 company prefix lets you create unique numbers for each of your products.
What size should an EAN-13 be?
The nominal size (100 %) is 37.29 × 25.93 mm including margins. Retailers usually accept 80 % to 200 %; check your retailer's or printer's requirements.
Can I shorten the bars to save space?
Avoid it where possible — truncated barcodes are harder to scan at checkouts. Scale the whole symbol down (to at least 80 %) instead.