Barcode Generator
Generate EAN, UPC, Code128 barcodes and more.
Maximum 48 characters (printable ASCII)
Online Code128 barcode generator
Code128 is one of the most versatile and widely used linear barcode standards. It was designed for high-density ASCII character encoding and is preferred for shipping labels, inventory, product identification, and internal documents.
Our generator implements Code128B encoding, supporting all printable ASCII characters. The algorithm automatically calculates the checksum, ensuring barcode validity.
The barcode is generated entirely in your browser using the HTML5 Canvas API. The result includes readable text below the bars and can be downloaded as a high-resolution PNG image.
Frequently asked questions
What characters can I use in the barcode?
Code128B supports all printable ASCII characters: uppercase and lowercase letters (A-Z, a-z), numbers (0-9), and special symbols like @, #, $, %, &, etc. It does not support accented characters or emojis.
Are the generated codes scannable?
Yes. The codes are generated strictly following the Code128 standard with checksum calculation included. They are readable by any Code128-compatible barcode scanner, both laser and camera.
What is the difference between Code128 and other formats?
Code128 is more compact and versatile than Code39 (supports more characters and is denser). Unlike EAN/UPC which only encodes numbers, Code128 supports full text. It is the most recommended standard for general use in logistics and internal control.