How to use
- Enter 12 digits (check digit added) or a full 13-digit code.
- Tune bar width, height and whether to show digits.
- Click "Download PNG" to save the barcode.
FAQ
What is the difference between 12 and 13 digits?
EAN-13 has 13 digits, the last being the check digit. Enter 12 and it is appended; enter 13 and the last digit is verified.
Can I sell products with this barcode?
The image is a valid, scannable EAN-13, but official retail use requires registering a company prefix with GS1 — this tool registers nothing.
What does a 69 prefix mean?
69 is the country prefix for mainland China; "Random" generates examples starting with 69.
Is the downloaded image high quality?
It exports at true canvas resolution — increase bar width (4–5px) for print-quality output.
Is my code uploaded?
No — the barcode is drawn entirely in your browser.
About this Barcode Generator
Draws to the EAN-13 spec (GB 12904 / ISO 15420): the leading digit selects the L/G parity pattern for the six left digits, guard bars separate the halves, and the final digit is the check digit (alternating 1/3 weights, mod 10). Rendered locally on canvas.