36911776
Generate an EAN-8 number

This generator creates EAN-8 numbers: seven digits plus a correct GS1 check digit, the short form of the EAN for small packages. Press the generate button for a new number and copy it with the copy button. The bulk card below lists up to 100 numbers at once. The numbers are test data - they carry no GS1 registration.

Your last generated data 1
  • 36911776
Bulk EAN-8 number generator
  • 81425969
  • 48137324
  • 63960068
  • 61498198
  • 98097722
  • 57689586

What is an EAN-8?

An EAN-8 is the eight digit member of the GTIN family - in GS1 terms a GTIN-8. It exists for one reason: some packages are too small for an EAN-13 symbol. Lipsticks, chewing gum, pencils, small tubes and sachets often carry an EAN-8 because its barcode is about 30 percent narrower.

How an EAN-8 is built

  • a GS1-8 prefix of the member organisation that issued it,
  • an item reference for the product,
  • a check digit at the end.

Unlike an EAN-13 there is no company prefix in the middle. With only seven data digits there are far too few numbers for every company to get a block of its own, so GS1 member organisations issue EAN-8 numbers one at a time, on application, and usually only when the packaging really has no room for an EAN-13. Most products therefore get an EAN-13, even small ones.

The check digit

The last digit is the GS1 modulo 10 check digit, the same one EAN-13, UPC and GTIN-14 use: the seven digits are weighted alternately three and one, starting with three at the rightmost one, and the check digit completes the sum to the next multiple of ten.

What the numbers on this page are for

They are test data: structurally valid EAN-8 numbers that were never issued to anyone. Use them to fill a product table in a staging system, to test a scanner, a label printer or an import that has to accept eight digit codes as well as thirteen digit ones, or to show how the check digit works.

They do not identify a product, and a marketplace or retailer will not accept them as one - what is checked there is who the number was issued to, not whether its check digit adds up. GS1 reserves EAN-8 numbers that start with 0 or 2 for use inside a company (restricted circulation, for example in-store labels); a real product sold through retail needs a number from your GS1 member organisation.

Frequently asked questions

What is an EAN-8?
The eight digit form of the EAN, in GS1 terms a GTIN-8: a GS1-8 prefix, an item reference and a check digit. It is meant for packages too small for an EAN-13 symbol.
When is an EAN-8 used instead of an EAN-13?
Only when the packaging has no room for an EAN-13 barcode, for example on lipsticks, pencils or small tubes. GS1 member organisations issue EAN-8 numbers individually and on application, so most products get an EAN-13 even when they are small.
How is the EAN-8 check digit calculated?
The seven digits are weighted alternately three and one, starting with three at the rightmost digit. The check digit is the amount that completes the sum to the next multiple of ten.
What are EAN-8 numbers starting with 0 or 2?
GS1 reserves them for restricted circulation inside a company, for example in-store labels. They are not meant to identify a product in open trade.
Can I use a generated EAN-8 on my product?
No. A generated number has a valid check digit but was never issued to anyone, and that is what retailers and marketplaces check. The numbers here are test data for development and teaching.