What Code 128 is for
Code 128 is the go-to format for internal use. It encodes full ASCII (upper and lower case, digits and symbols), has variable length and every barcode scanner reads it. Typical uses:
- Inventory and asset tags: computers, tools, furniture (
AST-00231). - Warehouse: bin and shelf locations, aisles, totes (
A-03-2). - Orders and shipping: order, packing slip or tracking numbers.
- Internal SKUs for products not sold at retail.
Why it's so compact
Code 128 has three character sets: A (upper case and control characters), B (upper and lower case) and C (pairs of digits). For long numbers, set C packs two digits into each symbol, so the barcode is much shorter than Code 39. The generator picks the best combination automatically and adds the mod-103 check character, which isn't shown in the text.
Tips for reliable scanning
- Keep a quiet zone of at least 10 times the narrowest bar on each side.
- Longer content means a wider barcode. For small labels, keep references short.
- Print with strong contrast: black bars on white is the safest choice.
- For many labels at once, generate a sequence or paste a list in Bulk · PDF labels.
Frequently asked questions
Can I use Code 128 for retail?
No. Store checkouts expect a UPC or EAN-13 registered with GS1. Code 128 is for internal use and logistics.
Is it the same as GS1-128?
GS1-128 is Code 128 with a special structure: application identifiers such as (01), (10) or (17), used on logistics labels between companies. This generator creates standard Code 128.
Does it support accented characters?
Not reliably: Code 128 is designed for ASCII and many scanners misread accented characters. Keep them out of the barcode data. They're fine in the label text.