Loading Barcode Mint…

Barcode Mint

Free Online Barcode & QR Code Generator

Retail (EAN / UPC)

EAN-8 Barcode Generator

Enter 7 digits and get a compact EAN-8 barcode built for products too small for a full EAN-13, with the check digit added automatically.

Open the generator ↓
Preview
100%

01

Symbology

Code 128
All 106 →
02

Data

03

Properties

Properties

2
100
18
10
04

Bulk & batch generate

🔒 Pro

Turn a CSV — or a numbered sequence — into hundreds of barcodes at once, exported as a ZIP of images or a print-ready PDF sheet. Launching with Pro.

Launching soon

Pricing — join the early list

The browser generator stays free forever. Paid plans are for teams who need bulk output and developers who need the REST API at scale — commercial license included. Tell us what you'd use; early-list members get first access and launch pricing.

For the generator

Free $0/forever

What you're using right now

  • 100+ barcode & QR symbologies
  • Live preview & customization
  • PNG & SVG export, no login
  • Copy to clipboard
Available now ✓

For developers — REST API

Priced by requests. Commercial license and self-serve keys included; usage dashboard at launch.

Small $19/mo$190/yr 500 req / mo
Large $499/mo$4,990/yr 50K req / mo
Enterprise Custom Contact us

Get early access + launch pricing

Which features would you actually use? (optional — it helps us decide what to build first)

No spam — one email when it launches. The free tool isn't going anywhere.

What Is an EAN-8 Barcode?

EAN-8 is a shortened version of the standard EAN-13 retail barcode, designed specifically for products where packaging space is too limited to fit a full 13-digit code — think candy wrappers, small cosmetics, spice jars, or cigarette packs. It encodes an 8-digit Global Trade Item Number (GTIN-8): 7 data digits plus a check digit, roughly 5 digits shorter than EAN-13's payload.

EAN-8 isn't a general-purpose alternative to EAN-13 — GS1 issues GTIN-8 numbers only when a company can demonstrate that its packaging genuinely can't accommodate an EAN-13. It's a special-case format, not a default choice, and it's used far less often than EAN-13 or UPC-A. Barcode Mint renders a correctly formatted, scannable EAN-8 image from any 7 digits you provide, whether that's a real GS1-issued number or a placeholder for testing.

How EAN-8 Encodes Data — Structure and Check Digit

An EAN-8 barcode's 8 digits break down as follows:

You only need to enter the first 7 digits in Barcode Mint; the 8th check digit is calculated and appended automatically, so the exported barcode is always valid. Structurally, EAN-8 uses the same guard-bar layout (start, center, and stop patterns) as EAN-13, just with fewer data digits between them, which is why it's visually recognizable as a smaller sibling of the standard retail code rather than an unrelated symbology.

Technical Specifications

EAN-8 encodes exactly 8 numeric digits (0–9 only) with no support for letters or symbols. The final digit is always the check digit and is never entered manually — Barcode Mint computes it from the first 7. There is no separate GTIN-8 "prefix range" the way EAN-13 has country-based prefixes; instead, GS1 allocates GTIN-8 numbers directly to companies that qualify for the space-constrained exception, drawing from a shared, tightly managed numbering pool precisely because the format has so little room for hierarchy. Bar height and module width follow the same proportional guard-pattern structure as EAN-13, just scaled to a shorter overall symbol, which is what makes EAN-8 physically smaller while still machine-readable by standard retail scanners.

Where EAN-8 Is Used

EAN-8 shows up specifically where package real estate is the limiting factor:

How to Create an EAN-8 Barcode in Barcode Mint

Select EAN-8 from the symbology list under Retail (EAN/UPC). Type your 7-digit number — a real GS1-issued GTIN-8 if you have official approval to use one, or any 7 digits for testing and mockups. The check digit calculates automatically as you type, and the live preview shows the finished barcode before export. From there:

Print and Scan Best Practices for Small Packaging

Because EAN-8 exists precisely for space-constrained labels, printing discipline matters more than usual:

EAN-8 vs EAN-13 vs UPC-E

EAN-8, EAN-13, and UPC-E all exist to solve variations on the same problem — fitting a scannable product number onto retail packaging — but they take different approaches. EAN-13 is the default 13-digit code used on most products worldwide and should be your first choice unless packaging genuinely can't fit it. EAN-8 is a true short-form GTIN with fewer digits and a smaller numbering pool, reserved for GS1-approved space-constrained cases. UPC-E takes a different route entirely: rather than using a shorter numbering scheme, it mathematically compresses an existing 12-digit UPC-A (when the digits fit a qualifying zero pattern) into a shorter printed form that scanners expand back to the full UPC-A. In short, EAN-8 is a genuinely smaller code, while UPC-E is a compressed encoding of a full-size one — they solve the same packaging problem but aren't interchangeable, and a product should use whichever one its numbering was actually issued under.

Common uses

Frequently asked questions

How many digits do I enter for an ean-8 barcode generator?
Enter 7 digits; Barcode Mint calculates the 8th digit (the check digit) automatically using the same modulo-10 algorithm used for EAN-13 and UPC-A.
When should I use EAN-8 instead of EAN-13?

Use EAN-8 only when your packaging is genuinely too small to fit an EAN-13 — GS1 issues GTIN-8 numbers specifically for this space-constrained case, not as a general substitute for EAN-13.

Does this tool register an official GTIN-8 for me?
No. Barcode Mint generates a correctly formatted, scannable EAN-8 image from any 7 digits you enter, but a genuinely unique GTIN-8 for commercial use must be requested through GS1, which evaluates space-constraint eligibility before issuing one.
Can I use a random 7-digit number for testing?
Yes, any 7 digits will produce a valid, scannable EAN-8 barcode for prototypes or internal testing — just don't use an untested number on packaging headed for real retail distribution.
Can I bulk-generate EAN-8 barcodes?

Yes. Upload a CSV of 7-digit numbers to Barcode Mint's bulk tool to produce a ZIP of individual barcode images or a single print-ready PDF, one per row.

Is the EAN-8 generator free to use?
Yes, Barcode Mint's EAN-8 generator runs entirely in your browser at no cost, with no account required for standard PNG/SVG/PDF exports.

Related barcode types

Browse all 106 barcode & QR types →