Code 39 Barcode Generator
Code 39 is the older alphanumeric barcode still used in automotive, defence and industrial labelling. Generate one below — the tool converts input to capitals automatically, since Code 39 only encodes them.
Enter a value to see the barcode.
What Code 39 encodes
Code 39 encodes capital letters A–Z, digits 0–9, the space, and the symbols - . $ / + %.
Every value is wrapped in a start/stop asterisk (*) when printed; the asterisks are part of
the symbology, not part of your data, so do not type them. There is no check digit in basic Code 39 —
some systems add an optional modulo-43 check character, but it is not universal, so this tool does not add
one. If a customer specification requires the modulo-43 check, agree the exact rule with them first.
When to use Code 39 — and when not to
Code 39 survives because it is simple, widely supported by old scanners, and specified by name in some automotive and US Department of Defense labelling standards. For anything new, Code 128 is better: it is roughly twice as dense, encodes lower-case letters, and is the default on modern warehouse systems. Choose Code 39 when a customer, a legacy scanner, or a written specification requires it — not by default. For retail products use EAN-13 or UPC-A; for warehouse codes use Code 128.
Printing
Code 39 is a wide symbology: each character takes 9 elements plus a gap, so the same data prints roughly one and a half times as wide as in Code 128. Keep the narrow bar at 0.33 mm or wider, keep the wide-to-narrow ratio around 2.5:1 (the default here), and leave a quiet zone of at least 10 narrow bars on each side.
Related
Frequently asked questions
Why did my text change to capital letters?
Code 39 only encodes capital letters. Lower-case input is converted automatically; the barcode is the same either way.
Do I need to type the asterisks?
No. The * start/stop characters are part of the symbology and are added when the barcode is drawn. Typing them yourself would encode them as data.
Does Code 39 have a check digit?
Not by default. An optional modulo-43 check character exists, but it is not universal. If your customer requires it, confirm the exact rule with them — do not assume.
Code 39 or Code 128 — which should I choose?
Code 128 for anything new: denser, and it handles lower-case and punctuation. Code 39 only when a specification, customer or legacy scanner demands it.