Code 39 vs Code 93 vs Code 128: The 1D Showdown

Three industrial 1D symbologies, one usually wins. Density, character set, check digits, and when to pick each.

Pick Code 128. That is the right answer almost every time. Code 39 and Code 93 exist for reasons, and those reasons are narrow and getting narrower. Here is the full picture, and the cases where the other two earn their place.

We already covered Code 128 vs Code 39 head to head. This piece adds Code 93, which completes the trio and settles the "but what about..." questions.

The one-table comparison

Code 39Code 93Code 128
Character set43 (uppercase only)47 (+ full ASCII via shifts)Full 128 ASCII
Width per character13-16 modules9 modules11 modules (5.5 for numeric pairs in Set C)
Check digitOptional mod-43Two mandatory (C + K)One mandatory mod-103
Best numeric densityWorst20-35% narrower than Code 39Two digits per symbol character in Set C
Scanner supportUniversal (every 1D scanner ever)Common but not universalUniversal on modern scanners
Typical 2026 useLegacy + LOGMARSNear-noneEverything new
GenerateCode 39Code 93Code 128

Why Code 128 usually wins

  1. It encodes everything. The full 128-character ASCII set, including lowercase and control characters, with no shift pairs or workarounds. Code 39 is uppercase only, and anything beyond that doubles the width.
  2. Code Set C doubles numeric density. Two digits per symbol character, so at the same X-dimension a 12-digit UPC in Code 128-C is about half the width of the same 12 digits in Code 39.
  3. The check digit is mandatory. Every Code 128 carries a mod-103 checksum, so transcription errors get caught. Code 39 without its optional check digit is the weakest of the three.

GS1-128, the supply chain standard, is built on Code 128, and Code 128 is one of the carriers HIBC allows for healthcare labels. Without a specific reason to pick something else, this is the answer.

When Code 39 still makes sense

Code 39 has one advantage. Every 1D scanner in common use reads it, including decade-old USB wedges, the embedded line scanners in old POS terminals, and the cheapest handhelds on the market. If your deployment target is "whatever the customer already has", Code 39 gives you the widest compatibility.

The legitimate uses in 2026 are these.

  • US DoD LOGMARS, now governed by MIL-STD-129 (which carries forward the cancelled MIL-STD-1189B). Military-issued barcodes are Code 39 with the mod-43 check digit, and that is not negotiable.
  • Legacy library and healthcare systems that predate HIBC.
  • Write-only asset tags, where you control the printer and someone else controls the future reader. Code 39 is the safest bet for a scanner you have never seen.
  • Data that people need to read by eye, when it is uppercase alphanumeric. The text printed under a Code 39 symbol is exactly the encoded string.

When Code 93 makes sense

Almost never.

Code 93 is well designed. Its characters are 9 modules wide (denser than Code 39), it has two mandatory check digits (stronger than Code 128), and it reaches full ASCII through shifts. On paper it looks like a winner. In practice Code 128 does the same things with far more tooling, scanner and printer support.

The one use case is a legacy downstream system that was wired to Code 93 decades ago, with nobody budgeting a migration. Canada Post used Code 93 internally for package handling, and a handful of retail inventory systems still use it. If that is your constraint, print Code 93. Otherwise, pick Code 128.

Density, with numbers

Encode the 12-digit string 012345678905 in each.

  • Code 39. 12 characters plus start and stop is 14 symbol characters at 13 modules each (2:1 ratio, gap included), about 181 modules wide, or 224 at a 3:1 ratio.
  • Code 93. 12 characters x 9 modules, plus start, stop, two check digits and a termination bar, comes to about 145 modules, about 20% narrower.
  • Code 128 Set C. 6 symbol characters (numeric pairs) x 11 modules, plus start, check and stop, comes to about 101 modules, about 45% narrower than Code 39.

For pure-numeric payloads, Code 128 in Set C is in a different class of density. For alphanumeric payloads, Code 93 beats Code 39 and loses to Code 128 once the content includes lowercase.

Just pick one

Try it

More guides