Code 128 barcode generator
Encode SKUs, order numbers and serials — letters, numbers and symbols — in a compact barcode that warehouse and handheld scanners read everywhere.
1Choose a format and enter your number
Inventory, shipping and SKUs. Letters, numbers and symbols (ASCII).
Size and style · optional
Narrow bar width (X)
0.25 mm for small labels; 0.33 mm+ for warehouse scanning.
Digits under the bars help when a scan fails.
Code 128 vs Code 39
| Code 128 | Code 39 | |
|---|---|---|
| Characters | Full ASCII | A–Z, 0–9, 7 symbols |
| Density | Compact | About 30 % wider |
| Built-in check | Always | Optional (mod 43) |
| Best for | SKUs, shipping, inventory | Legacy systems, asset tags |
Good labels, fewer rescans
- Narrow bar width: 0.25 mm for small labels on a good thermal printer; 0.33–0.5 mm for scanning from a distance.
- Margins: leave at least 10× the narrow bar width clear on both sides — our files include it.
- Human-readable text: keep it on so staff can type the value if a label is damaged.
Printing a whole stock list? Upload it to the bulk barcode generator.
Frequently asked questions
Can I use Code 128 on products I sell in shops?
Checkout systems expect EAN-13 or UPC-A for retail products. Code 128 is ideal inside your business: stock, bins, orders, shipping and asset tags.
What characters does Code 128 support?
All standard ASCII characters: upper and lower-case letters, digits, spaces and symbols. For accented letters or other scripts, use a QR code.
How tall should a Code 128 barcode be?
At least 15 % of its width, and never less than about 6 mm. Taller bars are easier to scan with handheld scanners at an angle.
Why is my Code 128 barcode so wide?
Width grows with the number of characters. Keep values short, use digits where possible (they pack more densely), or reduce the narrow bar width to 0.25 mm if your printer is precise.