EAN-13 generator

EAN-13 Barcode Generator

Create an EAN-13 image from a 13-digit value and download it as PNG or SVG. BarcoBatch encodes the value you provide without silently replacing the check digit.

Runs locally in your browser
01

Barcode details

Enter exactly 13 digits. The value is encoded exactly as typed.

0 characters

Enter exactly 13 digits. The value is encoded exactly as typed.

02

Preview

Enter a value, then press Create barcode.

Enter a value, then press Create barcode.

Prepare an EAN-13 for a retail pack

EAN-13 carries a thirteen-digit GTIN, including its check digit. It is a familiar choice for consumer packs scanned at a shop checkout, rather than a container for a product name, price or website.

Confirm the number before drawing the bars

Use the identifier assigned to the exact product variant: a different size or pack quantity can require a different GTIN under the applicable allocation rules. This generator draws an image; it does not register products or check who owns a number. A mathematically valid check digit is only one consistency check. A number beginning with 868 or 869 relates to allocation through GS1 Türkiye, not proof that the product was manufactured in Türkiye.

Three actions on this page

First, put the complete thirteen digits in Value; the format is already fixed to EAN-13 here. Second, select Create barcode and compare the printed digits in Preview with your approved product record. Third, use Download SVG for a design layout or Download PNG for a suitable image workflow. A rejected entry should be checked against the original record, not made to pass by adding a zero or guessing a replacement check digit.

Understand the nominal footprint

GS1’s nominal EAN-13 diagram uses a 0.330 mm module and a total footprint of 37.29 × 25.93 mm, including quiet zones and readable digits; the bars themselves are 22.85 mm high. Retail guidance describes 80–200% magnification, subject to the application. These are standards references, not a claim that this preview exports at a particular physical size. Place the artwork proportionally in your label layout and reserve the full blank margins.

Inspect a real package surface

Avoid stretching only the width, cutting down the bar height or putting a border inside the quiet zone. Black bars on white are a useful starting point. Gloss, a curved bottle and a wrapping seam can defeat an otherwise correct image. At 203 or 300 dpi, small modules must map sensibly to printer dots; changing a DPI label alone adds no detail. Test the final label on the intended pack, with the production printer and scanner.

Common questions

Can I enter only twelve digits?
This page expects the full thirteen-digit value. Retrieve the complete identifier, including its authorised check digit, before creating the symbol.
Does EAN-13 store the selling price?
An ordinary product GTIN identifies the item. The checkout normally retrieves its price from a separate product database; changing the image does not change that record.
May I crop the white sides?
No. Those quiet zones help the reader locate the symbol. Keep them clear when placing the image near text, a label edge or another code.
Does a good phone scan certify the print?
It is a useful functional check, but not a GS1 print-quality verification. Packaging or retailer requirements can call for formal verification beyond a phone test.

EAN-13: Input and usage checks

EAN-13 input requirement

EAN-13 input must contain exactly 13 digits. BarcoBatch checks the structural length and characters, then encodes the value as supplied. It does not automatically complete a 12-digit input or rewrite the final digit.

Generating a barcode is not number registration

BarcoBatch creates the barcode image only. It does not assign GTINs, register products, verify ownership or confirm that a number is valid for a retailer or trading partner. Use identifiers supplied by the appropriate business or standards process for your use case.

Single or Excel bulk generation

Use this page for one EAN-13 barcode. When you already have many 13-digit values in an XLSX file, the Excel barcode generator can create embedded barcode images and a PNG ZIP in one browser-side workflow.

A practical input check

If your assigned product value has 13 digits, copy all of them, including the final check digit. A 12-digit UPC-A belongs in the UPC-A tool; adding a digit to satisfy this field is not identifier assignment. Compare the decoded value with the source before using the image on packaging.