Barcode Generator
Generate Code128 barcodes from text and save as PNG.
How to Use the Barcode Generator
Type ASCII text and a Code128 barcode is drawn instantly, with the source text shown underneath. The example chips set a value and generate at once. Use Download PNG to export the image. The check digit, start/stop symbols and quiet zones are added for you, so paste a product code or reference number as-is.
Concrete examples
- BENRI-2024 → a 10-character Code128-B barcode with an automatic check digit
- 1234567890 → a numeric reference encoded as Code128 (not EAN)
- SKU-0042 → letters plus a hyphen, typical for inventory labels
- Hello World! → spaces, punctuation and mixed case all work (ASCII 32โ126)
- Non-ASCII text → an "Unsupported characters for Code128-B" error; replace it with plain ASCII. Control characters such as a tab do encode without an error, but avoid them because scanners handle them inconsistently
When to Use Code 128
Code 128 is a general-purpose barcode format for internal labels, stock references, work orders and test data. It is not the same as retail UPC or EAN barcodes, so use it when you control the scanning workflow or need a quick barcode for a draft label.
Code 128-B Scope and Scan Testing
The output is Code 128-B for the literal input. It is not JAN/EAN, GS1-128, or a carrier-specific shipping label, and it does not add a company prefix, GS1 application identifiers, or an industry-mandated size. Check the required specification before using it in a production workflow.
A visible barcode is not automatically scannable after printing. Test the final label with the actual scanner, including quiet zones, print spread, scaling, and printer resolution. Use the QR Code Generator when a QR workflow is expected.