Home › Barcode Types › EAN-13

EAN-13 Barcode Generator

The retail barcode used on products sold in shops worldwide. Free, unlimited and instant — with every professional option included.

Use an example — or type your own number or text above.

Your barcode preview will appear here.

Free for personal and commercial use. No watermark, no sign-up.
For razor-sharp printing, download the SVG — it scales to any size.

About EAN-13 Barcodes

EAN-13 is the barcode printed on almost every retail product sold outside North America. It encodes a 13-digit GTIN whose first digits identify the country of the GS1 member company, followed by the company and item references and a calculated check digit.

The History of EAN-13

The EAN system grew out of the American UPC in the 1970s. When European retailers wanted the same scanning revolution, they needed one more digit for country identification, and in 1977 the European Article Numbering association launched EAN-13. The organisation later became GS1, and the code spread country by country until it was the default product barcode on every continent except North America. The first digits of an EAN-13 are not a country of manufacture — they identify which GS1 member organisation licensed the number, a detail that still confuses people today. What never changed is the deal at the heart of the system: a company licenses a prefix, numbers its products uniquely, and every checkout in the world can identify them.

How EAN-13 Works

An EAN-13 is a 13-digit number with a strict anatomy. The first two or three digits are the GS1 prefix, the next block is the company reference, then the item reference, and the final digit is a check digit computed from the other twelve: digits in odd positions are added, digits in even positions are multiplied by three, and the check digit makes the total a multiple of ten. This generator performs that calculation for you — type 12 digits and the 13th appears automatically, or type 13 and a wrong final digit is corrected with a note. Visually, the code is drawn with guard bars at both ends and in the middle, and the first digit is not printed as bars at all — it is encoded in the pattern of the first six digits, which is why you see it standing alone to the left of the symbol.

EAN-13 — Key Facts

EAN-13 Sizes and Printing Rules

Retail has strict size expectations. The nominal EAN-13 is 37.29 mm wide by 25.93 mm high, and shops accept magnification between 80% and 200% of that. Below 80%, cheap scanners begin to fail, especially on curved or glossy packaging. Keep the quiet zones — at least 3.6 mm on the left and 2.3 mm on the right at nominal size — completely free of text and graphics. Print bars in a dark colour on a light background; black on white is best, and warm colours like red or orange are effectively invisible to red-light scanners. On this generator, choose the Print quality (3x) PNG or the SVG, and set the download in your design software to the millimetre size you actually need.

Where EAN-13 Is Used

EAN-13 appears on groceries, clothing, electronics, toys, cosmetics — essentially anything sold through a till. Marketplaces such as Amazon ask for the GTIN behind the barcode when you list a branded product, and they validate the check digit and the licensing. Small producers meet EAN-13 the moment they move from selling directly to supplying shops: the retailer’s first question is usually whether the product carries a licensed barcode. Inside a business, the same number doubles as the product’s universal ID in stock systems, invoices and reordering — one number from factory shelf to customer basket.

EAN-13 in Practice

A warning that saves money: the internet is full of cheap resold EAN numbers. Some work for a while, but they are licensed to someone else, and marketplaces increasingly detect and reject them; your listings can be removed and the number can never become truly yours. The safe route is a licence from your national GS1 organisation — the cost for a small range is modest, and the numbers are yours for the life of the company. This generator is deliberately neutral: it turns any valid number into a perfect barcode image, and leaves the licensing where it belongs, with GS1.

How to Create a EAN-13 Barcode

  1. Enter the content in the box above — the generator is already set to EAN-13, with a working example filled in. Type or paste your own number or text.
  2. Adjust the style — bar width, height, quiet zone, colours, the text under the bars and its font. The preview updates as you change things.
  3. Download a print-ready PNG, a razor-sharp SVG, or a JPG — or switch to Serial Numbers / Bulk List above to create many at once.

Getting the Best Result from This Generator

Every option above the preview exists because a real labelling job needed it. Bar width sets the thickness of the narrowest bar — raise it for labels that travel far or are scanned at a distance, lower it only when space genuinely runs out. Barcode height does not change the data, but taller bars are dramatically easier to scan, especially handheld. The quiet zone slider controls the blank margin the scanner needs to find the symbol; the default suits most labels, and crowded artwork is the only reason to touch it. The text settings control the human-readable line under the bars — keep it on for anything people also read, and pick OCR-B for the classic machine-printed look. Colours should stay dark-on-light; the transparent background option is for placing the code over your own light artwork in a design program. Finally, the download size matters: SVG is a vector that stays perfect at any scale and is always the professional choice, while the 3x and 4x PNG options exist for software that cannot take vectors. Set the options once, watch the preview, and only then download.

