What you're using right now
- 100+ barcode & QR symbologies
- Live preview & customization
- PNG & SVG export, no login
- Copy to clipboard
Loading Barcode Mint…
Free Online Barcode & QR Code 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 ↓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.
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.
What you're using right now
For designers & teams
Priced by requests. Commercial license and self-serve keys included; usage dashboard at launch.
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.
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.
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.
EAN-8 shows up specifically where package real estate is the limiting factor:
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:
/barcode?type=ean8&data=YOUR7DIGITS — to generate EAN-8 images programmatically from a labeling or packaging pipeline.Because EAN-8 exists precisely for space-constrained labels, printing discipline matters more than usual:
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.
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.
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.