EAN-13 Barcode Generator
Generate a valid EAN-13 barcode by entering 12 digits. The 13th digit (check digit) is calculated automatically. EAN-13 is the standard barcode for retail products worldwide.
Barcodes generated locally using JsBarcode. All processing runs in your browser.
How it works
The tool uses JsBarcode, a barcode encoding library, loaded lazily in your browser. It draws the barcode directly onto an inline SVG element. Download as SVG for vector output, or as PNG for raster use. All without a server.
Processing runs in your browser
All barcode generation happens locally in your browser tab. Our servers are not involved at any point.
Related operations
To encode URLs or text into scannable squares, try the QR code generator. To read codes back out of an image, use the QR code scanner. For hashing serial numbers before encoding, see the hash generator.
Frequently asked questions
Why do I only enter 12 digits if EAN-13 has 13?
The 13th digit is a check digit calculated from the first 12 using a weighted modulo-10 formula. This tool computes and appends it automatically.
What is EAN-13 used for?
EAN-13 is the standard barcode used on retail products worldwide, groceries, books (ISBN-13), and consumer goods. It is managed by GS1.
Can I get an official EAN-13 barcode for my product?
Official EAN-13 barcodes for retail require a GS1 company prefix, which you purchase from GS1. This tool generates the barcode image, it cannot issue official product codes.
Is my data uploaded to a server?
The barcode is generated using the JsBarcode library running entirely in your browser.