Code 128 Barcode Generator
Code 128 is the general-purpose barcode for text and IDs: shipping labels, warehouse locations, asset tags and serial numbers.
Any printable ASCII text — letters, numbers, punctuation
2px
80px
Code 128 at a glance
- Encodes
- Any printable ASCII text: letters, digits, punctuation
- Check character
- Mod 103 — always added automatically, not printed
- Used on
- Shipping labels, logistics, inventory, GS1-128
- Density
- High — shorter than Code 39 for the same text
Good to know
- →This generator uses Code Set B, which covers all printable ASCII characters. Need many at once? Switch to Bulk and download a ZIP.
- →GS1-128 (formerly UCC/EAN-128) is Code 128 with a special start character and Application Identifiers like (01) for GTIN.
- →The hidden check character makes misreads very unlikely, so no extra check digit is needed.
Frequently asked
Code 128 or Code 39 — which should I use?
Code 128 for anything new: it encodes lowercase and punctuation and is much more compact. Use Code 39 only when a system or industry standard requires it.
Can Code 128 encode numbers only?
Yes. Code 128 can pack digits in pairs (Code Set C) for an even shorter barcode; this generator uses Set B, which works for any text including numbers.