§WHAT IS
What is Code 128 and why is it called that?
Code 128 is a high-density alphanumeric barcode format published in 1981 by Computer Identics. It can encode the 128 printable ASCII characters in a single scannable barcode.
§BARCODE / CODE128
Code 128 is the universal alphanumeric barcode: letters, numbers and symbols in a single barcode. Ideal for internal inventory, labels, serial numbers and industrial stickers.
Letters and numbers, between 1 and 80 characters.
Colors and text
AdvancedPro
§EXAMPLES
Adjust color, font, scale and height from the generator. Changes apply instantly and are saved to your account on the Pro plan.
Classic
Standard black, OCR-B font, default size. Compatible with any scanner.
Compact
Smaller scale, no text below. For small labels with limited space.
Branded
Corporate color on bars, sans-serif font. Scanner readability maintained.
§WHAT IS
Code 128 is a high-density alphanumeric barcode format published in 1981 by Computer Identics. It can encode the 128 printable ASCII characters in a single scannable barcode.
§WHEN TO USE
When you won't sell the product through organized retail. Code 128 is perfect for internal inventory, shipping labels, serial numbers, asset identifiers and any code you generate and read within your own operation.
§SPECS
Length
1-80
Characters
Alphanumeric
Example
ABC-1234-XYZ
Check digit
No
§COMPARISON
Code 128 is linear with a check digit and supports full ASCII. QR is 2D and supports up to 4,296 characters with error recovery. Code 39 is linear but only uppercase and digits, less dense.
§FAQ
Yes. Code 128 has been free of patents and royalties since its publication. Anyone can generate and print Code 128 codes on commercial products without paying licensing, unlike the EAN-13 standard which requires GS1 registration.
Technically up to 80 characters. In practice, keep content below 30-40 characters if you'll print it on a standard label: beyond that the code becomes very wide and requires high-resolution printing to remain readable.
Yes. Any laser scanner from the past 25 years decodes Code 128 by default. It is one of the most universal formats alongside EAN-13 and UPC-A. Professional mobile scanning apps like Scandit, Cognex, Zebra DataWedge also support it without configuration.
Yes, the generated code includes the text below the bars (the labeled text you see). It allows a human to interpret the content if optical reading fails. If you want to hide the text, you can edit the downloaded SVG to remove that element.
Three usual causes: insufficient white margin (you need at least 10X of quiet zone on each side), low-resolution printing that blurs thin bars (print at 300 dpi minimum), or scale too small. Download the SVG and try printing at 1.5x size if your reader fails.
§GENERATORS
You have 9 generators on codigo-qr.es. QR codes always free, Code 128 and EAN-13 too. The other 6 retail and industrial formats are part of the Pro plan.
URL, vCard, WiFi, text, email and SMS. Customize colors. Download PNG or SVG. No watermark.
GenerateEAN-13
European retail standard. 13 digits. For products sold in supermarkets and registered with GS1.
GenerateEAN-8
Compact version of EAN-13 for small packages. 8 digits. Cosmetics, sweets, small format.
GenerateUPC-A
Retail standard in US and Canada. 12 digits. If you sell in North America, this replaces EAN-13.
GenerateUPC-E
Compressed UPC-A for small labels. 8 digits. Cosmetics and sweets in the US.
GenerateCode 39
Industrial alphanumeric. Compatible with legacy systems. Aviation, automotive, maintenance.
GenerateITF-14
Logistics and master cartons. 14 digits. Identifies pallets and packaging units for shipments.
GenerateGS1-128
Advanced logistics with structured data (lot, expiry, weight). Pharma and food traceability.
GenerateGenerate it above, set the value and download in PNG or SVG. No sign up, no watermark.
¿Necesitas barcodes para toda tu empresa? Ver soluciones para empresas →