Code 39 Generator
The classic alphanumeric barcode for badges, parts and labels.
A–Z, 0–9, space and - . $ / + % (turn on Full ASCII for lowercase and other symbols), up to 60.
SVG and PDF are vectors: sharp at any size, best for print.
Made in your browser. Nothing is uploaded.
More Barcode Tools
All tools- Barcode generatorMake UPC, EAN, Code 128 and 2D barcodes
- UPC barcode generatorUPC-A barcodes for US and Canadian retail
- EAN-13 barcode generatorEAN-13 barcodes for retail worldwide
- EAN-8 barcode generatorShort EAN-8 barcodes for small packs
- ISBN barcode generatorBookland EAN barcodes for book covers
- Barcode scannerScan barcodes with your camera
- GTIN validatorCheck a GTIN and see its GS1 prefix
- Code 128 generatorCode 128 for letters, numbers and symbols
- Design barcode generatorBarcodes with art in the bars, scan-checked
How to use the code 39 generator
Three steps, all in your browser.
- 1
Enter your data
Type or paste the number or text to encode. Errors are explained.
- 2
Adjust the barcode
Change the options if you need to. The preview updates as you type.
- 3
Download
Save the result and print it. Test a printed sample before a big run.
Code 39 Generator: what to know
Code 39, also called Code 3 of 9, is one of the oldest alphanumeric barcodes and still one of the most widely supported. Every character is made of nine elements, five bars and four spaces, three of which are wide. It encodes 43 characters: digits, capital letters, space and - . $ / + %, between asterisk start and stop characters.
Code 39 doesn't need a check digit, but an optional mod 43 check character adds protection against misreads, and some systems require it. The generator draws the asterisks for you; they aren't part of your data and scanners don't return them.
Because each character is wide, Code 39 makes longer barcodes than Code 128 for the same data. It remains the standard in some industries, such as US Department of Defense and automotive labelling, and on ID badges and older inventory systems that were set up for it.
Popular uses
- Employee and visitor ID badges
- Part numbers in manufacturing and the automotive industry
- Labels for older inventory and library systems
- Systems where a specification requires Code 39
Tips for the best result
- Standard Code 39 has no lower case; use capitals, turn on Full ASCII (which your scanner must also support) or switch to Code 128.
- Turn on the check character only if your scanner or software expects it.
- Choose Code 128 for new systems: the same data is shorter and supports lower case.
Read how JustYourBarcode works and our privacy details. Numbers, pictures, CSV files and camera frames are processed in your browser and are never sent to our server. A barcode doesn't register a product number: retail UPC and EAN numbers come from GS1.