Skip to content
StylQR home

EAN-13 Barcode Generator

Create EAN-13 barcodes for retail products in seconds. Type your 12- or 13-digit GTIN, and StylQR checks it, adds the check digit and gives you a print-ready barcode at the nominal size checkouts expect.

  • Free & unlimited
  • Validated live
  • Print-ready SVG, PDF & PNG
  • Nothing uploaded
1

Enter your data

Checked live against the official rules for this barcode type.

12 digits (check digit added automatically) or 13 digits including the check digit. Add " 12" or " 12345" for an EAN-2/EAN-5 add-on.

2

Design your barcode

Pick a label template or adjust size, text, colors and style.

Start from a template

One click styles the label. Your data and size stay as they are.

Check your data

Tap to preview

Preview & download

Loading barcode engine…

Format

Resolution

Print labels

A vector PDF filled with your barcode — print on label stock, stickers or plain paper.

Square cells with dashed cut guides; choose 2–6 columns.

Labels per row

What is EAN-13?

EAN-13 is the barcode on almost every consumer product sold outside North America. It encodes a 13-digit GTIN-13 (Global Trade Item Number) and is read by point-of-sale scanners worldwide, including in the USA and Canada.

The number starts with a GS1 prefix that shows which GS1 member organisation issued it (for example 50 for the UK or 40–44 for Germany — not where the product was made), followed by your company prefix, an item reference and a check digit. The first digit is not drawn as bars: it is encoded in the pattern of odd and even parity in the left half.

The 13th digit is a modulo-10 check digit: multiply the first 12 digits alternately by 1 and 3, add them up, and take the amount needed to reach the next multiple of 10. An optional EAN-2 or EAN-5 add-on can sit to the right for an issue number or price.

Specification

EAN-13 at a glance

Type
Linear (1D), GS1 retail
Characters
Digits 0–9 only
Length
13 digits (12 + check digit)
Check digit
Modulo 10, weights 1 and 3 (mandatory)
Nominal bar width
0.33 mm (80–200% magnification: 0.264–0.66 mm)
Nominal size
37.29 × 25.93 mm including quiet zones; bar height 22.85 mm
Quiet zone
11 modules left, 7 modules right
Standard
ISO/IEC 15420, GS1 General Specifications

How to create a EAN-13 barcode

Four steps from data to a print-ready file.

  1. 1

    Step 1

    Enter your EAN-13 data. 12 digits (check digit added automatically) or 13 digits including the check digit. Add " 12" or " 12345" for an EAN-2/EAN-5 add-on.

  2. 2

    Step 2

    Check the live validation — check digits are added for you and any problem is explained in plain words.

  3. 3

    Step 3

    Pick a label template or adjust bar width, height, text, colours and style. The printed size updates as you go.

  4. 4

    Step 4

    Press Test scan, then download a PNG at up to 1200 DPI, vector SVG or PDF — or print it on label sheets.

Built for people who print barcodes

Details most barcode generators charge for — all free in the studio above.

  • Check digits, fixed for you

    Type 12 digits and the EAN-13 check digit is added. Type a wrong one and you get the correct digit with a one-click fix.

  • Frames & label templates

    Banners, tickets, hang tags, shelf prices, coupons and more — ready-made labels that never cover the bars.

  • Sized in millimetres

    Set the bar width and height and see the finished printed size update live, in mm or inches.

  • Crisp at any DPI

    PNG at 300, 600 or 1200 DPI with every bar a whole number of pixels, plus vector SVG and exact-size PDF.

  • Scanner-safe colours

    Warnings for red bars laser scanners cannot see, low contrast, thin bars and tight quiet zones.

  • GS1 helper

    Insert Application Identifiers like GTIN, expiry, batch and serial with one click — validated by the official rules.

  • Avery label sheets

    Fill Avery 5160, L7160 and 22805 sheets, sticker sheets or a label grid with one click.

  • Save, open & share

    Keep a barcode as a design file, reopen it later, share a link, and undo or redo any change.

Where EAN-13 is used

Real-world applications for this symbology.

  • Consumer products

    Food, cosmetics, toys, clothing and household goods scanned at supermarket and shop checkouts.

  • Online marketplaces

    Amazon, eBay and Google Shopping use the GTIN behind your EAN-13 to match listings to products.

  • Packaging artwork

    Vector SVG or PDF barcodes placed into packaging designs in Illustrator, InDesign or Affinity.

  • Retail inventory

    Stock counts, goods-in and reordering in shops and warehouses using the same product barcode.

  • In-store codes

    Prefixes 20–29 are reserved for restricted in-store use, such as variable-weight items priced at the deli counter.

Printing EAN-13 that scans first time

Small details that make the difference between a code people ignore and one they scan.

  • Keep the size between 80% and 200% of nominal. Below 80% many retail scanners will fail, and some retailers ask for 100%.

  • Never cut the bar height (truncating) to save space — it stops the barcode reading from every angle. Use EAN-8 or a smaller magnification instead.

  • Leave the light margins clear. The > quiet-zone mark helps printers and designers keep the right-hand margin free of artwork.

  • Print black bars on a white or light background; avoid red, orange and yellow bars, which red-light scanners cannot see.

  • On curved surfaces such as bottles, run the bars vertically (picket fence) so they do not bend out of view.

EAN-13 questions, answered

Where do I get an EAN-13 number?

From your local GS1 member organisation, which licenses a company prefix so your GTINs are unique worldwide. StylQR does not sell numbers; it turns the numbers you have into barcodes.

Do I need to enter the check digit?

No. Enter 12 digits and the 13th is calculated for you. If you enter all 13 and the last one is wrong, you will see the correct digit.

Does the first digit show where a product was made?

No. The GS1 prefix only shows which national GS1 organisation issued the company prefix. A company registered with GS1 UK has a 50 prefix even if it manufactures abroad.

Can an EAN-13 barcode be scanned in the USA?

Yes. Since 2005 North American retail systems have been required to accept EAN-13, so the same barcode works worldwide.

What is the smallest EAN-13 I can print?

GS1 allows down to 80% magnification (a 0.264 mm bar width, about 29.8 mm wide including quiet zones). If that is still too big, use EAN-8.

Every other barcode type

Retail, logistics, 2D, healthcare and postal symbologies — validated with the official rules and ready to print.

The barcodes people make most.