DevToolCase
Sign in Sign in

Generate an EAN-8 bar code

Draw an EAN-8 bar code, its check digit computed, and download it as SVG or PNG.

Share this result

Encrypted in your browser. The key stays in the link, after “#”: only the people you give it to can read it, not even DevToolCase.

The link works for

Sign in for longer links or links without expiry, and to find them in your account.

With or without its check digit: computed when missing, checked when present.

Runs entirely in your browser: nothing you type is sent or stored.

When to use an EAN-8

The EAN-8 is the short version of the EAN-13, for packaging too small for it: chewing gum, cosmetics, pens. Its 8 digits are a GTIN-8 allocated by a GS1 organisation, the last one being the check digit.

Type 7 digits and the check digit is computed. For other products, the EAN-13 is the rule.

Getting a GTIN-8

  • GTIN-8 numbers are scarce: GS1 organisations allocate them one at a time, only when the printable area of the packaging is too small for an EAN-13.
  • EAN-8 codes starting with 0 or 2 are for internal use, such as a shop's own items: they are not valid outside it.
  • Like the EAN-13, it is printed dark on light, with its quiet zones; download it as SVG for print.

Add this browser’s favorites to your account?

This browser has 0 favorites that your account does not have:

Either way, this browser keeps its favorites: you find them again after signing out.