EAN Barcode Generator

Enter 12 digits and get a complete EAN-13 with its check digit — as a print-ready barcode in the size GS1 specifies. EAN-8 and ISBN included.

  • EAN-13 · EAN-8 · ISBN
  • Check digit
  • Sizes in mm
  • SVG + PNG
Barcode type

A 2-digit add-on carries the issue number of a magazine, a 5-digit add-on the suggested price of a book.

Size and appearance

GS1 allows 80 % to 200 % of the nominal size. Use at least 100 % when the printer is not high-end.

Create many barcodes at once

How it works

How to create an EAN barcode

The check digit is done for you.

  1. 1

    Enter the number

    12 digits for EAN-13 or 7 for EAN-8 — the last digit is calculated. A full number is verified instead.

  2. 2

    Set the size

    Choose the magnification between 80 % and 200 % and see the exact dimensions in millimeters and inches.

  3. 3

    Download

    Save the barcode as SVG for print or as PNG at the resolution of your printer.

Why ToolCMB

Built for product packaging

Dimensions and layout as in the GS1 General Specifications.

Check digit calculator

Missing digit added, wrong digit detected — with a one-click correction and the number shown digit by digit.

GS1 prefix lookup

See which GS1 member organization issued the number’s prefix, or whether it is a book, coupon or in-store number.

ISBN support

Enter an ISBN-13 or an old ISBN-10 with or without hyphens; it is converted to its 978 barcode number.

True sizes

At 100 % the bar module is 0.33 mm and an EAN-13 measures 37.29 × 25.93 mm including quiet zones.

Add-on codes

The 2-digit supplement for magazine issues and the 5-digit supplement for book prices.

Whole product lists

Paste up to 500 numbers and download every barcode in one ZIP.

Private by design

Everything runs in your browser. What you type or open is not sent to a server.

Free, no sign-up

No account, no limits, no watermark — on a phone, tablet or computer.

How an EAN-13 number is built

EAN stands for European Article Number; today the official name is GTIN-13. The 13 digits consist of a GS1 company prefix (which begins with a three-digit GS1 prefix such as 400–440 for GS1 Germany or 300–379 for GS1 France), an item reference that the company assigns to each product, and one check digit. The prefix tells you which GS1 organization licensed the number — not where the product was made.

The check digit catches typing and scanning errors. Starting from the right of the first 12 digits, multiply the digits alternately by 3 and 1, add the results, and take the amount needed to reach the next multiple of ten. For 400638133393 the sum is 89, so the check digit is 1 and the full number is 4006381333931.

To sell through retailers or marketplaces you need numbers licensed from GS1 in your country; self-invented numbers will collide with real products. For internal use, GS1 reserves the prefixes 200–299 for “restricted circulation” — that is what the random test button uses. Books carry their ISBN as an EAN-13 starting with 978 or 979, periodicals their ISSN with prefix 977.

EAN symbols and sizes at 100 %

SymbolDigitsSize with quiet zones
EAN-1312 + check digit37.29 × 25.93 mm
EAN-87 + check digit26.73 × 21.31 mm
EAN-13 + 2 add-on13 + 2about 46 mm wide
EAN-13 + 5 add-on13 + 5about 55 mm wide

Tips

FAQ

Frequently asked questions

Can’t find your answer? Contact us — we reply quickly.

How is the EAN-13 check digit calculated?

Take the first 12 digits. Counting from the right, multiply every second digit by 3, starting with the rightmost, and the others by 1. Add everything up; the check digit is what is missing to the next multiple of 10.

Can I make up my own EAN number?

Only for internal use, with a prefix from 200 to 299. For products sold in shops or on marketplaces such as Amazon you must license a GS1 company prefix or single GTINs from GS1.

What is the difference between EAN-13 and UPC-A?

UPC-A has 12 digits and is used in North America. An EAN-13 that starts with 0 is the same number as the UPC-A without that zero, and modern scanners read both.

Does the first part of an EAN show the country of origin?

No. The prefix identifies the GS1 organization that licensed the number to the company. A product with a German prefix may be manufactured anywhere.

How small may an EAN barcode be printed?

GS1 allows 80 % to 200 % of the nominal size. At 80 % an EAN-13 is about 29.8 mm wide; go smaller only with excellent print quality, and never cut into the quiet zones.

Is this tool free?

Yes. It is free to use without an account or a limit, and the results carry no watermark.

More free developer tools

Encode, format, test, convert and generate — small tools that run in your browser and keep your data on your device.

Browse all tools