How to make an EAN-13 barcode
- Enter your GTIN-13: 12 digits, and we calculate the check digit, or all 13, and we verify it.
- Optional: add a 2- or 5-digit add-on. Magazines use it for the issue number, and some books use it for a price code.
- Choose a size (100% is standard) and download SVG for artwork or PNG at 300 DPI. Print at 100%.
EAN-13 and EAN-8
EAN-13 is the retail barcode used across Europe and most of the world. EAN-8 is a shorter version for packs too small for EAN-13. EAN-8 numbers are allocated separately by GS1, so you can’t just shorten an EAN-13 number.
What the digits mean
The first digits are a GS1 prefix showing which GS1 member organisation issued the number. For example, 50 is the UK. It doesn’t show where the product was made. Books use 978 or 979 (ISBN), and magazines and journals use 977 (ISSN). The last digit is a check digit that catches typing and scanning errors. You can watch us calculate it when you enter 12 digits.
Where do EAN numbers come from?
From GS1. In the UK that’s GS1 UK, which describes itself as the only authorised provider of unique GTINs. We make the barcode from the number you’ve been given; we don’t issue numbers.
Size and printing
At 100%, the narrowest bar is 0.33 mm and the full EAN-13 symbol with its margins is about 37.3 mm wide. Sizes from about 80% to 200% are allowed. Keep the full bar height and the blank margins, and print dark bars on a light background.
Questions
Can I make up an EAN number for testing? For internal testing, yes. For anything sold or listed, no: invented numbers can belong to another company’s product.
Do I need the add-on? Only if your retailer or distributor asks for it. Most products don’t.
Sources
- GS1 UK, GS1 UK (barcode numbers for UK businesses). Accessed 2026-11-29.
Reviewed on by Richard Pryn.