Code 128 is a high-density 1D (linear) barcode designed to encode the full ASCII character set: uppercase and lowercase letters, digits, and common punctuation. It is one of the most widely used symbologies in shipping labels, inventory tags, and warehouse systems because it fits a lot of data into a small width and includes a check digit for reliable scanning.
This generator turns whatever you type into a scannable Code 128 barcode right in your browser. Type text or a number, adjust the sticker size, and print it or share the link. Nothing is uploaded.
Code 128 has three character subsets. The encoder switches between them automatically to keep the barcode as short as possible.
| Subset | Covers | Best for |
|---|---|---|
| A | Uppercase, digits, control characters | Legacy systems needing control codes |
| B | Upper and lowercase, digits, symbols | General text and mixed-case values |
| C | Pairs of digits (00–99) | Long numeric codes, at double density |
| Symbology | Encodes | Typical use |
|---|---|---|
| Code 128 | Full ASCII, any length | Shipping, inventory, logistics |
| Code 39 | Uppercase, digits, few symbols | Older industrial and ID systems |
| EAN-13 / UPC-A | Fixed-length product numbers | Retail products at point of sale |
| QR code | 2D: URLs, text, Wi-Fi, contacts | Phone-camera scanning, links |