← All tools

EAN / UPC Barcode Generator

Validate or compute the mod-10 check digit for EAN-13, EAN-8 and UPC-A (GTIN) codes, and render the actual bar pattern — start/center/end guards, A/B/C parity patterns per the GS1 standard — to a canvas you can download as a PNG. Everything is generated in your browser; nothing is sent anywhere.

Enter the data digits (without the check digit) to compute it, or the full code to validate. The check digit uses weighted mod-10 (digits in odd positions ×1, even positions ×3).

Enter a code to render the barcode