99+ Free Tools
← Back to all tools

Barcode Generator

Code 128, Code 39, EAN-13 and UPC-A barcodes — made in your browser, ready to download or print. Nothing is uploaded or stored.

A product barcode label on a cardboard box
Print at a reasonable size — very small or low-contrast prints may not scan. A module width of 2 or more prints best.

Generate one barcode

Enter a code.

Enter at least one code.

Result

Enter a code and press Generate barcode.

How this tool works

Code 128. Encodes printable ASCII. Long runs of digits are encoded in Code Set C (two digits per symbol) to keep the barcode short; the check digit is a modulo-103 checksum over the start code and every symbol.

Code 39. Encodes A–Z, 0–9 and - . space $ / + % (uppercase only — lowercase letters are rejected). Every character has exactly three wide elements; a start/stop * is added at each end.

EAN-13 and UPC-A. Enter 12 digits for EAN-13 (11 for UPC-A) and the check digit is computed and shown with its working; enter the full 13 (12) digits and the check digit is verified. EAN-13 always has 95 modules; UPC-A is an EAN-13 with a leading zero.

Printing. Printed barcode quality depends on the printer — print at a reasonable size with a module width of 2 or more, on white paper, for the best chance of scanning.

Privacy. Everything happens in your browser. Nothing is uploaded, stored or shared.