Code 39 Barcode Generator
Make a Code 39 barcode from capital letters, digits, space and the symbols - . $ / + %, with or without its modulo 43 check character, and save it as SVG, PDF or PNG, without the text leaving your device.
How to make a Code 39 barcode
Type the text
This page opens on Code 39. Type the text in capital letters and without asterisks: the tool adds the start and stop characters itself and shows them as asterisks in the text under the bars, such as
*SHELF-24*. A typed asterisk or a lowercase letter gets the message "Use uppercase letters, digits, spaces, or - . $ / + % for Code 39."Add the check character if you need it
Turn on Add modulo 43 check character only if the system that reads the barcode expects one. It is off when the page opens.
Set the size and download
Type the X-dimension and bar height, then save the barcode as SVG, PDF or PNG.
Which barcode type suits your use: the barcode generator. How every symbol is tested: how it works.
What Code 39 can hold
Code 39 encodes 43 characters: the digits 0 to 9, the capital letters A to Z, space and the six symbols - . $ / + %. It is a discrete, self-checking symbology of variable length: each character is drawn on its own, with a gap between characters, and its bar pattern checks itself. Use it where the system that reads your labels expects Code 39; for new labels with no such rule, Code 128 holds more characters, lowercase letters included.
Code 39 has no lowercase letters. A variant called Code 39 Extended can encode all 128 ASCII characters; this tool does not make it.
The modulo 43 check character
Code 39 does not need a check character, but some systems ask for one. Turn on Add modulo 43 check character and the tool calculates it, with modulo 43, from the other characters, adds it to the barcode and prints it at the end of the text under the bars: SHELF-24 becomes SHELF-248. Type the text without a check character of your own, or the tool adds a second one. Turn the option on only when the system that reads your labels expects it, since a reader set up the other way may refuse the scan. When in doubt, ask whoever set up that system.
Frequently asked questions
Do I need a Code 39 font?
No. This page draws the whole barcode as an image, start and stop characters included, so there is nothing to install in Word or Excel. Paste the image or place the SVG in your document.
Can Code 39 encode lowercase letters?
Not in standard Code 39, which has capital letters only. Use Code 128 for mixed-case text.
What is the Code 39 check digit?
An optional character, worked out with modulo 43 from the other characters, that lets a reader confirm the scan. Add it only when the reading system expects it.
Why is my Code 39 barcode too wide for the label?
A Code 39 barcode grows with every character. Lower the X-dimension or shorten the text, then print a test copy and scan it.
Is the text uploaded?
No. The barcode is drawn in your browser and the text never leaves your device. Google Analytics and Microsoft Clarity count visits on this site; your text is never sent to them.