Code 39 Barcode Generator

Samples are for testing the tool only.

When Code 39 Still Fits

Code 39 is an older, simple format. Use it when your scanner software, a customer or an existing system asks for it. For a new internal system, compare it with Code 128 first. Neither replaces a retail UPC.

How to Use the Code 39 Barcode Generator

Type your value, up to 40 characters. Lowercase letters are changed to capitals. Download SVG or PNG.

Characters Code 39 Can Hold

Group Characters
Letters A to Z, capitals only
Digits 0 to 9
Symbols space, hyphen, period, dollar, slash, plus, percent

Start and Stop Asterisks

Every Code 39 symbol begins and ends with an asterisk pattern. It tells the scanner where to start. Don’t type asterisks yourself.

The Optional Check Character

Basic Code 39 has no required check character. Some systems add one under their own rules. This tool makes the basic form, so ask your system owner before printing if they expect a check character.

Code 39 or Code 128?

Code 39 is wider for the same text. The preview shows both widths side by side. If your system accepts either, Code 128 saves label space. All types are listed in our barcode maker.

Printing

Keep the blank margin at both ends, print black on white and test with the scanner that will be used. If a label fails, try these scanning fixes.

Width Compared With Code 128

Widths include both margins, counted in modules.

Value Code 39 Code 128
A1 84 77
BIN-0042 180 132
PART-000123 228 154
WAREHOUSE-A-BIN-42 340 253

An 18-character value needs 340 modules in Code 39. At 0.330 mm per module that is about 112 mm, which won’t fit many small labels.

Keep Values Short

Use a compact scheme, such as a two-letter type code and a number. Put the long description in your records. If you can’t shorten the value and you control the system, test Code 128 instead.

Moving Between Systems

Before changing format, check three things:

  1. Can every scanner in use read the new type?
  2. Does any software expect capitals only?
  3. Do old labels need to keep working during the change?

Run both label types side by side until the old stock is gone.

Code 39 FAQs

Can Code 39 hold lowercase letters?

Not in its basic form. This tool converts them to capitals.

Should I type the asterisks?

No. They are added in the bars.

Do I need a check character?

Only if your system asks for one.

Why is it so wide?

Each character uses more bars than in Code 128.

Which should I choose?

Use whatever your system requires. If you’re free to choose, Code 128 is shorter.

Can the scanner read the asterisks as data?

Normally it strips them. If they appear in your system, check the scanner’s setup.