Create a EAN-8 barcode for compact eight-digit retail identifiers. Enter a suitable value, inspect the generated preview and save an SVG or PNG image. The tool is free to use without creating an account.

FREE ONLINE TOOL No account required

EAN-8 Barcode Generator

Compact retail barcodes

When to use EAN-8

EAN-8 is a compact retail barcode for an eight-digit identifier. It can be useful for small packaging when an authorised GTIN-8 has been assigned. The shorter format is a separate identifier type, not a shortcut for arbitrarily removing digits from EAN-13. Choose it because the product record and receiving retailer require EAN-8, rather than solely because the label artwork looks smaller.

Input rules and supported data

Enter seven numeric base digits to calculate the eighth check digit, or enter all eight digits to validate a complete value. The field does not accept letters, hyphens or spaces. Preserve leading zeros when working with spreadsheets. If your source number has thirteen digits, return to the EAN-13 generator or verify the assigned identifier with its issuer; do not truncate it to make it fit.

How to create your EAN-8 image

  1. Copy the intended identifier or text into the input field, keeping meaningful zeros and punctuation.
  2. Choose a scale appropriate for a clear preview. For linear formats, choose the bar height as well.
  3. Select the generate button and read any input message before using the displayed image.
  4. Download the result and check the decoded contents with equipment that supports this barcode format.

Worked example

Example input: 96385074. The seven-digit base is 9638507 and the check digit is 4. Use this sample to test rendering and decoding, then replace it with the correct allocated number. The same complete eight digits should appear in the scanner’s decoded result.

Choosing SVG, PNG or a printed copy

Choose SVG when placing the image into a design or print workflow that accepts vector artwork. Choose PNG for software that expects a raster image. Keep the complete symbol and its surrounding clear area in either format. The readable caption is useful for a person checking the label, but the scanner reads the encoded pattern. After changing the input, generate a fresh image rather than reusing an earlier download.

Preserve the proportions of the bars and spaces, and leave the clear margins at both ends intact. Do not stretch the width independently or crop the symbol to fit a smaller label. Test a sample at the actual printed size on the intended material. Printer resolution, contrast, surface texture and the scanner’s working distance can affect a physical scan.

Troubleshooting this format

A seven-digit value is treated as an incomplete base, while eight digits are treated as a complete identifier. Check which version your source system supplies before diagnosing a mismatch. A small package can also leave too little clear space around the image, so test the intended printed size rather than judging only the on-screen preview.

Frequently asked questions

Can an EAN-13 number be shortened to EAN-8?

No. EAN-8 identifies a separately assigned eight-digit number. Removing digits from a thirteen-digit product number does not produce an equivalent valid product identifier.

Can the generator add the eighth digit?

Yes. Enter seven numeric base digits and the tool calculates the final check digit. A complete eight-digit input is checked instead.

Does a compact EAN-8 symbol work at any size?

No. The printer, scanner, label material and available clear margins still matter. Test a label at the actual production size and follow the receiver’s applicable print requirements.

Data handling and related tools

Barcode rendering happens in your browser after the required rendering library loads. The website and its content delivery providers still receive normal page requests, so this is not a claim that the whole website has no network activity. Avoid confidential test data and review the privacy policy for service details.

Use the barcode scanner to check supported images, or browse the complete barcode tool directory for a different format. For technical encoder information, see the BWIPP symbology reference.