How to create a EAN-8 barcode
- Enter your data in the box above. Enter 7 digits and the check digit is added, or 8 digits and it is verified. Digits only.
- The barcode updates live as you type. Open Customize to change the bar height, colors, rotation or quiet zone.
- Click Download PNG for labels and documents, or SVG / PDF for print and packaging design.
- Test it with our online barcode scanner before you print a large run.
What is an EAN-8 barcode?
EAN-8 (GTIN-8) is the short version of EAN-13, made for products too small to fit a full-size barcode, such as lipsticks, chewing gum or pencils. It holds 8 digits: a GS1-8 prefix, an item reference and a check digit.
EAN-8 numbers are assigned one at a time by your national GS1 office, and only when the pack really cannot fit an EAN-13. They are not built from your normal company prefix, so you cannot shorten an existing EAN-13 into an EAN-8.
Where EAN-8 is used
- Very small retail items: cosmetics, confectionery, stationery
- Packs too small to carry an EAN-13 at a scannable size
- In-store codes for loose or weighed goods (numbers starting 0 or 2)
- Shelf-edge and internal retail labels
EAN-8 specifications
| Type | Linear (1D), fixed length |
|---|---|
| Characters | Digits 0–9 only |
| Length | 8 digits (7 + check digit) |
| Check digit | Mandatory, modulo 10 (GS1) |
| Nominal size | 26.73 mm × 21.64 mm at 100% magnification |
| Allowed scaling | 80% – 200% |
| Standard | GS1 General Specifications, ISO/IEC 15420 |
Tips for a barcode that scans first time
- Use EAN-8 only when an EAN-13 really will not fit. Many retailers prefer EAN-13 even on small items.
- Keep at least 7 modules of clear space on each side of the bars.
- For an internal store code, use a number starting with 0 or 2 so it never clashes with a GS1-issued GTIN-8.
Frequently asked questions
When should I use EAN-8 instead of EAN-13?
Only when the product is too small for an EAN-13. GS1 allows EAN-8 when an EAN-13 would take up too much of a very small pack, for example more than a quarter of the printable area. Otherwise use EAN-13.
Does EAN-8 have a check digit?
Yes. The 8th digit is a modulo 10 check digit worked out the same way as for EAN-13. Enter 7 digits and the generator adds it. Enter 8 and it is verified.
How do I get an EAN-8 number?
Apply to your national GS1 member organisation. GTIN-8 numbers are issued individually and are not derived from a GS1 company prefix.
Can I convert an EAN-13 into an EAN-8?
No. There is no conversion between the two. An EAN-8 is a separate number. This is different from UPC-E, which is a compressed form of certain UPC-A numbers.
Can an EAN-8 have an add-on?
Not in standard retail use. The GS1 rules only define EAN-2 and EAN-5 add-ons for EAN-13, UPC-A and UPC-E, and this generator follows that rule.
What size is an EAN-8 barcode?
At 100% it is 26.73 mm wide and 21.64 mm tall, including the quiet zones. You can scale it from 80% to 200%. See the barcode size guide.