Skip to content
UPC Maker

EAN-13 Barcode Generator

Enter your EAN number to get a retail-ready barcode in PNG or SVG. Twelve digits gets the thirteenth calculated for you. Thirteen digits gets the last one verified before you print it on ten thousand boxes.

Your barcode appears here.

Free, no sign-up, no watermark. Barcodes are drawn in your browser and nothing you type is uploaded.

How an EAN-13 number is built

EAN-13 is the retail barcode used in Europe, Asia, Latin America, Africa and Oceania. Its 13 digits have three parts.

  • GS1 company prefix (usually 7 to 10 digits): licensed to your brand. The first two or three digits show which national GS1 office issued it.
  • Item reference (the remaining digits up to 12): you assign one to each variant.
  • Check digit (digit 13): calculated from the first 12.
EAN-13 barcode for the number 5901234123457 with the first digit printed to the left of the bars
EAN-13. The first digit sits outside the bars because it is encoded in the pattern of the left half.

EAN-13 and UPC-A are the same system

A 12-digit UPC is an EAN-13 with a leading zero left off. Add the zero and you have a valid EAN-13 with the same check digit. This is why you do not need two barcodes to sell one product on both sides of the Atlantic. Scanners everywhere read both, and databases store both as a GTIN.

If your number was issued by GS1 US it will be 12 digits, and the UPC generator is the natural fit. If it was issued by any other GS1 office it will be 13 digits and belongs here.

Common GS1 prefixes

PrefixIssued by
000 to 019, 030 to 039, 060 to 139GS1 US
300 to 379GS1 France
400 to 440GS1 Germany
450 to 459, 490 to 499GS1 Japan
500 to 509GS1 UK
690 to 699GS1 China
800 to 839GS1 Italy
890GS1 India
930 to 939GS1 Australia
978, 979Books (ISBN)

The prefix shows where the number was licensed, not where the goods were made. Numbers starting 978 or 979 are books, and the ISBN barcode generator handles those, including old 10-digit ISBNs.

EAN-13 size

At 100% an EAN-13 is 37.29 mm wide and 25.93 mm tall including the quiet zones and the digits. It may be printed from 80% to 200%. The quiet zone on the left is slightly wider than on the right, which is why the first digit hangs off the left edge: it marks out the space that has to stay clear.

Before you send it to print

  • Confirm the number with the check digit calculator if it was copied by hand.
  • Use the SVG file for packaging artwork so the bars stay sharp.
  • Do not stretch the barcode to fit a space. Scale it evenly or pick a smaller size.
  • Print one proof and scan it. The online barcode scanner reads a phone photo of the proof.

For outer cartons of the same product, the unit EAN is not enough. Cases get their own number, printed as an ITF-14 barcode.

Frequently asked questions

Can I turn a UPC into an EAN-13?

Yes. Put a zero in front of the 12-digit UPC. The check digit stays the same, because the extra zero adds nothing to the sum. Scanners sold in the last two decades read both.

What do the first digits of an EAN mean?

The first two or three digits are the GS1 prefix, which shows which national GS1 office licensed the number. It is not the country the product was made in. A brand based in Germany can make goods anywhere and still carry a 400 to 440 prefix.

When should I use EAN-8?

Only when the pack is too small for EAN-13, such as a lipstick or a single confectionery bar. EAN-8 numbers are issued separately by GS1 and are not a shortened EAN-13.

Do US retailers accept EAN-13?

Yes. US point-of-sale systems have been required to read EAN-13 since 2005, so a product with an EAN-13 does not need a second UPC to be sold in the United States.