Skip to main content

Free Code 39 Barcode Generator

Create rugged Code 39 (Code 3 of 9) industrial barcodes for automotive tags, asset tracking, and warehouse bins instantly. Export scalable SVG vectors, 300 DPI PNGs, or printable PDF label sheets locally in your browser.

Supports uppercase letters, numbers, and some symbols. Widely used in automotive/military.

Provide numeric digits or alphanumeric ASCII values matching the selected symbology.

Prints human-readable characters below bars
Fix input to renderCODE39
Encoded Barcode Value
1234567890
Printable A4 Label Sheet (PDF)
Commercial GS1 & ANSI print output. Zero data leaves your browser.

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 GroupSupported CharactersMod-43 Index RangeUsage Notes
Digits (10)0 1 2 3 4 5 6 7 8 90 – 9Part numbers, serial IDs, bin numbers
Uppercase Letters (26)A B C ... X Y Z10 – 35Lowercase input auto-maps to uppercase
Symbols (7)- . [space] $ / + %36 – 42Delimiters inside SKUs (e.g., SKU-1042)
Start / Stop Guard* (Asterisk)ReservedAutomatically 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:

SpecificationCode 39 (ISO 16388)Code 128 (ISO 15417)
Character Set43 chars (0–9, A–Z, 7 symbols)All 128 ASCII chars (a–z, A–Z, 0–9, control)
Spatial DensityLow–Medium (wide labels above ~15 chars)High (double-density numeric Mode C)
Check DigitSelf-checking (Optional Mod-43)Mandatory Modulo-103 checksum
Quiet Zone10× narrow bar width (min 6.4 mm)10× narrow bar width (min 6.4 mm)
Typical ApplicationsAutomotive AIAG, Defense, Asset TagsShipping 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 .

Frequently Asked Questions

Standard Code 39 (ISO/IEC 16388) supports 43 characters: uppercase letters A through Z (26), digits 0 through 9 (10), and seven special characters (-, ., space, $, /, +, %). The asterisk (*) is reserved exclusively as the start and stop delimiter and is added automatically by barcode encoders.

Each character in a Code 39 symbol consists of 9 elements (5 bars and 4 spaces), and exactly 3 of those 9 elements are wide while the remaining 6 are narrow. This self-checking 3-of-9 geometry lets scanners detect single printing defects immediately.

Choose Code 39 when working with legacy automotive (AIAG), defense (LOGMARS), or healthcare (HIBC) systems that explicitly mandate Code 39, or when your labels only need short uppercase IDs. Choose Code 128 if you need lowercase letters, full 128-character ASCII, or higher spatial density on narrow labels.

Standard Code 39 does not mandate a check digit because its 3-of-9 pattern is inherently self-checking. However, high-security applications such as HIBC healthcare or specific defense specs optionally append a Modulo-43 check character calculated from the character value table.

Yes. Code 39 is an open, non-proprietary symbology with no GS1 licensing fee required for internal asset tags, SKU shelving, or industrial routing labels. All SVGs, PNGs, and printable label sheets generated here are 100% free and watermark-free.

Explore Related Generators & Utilities

Discover other free tools designed to simplify your inventory and marketing workflows.