Code 39 barcode generator
Turn text into a scannable Code 39 barcode, rendered as SVG.
Code 39 barcode generator
Paste any text and this tool draws it as a Code 39 barcode — also called "Code 3 of 9" — one of the oldest and most widely supported barcode formats. It's still a default choice for asset tags, warehouse labels, lab specimens and internal tracking numbers, precisely because almost every barcode scanner and label printer reads it without extra configuration.
Code 39 can only encode digits, uppercase letters A–Z, a space, and the symbols - . $ / + %. Turn on "Convert lowercase to uppercase" to fix mixed-case input automatically, since Code 39 has no lowercase letters of its own. If a character truly falls outside the set — an accented letter, an emoji, a comma — the tool names exactly which character and where it appears, so fixing the input takes one edit instead of guessing. "Add check character" appends an optional mod-43 checksum symbol for systems that expect one; leave it off for a plain, human-readable code. "One barcode per line" turns a pasted list into a batch of separate barcodes, handy for printing a sheet of asset tags in one pass.
Module width, bar height and the quiet zone (the blank margin scanners need on each side) are all adjustable, so the output fits a label template exactly. The result is drawn as SVG, which stays sharp at any print size, whether you're labeling a small component or a shipping crate.
Everything runs locally in your browser — no text or generated code is ever uploaded to a server, so it's safe to use with internal part numbers or other non-public identifiers. Copy the SVG markup, download it as a file, or send the output straight into another tool to keep working with it.