EAN-13 Barcode Generator

Make an EAN-13 barcode for a product - type 12 digits and we add the 13th, the check digit.

Download it at the true print size as a PNG, SVG, EPS or PDF, or print a whole sheet of labels.

Every change is scan-tested by our own reader, and the GS1 prefix shows which country your number was registered in. Only need to check a number? Use the Check Digit Calculator.

Preview -
Checking your barcode...Our reader scans every barcode you make.
Type-
Print size-
Bar width (X)-
Magnification-
-measuring...

What kind of barcode?

Which one?

How to Make an EAN-13 Barcode

  1. Type your number. Enter the 12 digits from GS1 and we add the check digit - or type all 13 and we verify it.
  2. Pick the size. 100% is the standard (37.29 x 25.93 mm with margins). Go down to 80% on small packs, never lower.
  3. Check the scan. Our reader scans the preview after every change and warns you about colours a till scanner cannot see.
  4. Download. Save a PNG or JPG at 300-1200 dpi, a vector SVG, EPS or PDF in millimetres, or a label sheet.

Selling in the US and Canada too? Tills there read EAN-13 just fine, but some retailers still ask for a UPC barcode. Need hundreds of codes? Open Many barcodes at once for a CSV or a numbered series.

What the 13 Digits Mean

An EAN-13 number has four parts.

PartExampleWhat it is
GS1 prefix590The GS1 office the company joined - 590 is Poland
Company number1234Your company, given by GS1
Item number12345The product, chosen by you
Check digit7Worked out from the other 12 digits

The prefix says where the brand joined GS1, not where the product was made. Company and item numbers share 9 digits, so a bigger company gets a shorter company number and room for more products.

How the Check Digit Is Worked Out

Scanners use the last digit to catch misreads.

Multiply the 12 digits by 1, 3, 1, 3... from the left, add the results, and the check digit is whatever brings the total up to the next multiple of 10. For 590123412345 the sum is 83, so the check digit is 7.

See every step for your own number in the Check Digit Calculator - it checks UPC, GTIN-14, ISBN and SSCC numbers too.

EAN-13 Print Sizes

MagnificationBar width (X)Size with margins
80% (smallest)0.264 mm29.83 x 20.74 mm
100% (standard)0.330 mm37.29 x 25.93 mm
120%0.396 mm44.75 x 31.12 mm
150%0.495 mm55.94 x 38.90 mm
200% (largest)0.660 mm74.58 x 51.86 mm

Keep the full bar height and the white margins on both sides - they are part of the barcode. Printing on a dark or red pack? Dark bars on a white box work; red bars do not, because till scanners use red light.

One thing to know before you print: a barcode is only a picture of a number. For shops, Amazon and other marketplaces the number itself has to be yours - you get it from GS1 or, for books, from your national ISBN agency. Made-up or bought-on-eBay numbers can get listings removed.

Frequently Asked Questions

Yes - no sign-up, no watermark, and the files are yours to use on anything you sell. The barcode is only the picture, though: the number should come from GS1 so shops and marketplaces accept it.

From GS1, the organisation that runs product barcodes - join the GS1 office in your country and you get a company prefix for your products. Small shops that only sell in their own store can use in-store numbers starting with 2 instead.

The 13th digit, worked out from the other 12 so a scanner can tell when it misread a bar. Type 12 digits and we add it; type 13 and we tell you if it is right. The Check Digit Calculator shows the maths.

No. The first three digits are the GS1 prefix - they show which GS1 office the brand owner joined. A German company making goods in China still has a 400-440 prefix. We show the prefix country under the number so you can check yours.

The standard size (100%) is 37.29 x 25.93 mm including the white margins. You can go from 80% to 200%; under 80% many tills struggle. Download a PDF or EPS and the size is exact in millimetres.

EAN-13 for almost every country. UPC-A is the 12-digit US and Canadian version - an EAN-13 starting with 0 is the same number. Some US retailers still ask for UPC-A: make it with the UPC Barcode Generator.

Yes. In Many barcodes at once, paste a list, load a CSV or make a numbered series - you get a ZIP of files or a label-sheet PDF. To read a printed batch back, use the Barcode Scanner.

Guides & Tutorials

All 40 guides
New Guide How to Scan a QR Code on a PC, Mac or From a Screenshot Oct 23, 2026 · 7 min read Read New Guide Barcode Types Explained: EAN, UPC, Code 128, ISBN and More Oct 28, 2026 · 8 min read Read New Guide Twitter (X) Image and Video Sizes for 2026 - Header, Profile, Posts Oct 28, 2026 · 5 min read Read