How to make your EAN-13 barcode
- 1
Have your number ready: a GS1-licensed GTIN-13, an ISBN-13, or an in-store number that starts with 2.
- 2
Type the first 12 digits into Barcode value with EAN-13 selected. The check digit is calculated for you.
- 3
Compare the 13 digits printed under the preview with your assigned number, then download the PNG.
Where to use your barcode
Retail product packaging
Boxes, jars, bags, and bottles sold through supermarkets and shops, especially outside North America, carry an EAN-13 on the back or base.
Book covers (ISBN)
An ISBN-13 is an EAN-13 starting with 978 or 979. Enter its first 12 digits. The optional 5-digit price add-on some book trades use is not drawn.
In-store shelf and stock labels
GS1 reserves numbers starting with 2 for use inside one company, so a shop can label its own items as long as they never go to another retailer.
Replacement and proof labels
Reprint a scuffed or covered barcode for a product you already have a number for, or place the real barcode on packaging proofs.
Do you need GS1 to use an EAN-13 barcode?
This EAN-13 barcode generator will draw bars for any 12 digits, but the number is what stores care about. Products sold through retailers and large online marketplaces need a GTIN licensed to your company by GS1, through the GS1 member organization in your country.
Many retailers and marketplaces check barcode numbers against GS1’s records, so made-up or resold numbers can get listings rejected. Once GS1 has given you a company prefix and you have assigned a number to each product, you can draw the barcodes here for free.
How the EAN-13 check digit works
The 13th digit is a checksum that lets scanners catch misreads. Multiply the 1st, 3rd, 5th… digits by 1 and the 2nd, 4th, 6th… digits by 3, add everything up, and the check digit is whatever brings the total to the next multiple of 10.
For the sample 590123412345 the total is 83, so the check digit is 7 and the full barcode reads 5901234123457. If the last digit shown under your preview differs from the one on your GS1 certificate, one of the first 12 digits has a typo.
Print size and file tips
Stay close to 100% size
GS1’s nominal EAN-13 is about 37.3 × 25.9 mm (1.47 × 1.02 in) including quiet zones. Scale between 80% and 200%; smaller is harder for checkout scanners.
Keep the quiet zones and bar height
Leave clear space of about 11 bar widths on the left and 7 on the right, and do not crop the bars shorter to squeeze them onto a tight label.
Resize the PNG evenly
Barcodes download as PNG. Scale with the aspect ratio locked, never stretch one direction, and turn off “fit to page” when printing labels.
Dark bars on a light background
Black on white is safest. Scanners use red light, so red, orange, or yellow bars can vanish. Keep the code off seams, folds, and tight curves.
Frequently asked questions
Do I need GS1 to create an EAN-13 barcode?
To sell in shops or major marketplaces, yes: the number should be licensed to your company by GS1. QRBerry only draws the barcode image; it does not issue or register numbers.
What is the EAN-13 check digit?
It is the last of the 13 digits, calculated from the other 12 with a weighted sum. QRBerry adds it automatically so it is always correct.
Why can I only enter 12 digits?
The 13th digit is calculated for you. If you already have a full 13-digit number, type the first 12 and check that the preview ends with your last digit.
Does the first digit show the country of origin?
No. The first two or three digits identify the GS1 member organization that issued the company prefix, not where the product was made.
What is the difference between EAN-13 and UPC-A?
UPC-A is the 12-digit format common in the US and Canada. Adding a leading 0 turns a UPC-A number into an equivalent EAN-13, and modern retail scanners read both.
Which file format do I get?
EAN-13 barcodes download as a PNG image with the digits printed underneath. You can set bar and background colors before downloading.
