Free EAN-13 Barcode Generator

Create scannable EAN-13 retail barcodes right in your browser. Type your 12 digits and the check digit is added automatically. Download as PNG, SVG or PDF — free, no signup, no watermark.

Auto check digit Retail / POS ready PNG · SVG · PDF Nothing uploaded

EAN-13 settings

#000000
#FFFFFF

Preview

Need to print EAN-13 barcodes onto real product labels?

The free LabelInn app places your EAN-13 on a full product label with the name, price and logo, then prints directly to Zebra, TSC and other thermal printers — including bulk printing a different code per row from Excel.

Get LabelInn — Free →

What is an EAN-13 barcode?

EAN-13 (European Article Number, now standardised by GS1 as the GTIN-13) is the 13-digit retail barcode you see on almost every packaged product in shops and supermarkets. It lets a point-of-sale scanner identify the item and pull up its price. This generator draws a fully scannable EAN-13 to the correct module structure, with proper quiet zones and the human-readable digits underneath — and it computes the check digit for you. Nothing you type is uploaded anywhere; the barcode is rendered entirely in your browser with the bwip-js engine.

The 12 + 1 digit structure

An EAN-13 is thirteen digits split into two parts: 12 data digits plus a 1 check digit. The data digits are made of a GS1 company prefix (assigned to the brand owner) followed by an item reference that the brand owner allocates to each product. The final digit is a mathematically derived checksum.

PartDigitsMeaning
GS1 prefixFirst 2–3Numbering region / GS1 member organisation (e.g. 400–440 = Germany, 500–509 = UK, 869 = Türkiye)
Company prefix + item referencePositions up to 12Your licensed GS1 company prefix plus the product number you assign
Check digit13thA modulo-10 checksum that guards against mis-scans (added automatically)

Note: the leading digits are numbering prefixes, not "country of origin" — they identify the GS1 organisation that issued the company prefix, not where the product was manufactured.

Automatic check-digit calculation

The 13th digit is a modulo-10 check digit. Working from the right, alternate digits are weighted ×3 and ×1, the weighted values are summed, and the check digit is whatever value raises that sum to the next multiple of 10. Get it wrong and scanners simply reject the barcode. With this tool you don't have to do the maths:

How to generate an EAN-13 barcode

  1. The tool above is already set to EAN-13. Type your product number into the Data field (12 digits, or 13 including the check digit).
  2. Adjust size, bar height and quiet zone so the code prints crisply on your label.
  3. Keep human-readable text on so the digits appear under the bars (recommended for retail).
  4. Download as PNG, scalable SVG or print-ready PDF.

Where to get a real GTIN for retail

This generator renders any valid number into a scannable barcode, but it does not assign ownership of that number. For a product you sell at retail, the EAN-13/GTIN-13 must come from a GS1 company prefix that you license from your national GS1 member organisation — that is what makes the number globally unique and keeps two different products from colliding at the till. Use this tool to render, preview and print a GTIN issued to your own prefix. For internal or in-store-only labelling that never crosses another retailer's scanner, you can use your own numbering scheme.

Printing EAN-13 product labels

For reliable checkout scanning, print EAN-13 at an adequate size (retail nominal is roughly 37.29 × 25.93 mm at 100%; avoid shrinking it too far), keep dark bars on a light background for strong contrast, and preserve the quiet zones on both sides. Thermal printing at 203 or 300 dpi works well for product and shelf labels.

Just need a QR code instead? Use the dedicated QR code generator. Need other symbologies like Code 128, UPC-A or GS1-128? The all-types barcode generator has them. Designing a whole label around the barcode? Try the browser label maker.

Embed this EAN-13 generator on your site

Free to embed — just keep the attribution link. Handy for supplier portals, product onboarding pages and internal help centres where teams need to create EAN-13 barcodes.

<iframe src="https://www.labelinn.com/en/ean-13-barcode-generator?embed=1" width="100%" height="640" style="border:1px solid #e5e7eb;border-radius:12px" title="Free EAN-13 Barcode Generator by LabelInn" loading="lazy"></iframe> <p>Free <a href="https://www.labelinn.com/en/ean-13-barcode-generator">EAN-13 barcode generator</a> by LabelInn</p>

Frequently asked questions

What is an EAN-13 barcode?

It's the 13-digit retail barcode (GS1 GTIN-13) printed on products in shops and supermarkets. It encodes a GS1 prefix, your item number and a check digit so POS scanners can look the product up.

How many digits does an EAN-13 have?

Thirteen — 12 data digits plus 1 check digit. Enter just the 12 and this tool adds the check digit for you, or paste all 13 and it validates them.

How is the check digit calculated?

By a modulo-10 weighted sum (alternating ×1 and ×3). The check digit brings the total to the next multiple of 10. It's computed and verified automatically.

Where do I get a real EAN-13 for my product?

From a GS1 company prefix licensed via your national GS1 organisation. This tool renders any valid number, but a genuine, unique GTIN must come from your own GS1 prefix.

Will these codes scan at a till?

Yes — they're drawn to the correct EAN-13 structure with proper quiet zones and readable digits, so they scan on standard retail POS scanners when printed at adequate size and contrast.

How do I print EAN-13 onto product labels?

Download the image, or use the free LabelInn app to place the code on a full product label and print directly to Zebra, TSC and other thermal printers — including bulk runs from Excel.

Need other barcode types? Use the all-types barcode generator or the dedicated QR code generator. Prefer to design a full label around your EAN-13? Try the label maker, or download the free LabelInn app.