EAN-8 barcode generator
An EAN-8 barcode is 8 digits drawn as bars, the short retail barcode for packs too small for a full EAN-13. Opo Codes draws the bars for a number you supply, adds the eighth check digit when you type 7, and exports it free in your browser. It does not issue official product numbers.
Open the generatorFree. Runs in your browser.
How to do it
- Open the generator with EAN-8 already selected.
- Type the 7 digits and the check digit is added, or type all 8.
- If the eighth digit is wrong, the generator shows the right one and offers to fix it.
- Check the scan stamp, choose PNG, JPG, SVG or PDF, then download.
How the EAN-8 check digit is worked out
Take the first 7 digits. Add the digits in positions 1, 3, 5 and 7 and multiply that sum by 3. Add the digits in positions 2, 4 and 6. Add both results and find what is needed to reach the next multiple of 10.
Worked example with 9638507. Positions 1, 3, 5, 7 hold 9, 3, 5, 7, which add up to 24, and 24 times 3 is 72. Positions 2, 4, 6 hold 6, 8, 0, which add up to 14. The total is 86. The next multiple of 10 is 90, so the check digit is 4 and the full number is 96385074.
When EAN-8 fits and when it does not
EAN-8 is for packs where an EAN-13 would not fit, such as a lip balm or a sachet. At the default 0.33 mm bar width it is about 30 mm wide including its quiet zones, against about 39 mm for an EAN-13. It holds digits only, and 8 digits give far fewer numbers than 13, so it is normally allocated by GS1 for one item at a time.
This tool encodes the number you give it. It does not issue official GS1 numbers. Use a number you are entitled to, and use 96385074 or any made-up number only to test a layout.
Export and extras
Download as PNG, JPG, SVG or PDF, with 150, 300 or 600 DPI for pictures. Keep the bar width at 0.25 mm or more, because the generator warns below that. An optional 2 or 5 digit add-on can sit beside the bars.
UPC-E, the shortened UPC, is also in the picker but is marked Not scan-tested, because this browser has no reader for it.
Questions
Can I use EAN-8 instead of EAN-13 on any product?
No. Use it where the pack is too small, and check with the shop or marketplace. The number must be one you are entitled to.
Do I have to type the check digit?
No. Type 7 digits and it is added. If you type 8 and the last one is wrong, the generator tells you the right digit.
Can EAN-8 hold letters?
No, digits only. For letters use Code 128.
How do I know it will scan?
The generator reads the bars back and shows VERIFIED when the result matches. Scan one printed copy before a big run.