📦 Retail · Free

EAN-13 barcodes,
ready to scan.

Type 12 or 13 digits — we add the check digit and draw a valid, scannable EAN-13 barcode you can download as SVG or PNG.

▶︎ How to use — watch it work on real numbers

Free EAN-13 barcode generator

An EAN-13 barcode is the 13-digit code printed on almost every retail product in the world. The first digits are the GS1 prefix and manufacturer, the next identify the product, and the final digit is a check digit that scanners use to catch mistakes. This barcode generator takes your 12 digits, computes the correct check digit, and draws a clean, standards-compliant barcode you can download as SVG (crisp at any size, perfect for print) or PNG.

How the check digit works

The check digit is derived from the other 12: multiply digits in odd positions by 1 and even positions by 3, add them up, and the check digit is whatever brings that total to the next multiple of 10. Enter 12 digits and this tool fills in the 13th; enter all 13 and it verifies them for you. Everything is drawn in your browser — nothing is uploaded.

What is EAN-13?
The 13-digit retail product barcode used worldwide. 12 data digits + 1 check digit.
Can I download it for print?
Yes — download SVG (vector, crisp at any size) or PNG. For real retail you need a licensed GS1 number.

Related: Margin Calculator · Amazon FBA Fee Calculator · Color Converter