Barcode tools · GS1 retail
EAN-8 generator.
Generate the compact eight-digit EAN-8 retail symbol from seven data digits and a public GS1 modulo-10 check digit.
EAN-8 data
Barcode
When EAN-8 makes sense
GS1 describes EAN-8 for trade items whose packaging cannot reasonably fit an EAN-13 or UPC-A symbol. It is not a shortcut around GS1 allocation: the number must still be assigned through the appropriate GS1 organisation.
Worked example: 9638507
For seven data digits the weights alternate 3, 1, 3, 1, 3, 1, 3 from the left. Digits 9 6 3 8 5 0 7 give 9×3 + 6×1 + 3×3 + 8×1 + 5×3 + 0×1 + 7×3 = 27 + 6 + 9 + 8 + 15 + 0 + 21 = 86. The next multiple of 10 is 90, so the check digit is 4 and the complete EAN-8 is 96385074.
How an EAN-8 is built
An EAN-8 is a GTIN-8: eight digits, the last of which is the check digit. The bar pattern is 67 modules wide with a 7-module quiet zone on each side, so at GS1’s 0.330 mm X-dimension the symbol with its quiet zones is (67 + 7 + 7) × 0.330 = 26.73 mm wide, against 37.29 mm for an EAN-13. That saving is the only reason to use it. Because GTIN-8 numbers are scarce, GS1 member organisations decide whether to allocate one; ask yours before assuming you can have one, and consider a UPC-E if you are selling in North America.
Sources and as-of date
As of 26 October 2026. The rules above were checked against these references; the arithmetic in the worked example was recomputed independently.
Privacy: nothing typed here is sent to TNAADO.
Frequently asked questions
When should I use an EAN-8 instead of an EAN-13?
When the package is too small for the larger symbol. GS1 member organisations set their own rules for allocating the eight-digit numbers, so confirm with yours first.
Why does 9638507 get a check digit of 4?
Weighted from the left by 3, 1, 3, 1, 3, 1, 3 the digits sum to 86, and 4 brings that to 90.
Can I convert my EAN-13 to an EAN-8?
No. An EAN-8 is a separate number space, not a shortened EAN-13. Dropping digits from an EAN-13 produces a different, invalid number.
Do I need to print the digits under the bars?
GS1 specifies human-readable digits for retail symbols, and this tool prints them. Keep them if your retailer expects to be able to key the number in by hand.
Worked example: 9638507 becomes 96385074
EAN-8 uses the same modulo-10 idea as EAN-13, but the weights run 3, 1, 3, 1, 3, 1, 3 from the left across the seven data digits, because the digit next to the check digit must always carry weight 3.
| Digit | 9 | 6 | 3 | 8 | 5 | 0 | 7 | Sum |
|---|---|---|---|---|---|---|---|---|
| Weight | 3 | 1 | 3 | 1 | 3 | 1 | 3 | |
| Product | 27 | 6 | 9 | 8 | 15 | 0 | 21 | 86 |
The sum is 86, so the check digit is 90 − 86 = 4 and the complete code is 96385074. Enter 9638507 above to draw it.
Next steps: EAN-13 generator, UPC-E to UPC-A converter, or EAN/UPC check digit validator.