EAN Barcode Generator

Free EAN-13 & EAN-8 barcode generator with automatic check digit, country prefix lookup (896 Pakistan, 890 India…), exact 80–200% print sizes, label sheets and vector SVG/PDF.

1. Barcode type

Not sure? Tell us what it is for:
Retail products
Shipping & warehouse
2D codes
EAN-13: Products sold in shops worldwide (Pakistan, Europe, Asia), Amazon, Daraz

2. Your number or text

✓ Check digit 4 added → 8961234567894
🌍 Prefix 896: Pakistan (GS1 office that issued the number)
Print size 100%
Bar height 22.9 mm
📐 Printed size: 43.9 × 32.3 mm (1.73 × 1.27 in) • bar width 0.330 mm
Image quality
Bars Background
Text size 10
Rotate Margin 3 mm
Black on white scans best. Red, orange and yellow bars are invisible to most scanners.
One barcode per line. Optional name and price: Rice 5kg, 896123456789, Rs 1450
🔢 Make a numbered series (SKU-0001, SKU-0002…)
Digits For EAN/UPC: enter the first 12/11 digits as “Starts with” + number — check digits are added for you.
Label sheet
✓ Valid EAN-13 barcode • 8961234567894
ℹ For products sold in shops and on Amazon, the number must be bought from GS1 (GS1 Pakistan, GS1 US…). This tool draws a correct barcode for any number — it does not register numbers for you.
❓ Questions
Which barcode do I need?
EAN-13 for products in shops, Amazon and Daraz outside the USA. UPC-A for the USA. ITF-14 for outer cartons. Code 128 for your own SKUs, inventory and shipping labels (Amazon FBA uses Code 128 for FNSKU labels). Data Matrix when the space is tiny.
What is a check digit?
The last digit of EAN/UPC numbers is calculated from the others so scanners can spot mistakes. Type 12 digits for EAN-13 (or 11 for UPC-A) and we add it automatically; if you type the full number we check it.
How big should I print it?
EAN-13 at 100% is about 37×26 mm. You can go down to 80% if the printer is good, or up to 200% for large boxes. Do not cut the height too much and keep the white margin on both sides. Use SVG or PDF so the bars stay sharp.
Does the first number show where the product was made?
No — the prefix (for example 896 for Pakistan) shows which GS1 country office issued the company number, not where the product was made.
Guest Free Trial: 0 of 5 free uses • Sign in with Gmail for 10 tools/day

💡 Help us improve the EAN Barcode Generator

Missing a feature or found a problem? Tell us — we read every message and add the most-requested features.

How to Use the EAN Barcode Generator

  1. 1
    Type 12 digits — the 13th check digit is added for you
  2. 2
    See the country prefix and validation instantly
  3. 3
    Pick print size (80–200%) and colors
  4. 4
    Download PNG/SVG/PDF or a label sheet

Features

✓EAN-13 & EAN-8
✓Auto check digit
✓Country prefix lookup
✓GS1 print sizes
✓Label sheets + bulk

EAN-13 barcodes for products and books

EAN-13 is the barcode on almost every retail product outside North America — and on every book, where the ISBN is encoded as an EAN-13 starting with 978 or 979. This EAN-13 barcode generator checks your number, adds the correct check digit, shows which country prefix it uses and exports print-ready artwork.

How to create an EAN barcode

  1. Type the 12 digits (the 13th check digit is calculated) or all 13 to verify them.
  2. Choose EAN-13 or the short EAN-8 for small packs.
  3. Pick the print size (80–200%) and add a price add-on for books if you need one.
  4. Download SVG, PDF or PNG — or a full label sheet.

How an EAN-13 number works

  • First 2–3 digits: the GS1 prefix of the organisation that issued the number (e.g. 896 Pakistan, 890 India, 50 UK, 40–44 Germany). It does not prove where the product was made.
  • Middle digits: your company prefix and product number.
  • Last digit: the check digit that lets scanners catch typing errors.

ISBN barcodes for books

Enter your ISBN-13 (978… or 979…) to create the barcode for the back cover. Amazon KDP adds a barcode for you if you leave space, but IngramSpark and printers often need your own. Our book cover size calculator shows where the barcode goes.

Do I need GS1 numbers?

Yes, for retail. Supermarkets and Amazon check EAN numbers against the GS1 database, so buy a company prefix from your national GS1 office. ISBNs are issued by your national ISBN agency.

EAN-13 and EAN-8

  • EAN-13: 13 digits — the standard retail barcode used in Pakistan, India, the Middle East, Europe and most of the world.
  • EAN-8: 8 digits for very small packages where an EAN-13 won’t fit.

What the digits mean

The first digits are the GS1 prefix of the office that issued the number — for example 896 for GS1 Pakistan, 890 for India, 629 for the UAE. They show where the number was registered, not where the product was made. The last digit is a check digit, added automatically.

Example

Type 590123412345 and the generator adds the check digit 7, giving 5901234123457. Scanning the downloaded barcode returns exactly that number.

Getting a real EAN

To sell in supermarkets or on Amazon, the number must be licensed to your company by GS1 (for example through GS1 Pakistan). For your own warehouse labels you can use internal numbers — or Code 128 — instead.

Print sizes

The nominal EAN-13 size is about 37.3 × 25.9 mm. Stay between 80% and 200% of that size, keep the white margins, and print the exact-size PDF at 100%.

Frequently Asked Questions

Can I create an ISBN barcode?

Yes. Enter the 13-digit ISBN (978/979…) and download the EAN-13 barcode.

What is the check digit?

The 13th digit, calculated from the other 12 so scanners can detect errors. It is added automatically.

Does 896 mean made in Pakistan?

It means the number was issued by GS1 Pakistan, not necessarily where the product was made.

What size should I print?

100% (about 37 × 26 mm) is standard; you can go from 80% to 200%.

Do I need to buy EAN numbers?

For selling in shops and on Amazon, yes, from GS1.

What does 896 at the start of a barcode mean?

It is the prefix of GS1 Pakistan, the office that issued the number.

Can I make up my own EAN number?

For internal use, yes. For retail stores and Amazon, the number must be licensed from GS1.

Official Sources & Further Reading