Barcode Generator

EAN-13 barcode generator

The retail product barcode used worldwide. Enter 12 digits; the 13th (check digit) is calculated.

Terms of use: this site only turns the data you type into a barcode; it does not create, verify, register or store that data, and nothing is sent to any server. The content you enter and the use of the generated barcodes are solely the user's responsibility, including the right to use GTIN/EAN numbers (licensed by GS1), the accuracy of the information and compliance with applicable law. Links with dangerous schemes and typical attack patterns (scripts, SQL injection) are blocked, but this does not replace your own checks. By using the generator you accept these terms.

One barcode per line. For a 2- or 5-digit add-on, separate it with a space: 7891234123459 12.

EAN-13 options
Size
Appearance

Preview

PDF and AI are vector files in CMYK, with black as C0 M0 Y0 K100. PNG, JPG and SVG are RGB.

Test every barcode before use. The user is solely responsible for the accuracy of the barcode.

EAN-13 specification

EAN-13 (GTIN-13) is the retail product barcode used almost everywhere in the world. Numbers are licensed by GS1 (gs1.org); the prefix shows the GS1 organization that issued it, e.g. 00–13 USA and Canada, 30–37 France, 400–440 Germany, 500–509 United Kingdom, 690–699 China, 789–790 Brazil.

  • Content: digits only — 12 data digits + 1 check digit (13 in total). With 12 digits the check digit is calculated; with 13 it is verified.
  • Structure: GS1 prefix, company prefix, item reference and check digit.
  • Check digit: modulo 10 with alternating weights 1 and 3.
  • The first digit has no bars of its own: it sets the combination of sets A and B used by the 6 left-hand digits. The 6 right-hand digits use set C.
  • Optional 2-digit add-on (e.g. magazine issue) or 5-digit add-on (e.g. book price): separate it with a space, e.g. 7891234123459 12.
  • Nominal size (100%): 37.29 × 25.93 mm, module 0.33 mm. Allowed magnification: 80% to 200%. Avoid reducing the bar height unless necessary.
  • Quiet zone: 11 modules on the left and 7 on the right. This generator uses 11 modules on both sides by default.

How to use

  1. Type the content. To create several barcodes, put one per line.
  2. Adjust size, height, margin and colors. The preview follows every change.
  3. Download each barcode in the format you need, or all of them as a ZIP.

In PDF, SVG and AI the size is set by the module X — the width of the narrowest bar, in millimetres. The default for this symbology is 0.33 mm, which is 100% of the GS1 nominal size (80% = 0.264 mm; 200% = 0.66 mm). PNG and JPG use the chosen pixel resolution. If your printer warns about ink spread, increase the bar width reduction.

Frequently asked questions

What is a EAN-13 barcode?

EAN-13 (GTIN-13) is the retail product barcode used almost everywhere in the world. Numbers are licensed by GS1 (gs1.org); the prefix shows the GS1 organization that issued it, e.g. 00–13 USA and Canada, 30–37 France, 400–440 Germany, 500–509 United Kingdom, 690–699 China, 789–790 Brazil.

What can a EAN-13 barcode contain?

Content: digits only — 12 data digits + 1 check digit (13 in total). With 12 digits the check digit is calculated; with 13 it is verified.

How do I create a EAN-13 barcode for free?

Type the data in the generator on this page, adjust size and colors, and download the barcode as PNG, JPG, SVG, PDF or Adobe Illustrator (AI). PDF and AI are vector files in CMYK with 100% K black, ready for print. Everything runs in your browser: nothing is uploaded and no sign-up is needed.

What size should a printed EAN-13 barcode be?

The vector size is defined by the module X (narrowest bar). This generator uses 0.33 mm by default for EAN-13; you can change it before downloading. For EAN/UPC, 0.33 mm is 100% of the GS1 nominal size and GS1 allows 80% to 200%.

Share this page

Like it? Support the site

Keeping the generator free has costs. Any amount helps.