EAN-13 vs the Alternatives

EAN-13 versus UPC-A is geography, not technology: 13 digits for most of the world, 12 for North America, and scanners read both. Versus EAN-8, the difference is size — EAN-8 exists only for packaging too small for the full code, and GS1 issues those numbers sparingly. Versus a QR code on packaging: the QR is an extra for marketing and information, while the EAN remains the code the till actually scans.

Common EAN-13 Mistakes to Avoid

Why a EAN-13 Barcode Fails to Scan — Troubleshooting

When a freshly printed EAN-13 refuses to scan, the cause is almost never the data — it is the physics of the print. Work through the usual suspects in order. Contrast: scanners see in shades of red light, so black bars on white are the gold standard; red, orange and metallic bars can be nearly invisible, and a dark background with light bars defeats most readers entirely. Quiet zone: the blank margin around the symbol is part of the code — if text, borders or the edge of the label crowd it, the scanner cannot find where the code starts. Size: a symbol shrunk below its sensible minimum merges its fine bars into grey mush; print bigger or simplify the data. Print quality: inkjet bleed, a worn thermal head and low-resolution images all fatten or break bars — print from the SVG, at 100% size, on the best printer setting. Damage and gloss: creases, lamination glare and curved surfaces each steal a slice of the symbol; matte labels placed flat scan best. The professional habit that prevents all of it: print one label, scan it with the actual device that will be used, in the actual lighting, before printing the batch.

A Short EAN-13 Glossary

Five terms explain nearly everything about working with EAN-13. The symbology is the language itself — the set of rules that turns data into bars and back; EAN-13 is one symbology among the twenty-one on this site. The X-dimension is the width of the narrowest bar or space, and every other measurement — total size, quiet zone, print tolerance — is expressed as a multiple of it. The quiet zone is the blank margin at both ends of the symbol; scanners use it to recognise where the code begins, and stealing it is the most common cause of failure. A check digit is a final character calculated from all the others, letting the scanner prove the read is correct instead of merely plausible. And the human-readable line is the printed text beneath the bars — there for people, ignored by scanners, and worth keeping accurate because when a scan fails, a human types exactly what it says. Keep these five straight and the rest of this page — and any barcode specification you are handed — becomes easy reading.

Barcode Print Quality, Explained Simply

Professionals grade printed barcodes from A (excellent) to F (fail) with a device called a verifier, which measures contrast, bar accuracy and defects against the standard for the symbology. You do not need a verifier for everyday work, but the grades explain what “good” means: a Grade A symbol has crisp edges, bars within a hair of their intended widths, and strong contrast. Home and office printing usually lands at B or C — perfectly serviceable for internal labels, shelf edges and documents. Retail packaging and supply-chain labels are held to higher bars because they must scan first time, every time, on equipment you do not control. The practical translation: generate from a proper encoder (as this page does), print from vector artwork, keep contrast absolute, respect the quiet zone, and test-scan. Follow those five rules and your EAN-13 labels will behave like professionally produced ones, because the difference was never the price of the software — it is the discipline of the print.

EAN-13 — Questions & Answers

Can I invent my own EAN-13 number?

You can generate the image, but an invented number is not unique — it may collide with a real product and shops and Amazon will reject it. For products you sell, license numbers from GS1; for internal labels, use Code 128 instead.

Does the first digit of an EAN-13 appear in the bars?

Not directly. The first digit is encoded through the pattern (parity) of the six digits that follow it, and it is printed as a standalone number to the left of the bars. Scanners reconstruct it automatically — this is a normal, standard part of EAN-13.

Is this EAN-13 generator free?

Yes — completely free and unlimited. Create as many barcodes as you like and download them as PNG, SVG or JPG with no watermark and no sign-up. Everything is generated in your browser; nothing is uploaded.

How do I print my EAN-13 barcode correctly?

Download the SVG for perfectly sharp printing at any size, or a PNG at Print quality (3x) or higher. Keep the quiet zone (the empty margin) around the code, print a test copy, and scan it with a phone or scanner before a big print run.

Can I make many EAN-13 barcodes at once?

Yes — the Serial Numbers tab on this page generates a running series, and the Bulk List tab turns a pasted list (one value per line) into barcodes you can download together as a ZIP file or print as a sheet.

More Barcode Generators

UPC-A GeneratorCode 39 GeneratorQR Code GeneratorEAN-8 GeneratorUPC-E GeneratorISBN-13 GeneratorISSN GeneratorITF-14 / GTIN-14 Generator