QR Code Generator
Text or a link in, a QR code PNG out.
Generate a Code 39 barcode from text or a number. It redraws as you type and downloads as an SVG that scales to any print size. Your browser encodes the uppercase letters, digits and few symbols that Code 39 allows.
Your browser is preparing the tool. It runs 100% locally.
Type a line of text and the tool draws a Code 39 barcode (the widely supported 1-D symbology also called Code 3 of 9) and lets you download it as an SVG. Code 39 carries the digits 0 to 9, uppercase A to Z and the symbols hyphen, period, space, dollar, slash, plus and percent, wrapping your text in the * start and stop characters. The output is vector, so it stays sharp at any size.
Enter a part number, asset tag or label text and the barcode redraws instantly underneath, with the human-readable text printed below the bars. Lowercase is converted to uppercase and any unsupported character is dropped, because standard Code 39 only carries 43 symbols. Download gives you an SVG file.
Code 39 is 'discrete' and 'self-checking': every character is encoded on its own from five bars and four spaces, three of which are wide. Even basic scanners read that structure easily, which is why Code 39 has been used for asset tags, ID badges and warehouse labels for decades.
Each character maps to a fixed nine-element pattern of five bars and four spaces, with exactly three of the nine wide (hence '3 of 9'). The tool draws narrow elements two pixels wide and wide elements three times that, a 3:1 ratio at the top of the 2:1 to 3:1 range the standard allows, which makes scanning more forgiving.
Your text is framed with the * start and stop characters, characters are separated by a one-unit gap, and the whole symbol is emitted as inline SVG. Because SVG is vector, you can drop the file into a label template and scale it without the bars turning fuzzy.
| Symbology | Code 39 (Code 3 of 9), ISO/IEC 16388 |
|---|---|
| Character set | 0 to 9, A to Z, space, hyphen . dollar / plus % (43 symbols) |
| Start/stop | * (added automatically) |
| Structure | 9 elements per character: 5 bars, 4 spaces, 3 wide |
| Bar ratio | 3:1 wide-to-narrow (narrow bar 2 px) |
| Bar height | 80 px |
| Check digit | None (the optional mod-43 check is not added) |
| Output | SVG (vector), with human-readable text below |
| Where it runs | In your browser, nothing uploaded |
No check digit is added. Code 39 is self-checking at the character level, so many systems do not need one. If your scanner or standard (LOGMARS, HIBC) expects the mod-43 check character, though, this output will not include it.
Uppercase only. Type lowercase and it is converted; characters outside the 43-symbol set are silently dropped. Lowercase or the full ASCII range needs the Full ASCII extension, which this tool does not implement.
Code 39 is low-density. Each character takes a fair amount of width, so long values produce wide barcodes. For more data in less space, Code 128 or numeric EAN/UPC pack tighter; this tool only makes Code 39.
Leave a quiet zone (a clear margin of at least ten narrow-bar widths) on each side, and do not shrink the height too far, or scanners may miss it. The SVG is just the symbol plus its text.
It encodes exactly what you type; it does not look a value up or check it against any database. A barcode is a label, not proof that the code is registered anywhere.
Label equipment, shelves or files with a code the scanners you already own understand.
Print a Code 39 stripe on staff or visitor badges for quick, reliable scanning.
Turn SKUs or part numbers into scannable labels without registering them anywhere.
Add a scannable reference to a printed form so it can be filed or routed by machine.
Selling at retail? Those barcodes are EAN-13 or UPC, issued through GS1. Need more data in less width, or lowercase? Code 128 is denser. Want a 2-D code for a URL? Use the QR code generator.
Encodes standard Code 39 per ISO/IEC 16388 (uppercase, the 43-character set, no check digit) as vector SVG, generated in your browser.
Text or a link in, a QR code PNG out.
Count up with laps or count down from any number of minutes.
Notes that auto-save on this device, with a .txt download.
Length, weight and volume, converted as you type.
Paste a list of names and draw a winner at random.
Use the countdown timer for work and break blocks.
It's free, it needs no account, and it runs on this device.