Code 39 Technical Specification & Character Set
Developed in 1974 by Intermec (Dr. David Allais and Ray Stevens) and standardized under ISO/IEC 16388, Code 39 was the first barcode symbology capable of encoding both numbers and uppercase letters. Every character is composed of five bars and four spaces—nine modules total—where exactly three elements are wide and six are narrow. Because every valid character follows that fixed 3-of-9 parity, optical laser scanners validate symbol integrity on the fly, even on rough thermal tags or metal nameplates.
Supported 43-Character Set & Optional Modulo-43 Values
Standard Code 39 accepts 43 data characters plus the asterisk (*) delimiter used strictly to frame the start and end of a symbol. When an industry specification (such as healthcare HIBC or defense LOGMARS) requires an optional Modulo-43 check character, each character is mapped to its numeric index (0–42), summed, and divided by 43; the remainder becomes the appended check character.
| Character Group | Supported Characters | Mod-43 Index Range | Usage Notes |
|---|---|---|---|
| Digits (10) | 0 1 2 3 4 5 6 7 8 9 | 0 – 9 | Part numbers, serial IDs, bin numbers |
| Uppercase Letters (26) | A B C ... X Y Z | 10 – 35 | Lowercase input auto-maps to uppercase |
| Symbols (7) | - . [space] $ / + % | 36 – 42 | Delimiters inside SKUs (e.g., SKU-1042) |
| Start / Stop Guard | * (Asterisk) | Reserved | Automatically wrapped around output bars |
Code 39 vs. Code 128: Choosing the Right Linear Symbology
While Code 39 remains ubiquitous across military procurement (MIL-STD-1189 / LOGMARS), automotive manufacturing (AIAG), and asset management badges, its 9-module structure makes long codes significantly wider than Code 128 barcodes. Compare the two formats before finalizing your label layout:
| Specification | Code 39 (ISO 16388) | Code 128 (ISO 15417) |
|---|---|---|
| Character Set | 43 chars (0–9, A–Z, 7 symbols) | All 128 ASCII chars (a–z, A–Z, 0–9, control) |
| Spatial Density | Low–Medium (wide labels above ~15 chars) | High (double-density numeric Mode C) |
| Check Digit | Self-checking (Optional Mod-43) | Mandatory Modulo-103 checksum |
| Quiet Zone | 10× narrow bar width (min 6.4 mm) | 10× narrow bar width (min 6.4 mm) |
| Typical Applications | Automotive AIAG, Defense, Asset Tags | Shipping cartons, GS1-128, Courier labels |
Print Readiness & Quiet Zone Checklist
- Preserve Left & Right Quiet Zones: Leave blank background margin equal to at least 10× the narrow bar width on both ends of the symbol so laser sweeps synchronize before encountering the start asterisk.
- Keep Strings Concise: For labels narrower than 50 mm, keep Code 39 strings under 12–14 characters or switch to our Code 128 Generator.
- Print Batches in Seconds: Need dozens of SKU or bin labels? Upload a spreadsheet to the Bulk Barcode Generator or read our Code 128 vs Code 39 Warehouse Guide .


