Free barcodes in your browser — no sign-up, no upload.

EAN-8 Barcode Generator

EAN-8 is the short 8-digit retail barcode for products too small to carry a full EAN-13 — chewing gum, cosmetics, small hardware. Generate one below.

Enter a value to see the barcode.

Important — a generator cannot give you a real retail barcode number. Only GS1 (through your national GS1 member organisation) can allocate a GTIN — the number behind an EAN-13 or UPC-A barcode. This tool draws the bars for any number you type, and it will compute and correct the check digit, but it cannot tell you whether that number belongs to you, and it cannot make a made-up number valid at a retailer's till. If the product will be sold in shops or on Amazon, get your numbers from GS1 first, then use this tool to draw them. See how to get a barcode for Amazon and retail.

When to use EAN-8

Use EAN-8 only when the pack genuinely has no room for an EAN-13 at 80% magnification (about 29.8 mm wide). GS1 issues EAN-8 numbers from a separate, smaller pool, so you cannot simply shorten an EAN-13 — an EAN-8 number is allocated on request from your GS1 member organisation, and the same product must not carry both an EAN-13 and an EAN-8. If the pack fits EAN-13, use EAN-13: it is the default retailers expect.

Structure and check digit

An EAN-8 is 7 digits plus a check digit, calculated with the same modulo-10 weights (3, 1, 3, 1… from the right) as EAN-13. For the widely used example 9638507 the weighted sum is 86, so the check digit is 4 and the full number is 96385074. Type 7 digits here and the tool adds the check digit; type 8 with a wrong last digit and it corrects it. The check digit calculator shows the working.

Print size

EAN-8 is narrower than EAN-13 — 67 modules of bars instead of 95 — but the same X-dimension rules apply: 0.33 mm nominal, 0.264 mm minimum (80%). At 100% an EAN-8 is about 26.7 mm wide including quiet zones (81 modules × 0.33 mm). Do not shrink it below 80% to fit a pack: if it does not fit at 80%, the pack needs a different labelling solution, not a smaller barcode. See the barcode label sizes & printing guide.

Related

Frequently asked questions

How many digits is an EAN-8?

8 digits: 7 digits plus one check digit. Type 7 digits here and the check digit is added for you.

Can I shorten my EAN-13 to make an EAN-8?

No. EAN-8 numbers come from a separate allocation by GS1. Cutting digits off an EAN-13 produces a different, almost certainly invalid number.

When should I use EAN-8 instead of EAN-13?

Only when the product is physically too small for an EAN-13 at 80% magnification. If EAN-13 fits, use it.