EAN-8 barcode generator

Create EAN-8 barcodes for small retail packaging where a full EAN-13 will not fit.

  • Free · no watermark
  • Runs in your browser
1 · Formattype: 'ean8'
Retail
Logistics
Industrial
7 digits, or 8 to verify the check digit
Check digit 4 calculated and added
3 · Bars
60 px
Module width
10 px · 5.0 X
4 · Text

EAN-8 uses the standard GS1 text layout, with digits split under the bars.

5 · Color
Bars
Background
6 · Rotation
Live previewEAN-8
100%
9638 5074
Modules
67
X-dimension
0.281 mm
Size
26.7 × 14.9 mm
Status
Valid
Export

Vector · best for print · 26.7 mm wide

Specs
Check digit
4
Quiet zone
5.0 X
Bar height
8.4 mm
Human text
GS1 layout
etiket · label.ts
import { barcode } from 'etiket'

const svg = barcode('9638507', {
  type: 'ean8',
  height: 60,
  barWidth: 2,
  showText: true,
  margin: 10,
  background: '#FFFFFF',
})

About EAN-8

What is a EAN-8 barcode?

EAN-8 is the short form of EAN-13 for packaging too small for a full barcode, such as cosmetics, confectionery and pens. GS1 issues EAN-8 numbers individually on request.

Data
8 digits (7 + check digit)
Characters
Digits only.
Check digit
Mod 10, automatic
Print size
26.73 × 21.64 mm at 100% (X = 0.33 mm)
Used for
Small retail packages

How to create a EAN-8 barcode

  1. 1
    Enter your data
    Type or paste the 7-digit number. The check digit is calculated automatically, or verified if you enter it.
  2. 2
    Adjust bars and text
    Set bar height, module width and quiet zone, and choose whether to print the human-readable text.
  3. 3
    Set the print size
    Enter the final width in mm, cm, inches or pixels. The X-dimension and height update as you type.
  4. 4
    Download and test
    Export SVG for print or PNG at 300–600 dpi, then run a test scan before you print a full batch.
Other barcode generators

FAQ

EAN-8 questions

More answers in the general FAQ and the barcode size guide.

How do I create a EAN-8 barcode?

Choose EAN-8 in the format list, enter your data (7 digits, or 8 to verify the check digit), set the print width, then download SVG or PNG. The check digit is calculated for you.

What data can a EAN-8 barcode hold?

8 digits (7 + check digit). Digits only.

What size should a EAN-8 barcode be?

26.73 × 21.64 mm at 100% (X = 0.33 mm). Keep the quiet zone clear and print dark bars on a light background.

Is this EAN-8 generator free for commercial use?

Yes. There is no watermark, sign-up or usage limit, and barcodes are generated in your browser — your data is never uploaded.