IT lexicon › Hardware › Code 128

Code 128

Hardware På svenska → Updated: 2026-10-02
More info
Creator
Computer Identics
Released
1981
Type
Barcode
Spec
ISO/IEC 15417

A compact linear barcode that handles the full ASCII set, not just digits.

It was developed by Computer Identics in 1981 for shipping and logistics, where UPC was too limited. The name refers to the 128 ASCII characters it can encode. Three code sets — A, B, and C — are chosen and switched mid-code: A and B cover text and control characters, while C packs two digits into each symbol and so makes pure numbers unusually dense.

A mandatory check character is computed as a weighted sum of the symbol values, making misreads unlikely. The GS1-128 variant layers standardised data fields for parcel number, best-before, and batch on top, and is the backbone of pallet labels and transport tags — nearly always printed by thermal transfer.

← Back to the lexicon