CodeKit

Free EAN-8 barcode generator

Generate compact 8-digit EAN-8 (GTIN-8) barcodes for small retail packages, cosmetics, and confectionery.

Compact GTIN-8 barcodes for small packaging and cosmetics

EAN-8 is the compact 8-digit version of EAN-13 designed specifically for small products—such as cosmetics, pens, chewing gum, and pharmaceutical vials—where a full 13-digit barcode would take up more than 25% of the package surface. Enter 7 digits and CodeKit automatically appends the 8th GS1 Modulo-10 check digit.

GTIN-8Small PackagingAuto Check DigitPNG & SVG

Built for Small Surface Areas

Occupies significantly less horizontal width than EAN-13 or UPC-A while remaining POS-compatible.

Automatic 8th Check Digit

Computes or validates the GS1 check digit automatically as you type.

Crisp Vector Output

Ensures small-scale prints remain sharp and scannable at checkout.

How to create an EAN-8 barcode

  1. 1Enter 7 or 8 digits

    Type your 7-digit number (8th check digit is added automatically) or all 8 digits to validate.

  2. 2Set compact bar height & width

    Adjust the bar height and margin to fit your small label area.

  3. 3Download SVG or PNG

    Export vector SVG for print packaging or PNG for sticker printing.

Frequently asked questions

Can I convert a 13-digit EAN-13 into an EAN-8?

No. EAN-8 numbers (GTIN-8) are allocated separately by GS1 for small items and are not compressed versions of EAN-13 numbers.