EAN-13 Barcode Generator

Enter your 12 or 13-digit EAN number and get a scannable EAN-13 barcode straight away. We add or verify the check digit, and you can download print-ready PNG, SVG or PDF files for free.

  • 100% free
  • No sign-up
  • No watermark
  • Works offline in your browser

Enter 12 digits and the check digit is added, or 13 digits and it is verified. Add a space and 2 or 5 digits for an add-on, e.g. 5901234123457 12.

Customize size, color & style
Make many

How to create a EAN-13 barcode

  1. Enter your data in the box above. Enter 12 digits and the check digit is added, or 13 digits and it is verified. Add a space and 2 or 5 digits for an add-on, e.g. 5901234123457 12.
  2. The barcode updates live as you type. Open Customize to change the bar height, colors, rotation or quiet zone.
  3. Click Download PNG for labels and documents, or SVG / PDF for print and packaging design.
  4. Test it with our online barcode scanner before you print a large run.

What is an EAN-13 barcode?

An EAN-13 barcode (European Article Number, now officially GTIN-13) is the 13-digit barcode on retail products sold almost everywhere outside North America. It is the barcode that supermarket and shop checkouts scan.

The 13 digits are a GS1 prefix (which shows the GS1 member organisation that issued the number, not where the product was made), your company number, an item reference and a final check digit. Books use EAN-13 too, with a 978 or 979 prefix (the ISBN barcode).

EAN-13 is a superset of UPC-A: a 12-digit UPC with a leading 0 is the same code, so scanners in the US and Canada read EAN-13 without trouble.

Where EAN-13 is used

  • Retail products in Europe, Asia, Africa, Latin America and Oceania
  • Amazon, eBay and other marketplace listings that ask for a GTIN or EAN
  • Supermarket and point-of-sale checkout
  • Books (ISBN), magazines (ISSN) and printed music (ISMN)
  • Warehouse and inventory systems keyed on GTIN-13

EAN-13 specifications

TypeLinear (1D), fixed length
CharactersDigits 0–9 only
Length13 digits (12 + check digit)
Check digitMandatory, modulo 10 (GS1 weights 1 and 3)
Nominal size37.29 mm × 25.93 mm at 100% magnification
Allowed scaling80% – 200% for general retail
Add-onsOptional 2-digit (EAN-2) or 5-digit (EAN-5)
StandardGS1 General Specifications, ISO/IEC 15420

Tips for a barcode that scans first time

  • Print dark bars on a light background. Black on white is safest. Red, orange and yellow bars do not scan with red-light scanners.
  • Keep the quiet zone clear: about 11 modules on the left and 7 on the right (roughly 3.6 mm and 2.3 mm at 100%).
  • Do not cut the bar height down to fit your artwork. Truncated EAN-13 codes are a common reason for retailer rejections.
  • Download SVG or PDF for packaging so the bars stay sharp at any size.

Frequently asked questions

Does EAN-13 need a check digit?

Yes. The 13th digit is a mandatory modulo 10 check digit. If you type 12 digits, this generator calculates it for you. If you type all 13, it checks the last digit and shows an error if it is wrong. You can also use the EAN check digit calculator.

Where do I get an EAN-13 number?

For retail sale, from GS1, the non-profit that licenses company prefixes in each country. The barcode image is free to make, but the number must belong to your company. See how to get a barcode for your product.

Do the first digits show the country of origin?

No. The first two or three digits show which national GS1 office issued the company prefix. A product made in China can carry a 50 (UK) prefix if a UK company registered it. Look any prefix up in our barcode country codes list.

What is the difference between EAN-13 and UPC?

EAN-13 has 13 digits and UPC-A has 12. A UPC-A is an EAN-13 that starts with 0, and modern scanners read both. Use the UPC to EAN converter to switch between them, or read UPC vs EAN.

What size should an EAN-13 barcode be?

The nominal size is 37.29 × 25.93 mm, and GS1 allows 80% to 200% of that for general retail. Below 80% many checkout scanners struggle. Our barcode size guide has the full table.

Can I add a price or issue number to an EAN-13?

Yes. Type a space after the 13 digits and then 2 or 5 more digits, for example 5901234123457 12. The extra digits are drawn as an EAN-2 or EAN-5 add-on to the right of the main barcode. Magazines and books use these.

Related free tools