Free Code 39 Generator

Code 39 — also called Code 3 of 9 — is the alphanumeric industrial favorite of automotive plants, defense contractors and warehouses. This generator renders fully spec-compliant symbols with optional check digit support.

How to generate a Code 39 barcode

  1. 1Open the generator and choose Code 39.
  2. 2Type uppercase letters, digits and - . $ / + % space. Lowercase is not supported — we auto-uppercase for you where safe.
  3. 3Export SVG for shop-floor labels or PNG for quick proofing.

Code 39 (AIM Code 39, ISO/IEC 16388) encodes uppercase A–Z, digits 0–9, and the symbols - . $ / + % and space. Each character is made of 9 elements — 5 bars and 4 spaces — of which 3 are wide, hence “3 of 9”. It is self-checking character-by-character, which made it popular before mandatory checksums existed. Code 39 is the LOGMARS standard for US Department of Defense item marking and the default for many manufacturing floors, though its lower density means longer barcodes than Code 128 or Code 93.

Code 39 — technical specifications

Standard
AIM Code 39, ISO/IEC 16388
Character set
A–Z, 0–9, - . $ / + % and space
Checksum
None required (self-checking); optional Mod-43
Length
Variable
Best for
Automotive, defense/LOGMARS, inventory, work orders

Where Code 39 is used

  • Automotive parts marking (AIAG standards)
  • US DoD LOGMARS item identification plates
  • Warehouse bin location and rack labels
  • Work-order and shop-floor travelers
  • Healthcare non-vented asset tags

Code 39 — Frequently Asked Questions

Why is it called Code 3 of 9?
Each character has 9 elements (5 bars + 4 spaces), exactly 3 of which are wide. 3 of 9 → Code 39.
Can Code 39 encode lowercase letters?
Standard Code 39 cannot. Extended Code 39 can, but most scanners expect the base set. Stick to uppercase A–Z, 0–9 and - . $ / + % space.
Does Code 39 have a check digit?
The base symbology is self-checking, so no checksum is required. Applications that need one use Mod-43 — this tool focuses on spec-clean standard output.
Code 39 vs Code 128 — which should I use?
Use Code 128 for dense numeric/alphanumeric data and modern logistics. Use Code 39 when your scanners or customer specifications require it (automotive and defense typically do).
Is this barcode generator really free?
Yes — no account, no signup, no subscription, no watermark. Every symbology here is free to download as SVG or PNG, with no scan limits.
Can I use these barcodes commercially?
Yes. All barcodes are free for commercial, retail, packaging and personal use with zero royalties or licensing restrictions.
Do generated barcodes ever expire?
No. A barcode is just an image — once it is printed, it works forever. Static generation means the pattern never depends on any server or subscription.
How do I print a barcode that scans properly?
Keep the quiet zone clear on both sides, print dark bars on a light background at 300+ DPI, and keep the symbol at least 80% of nominal size. Scan a test print before your full run.
What size should my barcode be?
EAN/UPC minimum is 80% of nominal (about 30 × 20 mm); 100% is recommended. QR needs at least 20 × 20 mm. Smaller codes still scan if your printer is razor sharp — test first.
What is a check digit?
A mathematically derived extra digit that lets scanners detect misreads. Modulo-10 (EAN/UPC), Mod-103 (Code 128) and Mod-47 (Code 39/93) are calculated automatically here.
Can I scan the barcode on my phone?
Yes. Any modern phone camera reads QR and most 1D symbologies. For 1D codes on poor prints, a dedicated imager scanner is more forgiving — test on the target device.
Does my data leave my browser?
No. All rendering happens locally with SVG/canvas. Your serials, SKUs, Wi-Fi passwords and contacts are never transmitted or logged.
What's the difference between SVG and PNG?
SVG is a lossless mathematical vector format — scales to any size without pixelation. PNG is a raster image — use 300+ DPI for print. For packaging or signage, choose SVG.
Can I print on adhesive label paper?
Yes. Export PNG or SVG, import into your label software (Avery, Bartender, NiceLabel — anything) or print directly with our bulk label sheet grid as an A4 proofing base.
Will this barcode work with any scanner?
Symbology compliance ensures decoder compatibility: any compliant Code 128, EAN-13, UPC-A, QR etc. read on any standards-compliant scanner — handheld, fixed-mount or phone camera.