What Is a Code-39 Barcode?
Code 39, also called Code 3 of 9, is one of the oldest barcodes that can hold letters and digits. It is still common on ID badges, automotive parts, defense labels (LOGMARS) and in many older inventory systems. Almost every barcode scanner can read it.
Each character is made of nine bars and spaces, three of which are wide, which is where the name comes from. Start and stop asterisks are added automatically. Code 39 is self-checking, so a check character is optional; if you turn it on, a modulo 43 character is added. It is wider than Code 128 for the same data.
What Data Can Code-39 Hold?
Uppercase A-Z, digits 0-9, space and the symbols - . $ / + %. Lowercase is not allowed, so we offer to convert it to uppercase or switch to Code 39 Full ASCII; the modulo 43 check character is optional.
Recommended Size
Keep a quiet zone of at least 10 times the narrowest bar on each side. Code 39 gets long quickly, so keep the data short; an X-dimension of about 0.25 mm to 0.5 mm suits most labels.
Why Code 39 Prints Well on Simple Printers
Code 39 is a discrete symbology: each character stands alone and is separated from the next by a small gap that carries no data. That gap can vary slightly without breaking the read, which is why Code 39 tolerates dot-matrix, inkjet and older thermal printers better than continuous codes. The ratio between wide and narrow elements is typically between 2:1 and 3:1; a higher ratio is easier for scanners to tell apart.
The symbology is standardized in ISO/IEC 16388.
Industries That Still Specify Code 39
- US defense logistics, through the LOGMARS labeling rules.
- Automotive parts labels based on AIAG guidelines.
- Healthcare products as HIBC LIC 39.
- Employee ID badges and access cards in systems built around keyboard-wedge scanners.
More Linear Codes barcodes
How to Create a Barcode in 3 Steps
Choose a barcode type
Select a category on the left (e.g. Linear Codes), then the exact type like Code-128.
Enter data & customise
Type your data — we check it live and add check digits. Adjust size, font and colors.
Download or print
Get PNG, JPG, SVG, PDF or EPS, or print a full sheet of labels in one click.
Why Use QRCodeChamp Barcode Generator
125+ barcode types
Linear, 2D, GS1, postal, healthcare and payment codes.
Live validation
Friendly errors with one-click fixes and automatic check digits.
Print-ready PDF
Exact mm sizes, label sheets (Avery, A4, 4×6 thermal).
Bulk barcodes
Paste a list or generate number sequences.
Choose the Type of Barcode You Need
Not sure which barcode to use? Start with what you need it for — we’ll pick the right type.
Code-39 FAQs
Standard Code 39 only has uppercase letters. Convert your text to uppercase, or use Code 39 Full ASCII, which encodes lowercase by combining two characters.
No. The * start and stop characters are added automatically, so type only your data.
Only if your scanner or software expects it. Code 39 is self-checking without it, and a scanner that is not set up for it will send the extra character as part of the data.
Code 39 uses more space per character than Code 128. Shorten the data, or switch to Code 128 if your system allows it.
Each character has a value from 0 to 42 (digits, then letters, then the symbols). Add the values of all data characters, divide by 43, and the remainder points to the check character.
Yes. Code 3 of 9 and 3 of 9 Code are older names for the same symbology, referring to the three wide elements out of nine in every character.
