Barcode Sensei

Make a Code 39 barcode

Code 39 holds capital letters, digits and a few symbols, and is used on ID badges, in stock rooms and on car parts.

Make many Code 39 barcodes at once, from a list or a CSV file.

Capital letters, digits, spaces and - . $ / + %.

The narrowest bar's width. For a label printer's small labels, pick 0.25 mm: 2 dots at 203 dpi, about 3 at 300 dpi.

Looks right.

About Code 39

On ID badges, in stock rooms and on car parts you'll find Code 39, a barcode of capital letters and digits. It has 43 characters: the digits, the capital letters, the space and - . $ / + %, and no small letters. We take up to 80 of them. If a system you work with asks for Code 39, or Code 3 of 9 as it's also called, this is the page for it.

It comes in the same three sizes as Code 128, by the width of its narrowest bar: 0.25 mm for a label printer's small labels, 0.33 mm to start with, and 0.5 mm for a code read from further away. Each character takes more room than in Code 128: our sample, CODE 39, prints 54.12 by 29.37 mm at 0.33 mm, about as long as eleven characters of Code 128. Its quiet zone is 10 times the narrowest bar on each side.

Code 39 needs no check digit, as it checks itself. Each character is nine bars and spaces, three of them wide, and a smudge that changes one makes a pattern that's no character at all, so the scanner reads nothing rather than the wrong thing. Code 39 can also carry a check character, found by dividing by 43, for systems that ask for one. We don't add it.

The text under the bars starts and ends with an asterisk, the character that marks each end of every Code 39. A scanner doesn't send it, so what it reads is just what you typed.

Questions people ask

Why does Code 39 only take capital letters?

It has no small letters: its 43 characters are the digits, the capitals, the space and - . $ / + %. If you type a small letter, we ask for its capital.

Why are there asterisks around my Code 39 text?

Every Code 39 starts and ends with one, to show the scanner where the code begins and ends. They're printed under the bars, but a scanner doesn't send them.

Does Code 39 have a check digit?

Not here. Code 39 checks itself, character by character, so it doesn't need one. Some systems ask for an extra check character, found by dividing by 43, and ours don't carry it, so check what yours expects.

Should I use Code 39 or Code 128?

Use Code 39 where a system you work with asks for it. Otherwise Code 128 is shorter for the same text, and takes small letters and more symbols too.