Barcode scanner tool
Barcode Generator
Generate Code 128, Code 39, EAN-13, EAN-8, and UPC-A barcodes as SVG images directly in your browser. Useful for creating test barcodes to scan back into the Barcode Input Tester or your own application.
Generate a barcode
Accepts any ASCII printable characters.
Format reference
Code 128
A high-density, variable-length format that supports the full ASCII character set. Common in shipping, logistics, and general-purpose inventory labeling where alphanumeric values are needed.
Code 39
An older variable-length format supporting uppercase letters, digits, and a small set of symbols (- . $ / + % and space). Still common in industrial and government/military labeling.
EAN-13
A fixed 13-digit retail barcode used worldwide outside North America. The final digit is a checksum computed from the first 12 digits, which this generator validates before rendering.
EAN-8
A compact 8-digit variant of EAN-13 used on small packaging where a full 13-digit barcode would not fit. It uses the same checksum algorithm applied to a shorter payload.
UPC-A
A fixed 12-digit retail barcode standard in North America. It is checksum-compatible with EAN-13 (an EAN-13 reader can decode a UPC-A code with a leading zero).
Related
Scan the generated barcode with a physical scanner and verify the captured value using the Barcode Input Tester. For a broader testing workflow, see Barcode Scanner Testing.