Quick answer: choose CODE 128 for a compact general-purpose label or printable ASCII data. Choose CODE 39 when a VIN, asset, government or legacy workflow specifically calls for it. If another system owns the specification, that requirement matters more than a general preference.
Quick comparison
| Property | CODE 39 | CODE 128 |
|---|---|---|
| Standard character set | Uppercase A–Z, digits, space and seven symbols | Full ASCII definition; QRacade's tool accepts printable ASCII |
| Typical density | Relatively wide for the same data | Usually more compact; Code Set C packs numeric pairs |
| Symbol check | Self-checking design; optional Modulo 43 check character in applicable workflows | Mandatory internal Modulo 103 checksum |
| Start and stop | Asterisk start/stop patterns, normally added by the encoder | Start code, data and checksum followed by the stop pattern |
| Common contexts | VIN labels, asset plates, legacy industrial and government systems | SKUs, serial numbers, inventory, shipping and general identification |
Character support is only the first difference
Standard CODE 39 supports 43 characters: uppercase letters, digits, space, and - . $ / + %. Lowercase input is not part of that basic set. A Full ASCII extension can represent more characters through pairs, but the receiving system must explicitly support that extension.
CODE 128 defines Code Sets A, B and C and can represent a much broader ASCII range. Encoders can switch sets to improve density. QRacade's CODE 128 generator accepts printable ASCII and uses compact numeric encoding when possible; it does not expose arbitrary control characters.
The same value can produce a different label width
CODE 39 represents each character with a comparatively simple, wide pattern. CODE 128 uses a denser encoding and can switch to double-density numeric pairs in Code Set C. This usually makes CODE 128 attractive when label space is limited.
QRACADE-2026 value at the same generator settings. Compare the occupied width, but choose final dimensions from the application specification and print test.Do not solve an oversized CODE 39 label by shrinking it without limit. Narrow-bar width, quiet zones, printer resolution and scanner distance still apply. See the barcode print-size and quiet-zone guide.
A symbol checksum is not a product check digit
CODE 128 automatically includes an internal checksum as part of the barcode symbol. It helps the decoder verify that the bars were read correctly. CODE 39 is self-checking by design, while some workflows also specify an optional Modulo 43 data check character.
These mechanisms are different from the final digit in a UPC, EAN or other GTIN. A retail check digit belongs to the identifier and is calculated before encoding the symbol. Our UPC-A and EAN-13 tools calculate or validate that retail digit separately. For number-only checks, use the barcode check digit calculator.
Which one should you choose?
- A new internal SKU or asset system: CODE 128 is usually the efficient default, subject to your software and scanner requirements.
- A 17-character VIN: use the VIN barcode generator, which selects CODE 39 and checks VIN-specific structure.
- Legacy equipment or a customer specification: follow the stated symbology, data format and label dimensions exactly.
- Lowercase or punctuation beyond CODE 39: CODE 128 is the natural choice when the receiving system permits it.
Scanner support is not a reason to assume one format always reads better. Both formats can work reliably when printed and configured correctly; a reader can also be configured to accept only selected symbologies.
Do not confuse CODE 128 with GS1-128
GS1-128 builds on CODE 128 but adds GS1 application rules, including Function 1 and Application Identifiers for structured supply-chain data. Encoding a GTIN or date into ordinary CODE 128 does not automatically make a compliant GS1-128 symbol.
QRacade currently offers general CODE 128, not a dedicated GS1-128 encoder. Use a validated GS1 workflow when that standard is required.