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.
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.
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.
Related: Margin Calculator · Amazon FBA Fee Calculator · Color Converter