Make a Code 39 barcode
Type a part number, asset tag, or badge ID. Add a mod 43 check character if your system asks for one, and download the barcode at a label print size.
Free, no sign-up, no credit card. Codes never expire, and nothing you type is sent anywhere.
Capitals A to Z, digits, spaces, and - . $ / + %, up to 50 characters.
How to make a Code 39 barcode
- Type the code, such as PART-4821. Lowercase letters become capitals unless you turn on Full ASCII.
- Tick the mod 43 check character only if your scanner or system expects one.
- Choose the bar width. 0.25 mm suits most labels and badges.
- Select Test scan, then download a PNG, SVG, PDF, or EPS.
What to know
What Code 39 holds
Standard Code 39 has 43 characters, the capitals A to Z, the digits 0 to 9, the space, and - . $ / + %. A star (*) marks the start and end of every Code 39 barcode, so it can't be part of your text. Each character takes about 13 bar widths, so Code 39 is wider than Code 128 for the same text.
The mod 43 check character
- Each character has a value from 0 to 42 in the order 0–9, A–Z, then - . space $ / + %. The check character is the sum of the values, divided by 43, and the remainder looked up in the same list.
- For ABC-123: A 10 + B 11 + C 12 + - 36 + 1 + 2 + 3 = 75, and 75 mod 43 is 32, which is W. The barcode holds ABC-123W.
- Scanners send the check character along with your text unless they're set to check it and remove it, so turn it on only when your system expects it.
Full ASCII
Full ASCII writes each lowercase letter or other symbol as two Code 39 characters, so "a" is stored as +A and "@" as %V. A scanner reads it back as "a" only when its Full ASCII setting is on; otherwise it shows the pairs. This page reads every barcode back the way you chose before you download it.
Common problems
The scanner shows +A or %V instead of my lowercase letters
The barcode is Full ASCII, but the scanner reads standard Code 39. Turn on Full ASCII (sometimes called extended Code 39) in the scanner's settings, or make the barcode in capitals with Full ASCII off.
An extra letter or digit appears at the end of the scan
That's the mod 43 check character. Set the scanner to check and remove it, or make the barcode without one if your system doesn't need it.
The barcode is too wide for the label
Choose a smaller bar width, shorten the text, or switch to Code 128, which fits the same text in about a third less width.
Questions
When should I use Code 39 instead of Code 128?
Use Code 39 when a system, customer, or industry rule asks for it, as many parts, defence, and ID badge systems do. For your own new labels, Code 128 holds lowercase letters and makes narrower barcodes.
Can I use Code 39 for products in shops?
No. Shop tills expect EAN-13 or UPC-A with a GS1 number. Code 39 is for your own parts, assets, and badges.
Why are my lowercase letters printed as capitals?
Standard Code 39 has capitals only, so they're read as capitals too. Turn on Full ASCII to keep lowercase letters, but check that your scanner reads Full ASCII first.
Should the text under the bars show stars?
The stars mark the start and end of every Code 39 barcode and are drawn as bars, not as text. Some labels print them around the text, but scanners don't need them, so this page prints your text without them.
Do you see my codes?
No. Your codes are made in your browser. Nothing you type is sent anywhere.
You might also need
Code 128 barcode
Inventory, asset, and shipping labels with letters and digits.Bulk barcode generator
Up to 5,000 barcodes from a list, CSV, or Excel file.Barcode labels
Barcodes on Avery-compatible Letter and A4 label sheets.Barcode generator
Every common barcode type, checked and print-ready.Codabar barcode
Library, lab, and older-system barcodes with start and stop letters.