Create a Code 39 Barcode for Asset Tags and IDs

Make a Code 39 barcode from capital letters, digits and - . $ / + %. The start and stop characters are added for you, and lowercase letters become capitals.

  • Free, no sign-up
  • Start and stop added
  • Up to 200 in one ZIP
  • Made in your browser

1Enter the text

Capital letters, digits, space and - . $ / + %, up to 40 characters.

Your barcode

What gets encoded, character by character

Size and style options

Bars are always black, because scanners need strong contrast. The standard white margin is part of the barcode: leave it on unless you are placing the image in your own layout with space around it. For retail print, choose Extra tall to keep GS1's proportions.

Make many at once

Put one value on each line. It uses the barcode type and options chosen above and downloads one ZIP with a file for every line (up to 200 lines).

Barcode type for this list: Code 39

The 43 characters of Code 39

Code 39 can hold the digits 0 to 9, the capital letters A to Z, the space and six symbols: - . $ / + %. That's 43 characters, and this page takes up to 40 of them. Lowercase letters are turned into capitals, because standard Code 39 has none.

Full ASCII Code 39 adds lowercase and other characters by pairing two symbols for each, but the scanner must be set up to read it that way, and this page doesn't make it. For lowercase, use the Code 128 generator.

Start and stop characters

Every Code 39 barcode begins and ends with a * symbol, which tells the scanner where the data starts and stops. It's added for you, and the scanner doesn't return it. Each character is made of 9 bars and spaces, 3 of them wide, which is why Code 39 is also called "Code 3 of 9". In this generator a wide element is 3 times a narrow one, so each character with its gap is 16 modules wide.

Does Code 39 need a check digit?

Usually not. Code 39 is self-checking: a misread bar produces a pattern that isn't a valid character, so the scanner rejects it. Some systems still ask for an optional mod 43 check character at the end, and this page doesn't add one. If your system requires it, use its exact rule, or switch to Code 128, which always carries a check character.

Code 39 or Code 128?

Code 39 and Code 128 compared
Code 39Code 128
Characters43: capitals, digits, space, - . $ / + %All printable characters, upper and lower case
Width per character here16 modules11 modules, or 2 digits in 11 modules
Check characterOptional (not added here)Always included
Choose it whenA system, label standard or customer asks for Code 39You control the labels and the scanner

The breakdown under the preview shows how wide your text is in both.

Where Code 39 is used

Code 39 is one of the oldest barcodes still in daily use. It has long been used for asset tags, ID badges and inventory, in the car industry (AIAG labels), by the US Department of Defense (LOGMARS) and in healthcare (HIBC). It needs a white margin of at least 10 modules on each side, which the Standard margin here gives you.

Frequently asked questions

Is this Code 39 barcode generator free?

Yes, with no sign-up, no watermark and no limit. Nobody issues Code 39 values, so you choose the text.

Which characters can Code 39 hold?

43 characters: A to Z, 0 to 9, space and - . $ / + %. The * is reserved for the start and stop. This page takes up to 40 characters.

Why are there asterisks around my text?

Every Code 39 barcode starts and ends with a * character, so scanners know where it begins. They're added for you and aren't returned by the scanner.

Why did my lowercase letters become capitals?

Standard Code 39 has no lowercase. Full ASCII Code 39 encodes lowercase as pairs of characters, but the scanner must be set up for it, and this page doesn't make it. For lowercase, use Code 128.

Does Code 39 have a check digit?

It doesn't need one: each character's pattern checks itself. Some systems add an optional mod 43 check character; this page doesn't. If your system requires one, ask for its exact rule, or use Code 128, which always has a check character.

Should I use Code 39 or Code 128?

Code 128 is shorter for the same text, handles lowercase and always carries a check character. Choose Code 39 when a system, label standard or customer asks for it.

Where is Code 39 used?

It has long been used for asset tags, ID badges and inventory, in the car industry (AIAG labels), by the US Department of Defense (LOGMARS) and in healthcare (HIBC).

Do I need to register a Code 39 barcode?

No. You choose the text and nobody registers it.

More on barcodes