Skip to content

Code 39 Generator

The classic alphanumeric barcode for badges, parts and labels.

A–Z, 0–9, space and - . $ / + % (turn on Full ASCII for lowercase and other symbols), up to 60.

Units
mm
mm
Human-readable text
Rotation

SVG and PDF are vectors: sharp at any size, best for print.

Made in your browser. Nothing is uploaded.

More Barcode Tools

All tools

How to use the code 39 generator

Three steps, all in your browser.

  1. 1

    Enter your data

    Type or paste the number or text to encode. Errors are explained.

  2. 2

    Adjust the barcode

    Change the options if you need to. The preview updates as you type.

  3. 3

    Download

    Save the result and print it. Test a printed sample before a big run.

Code 39 Generator: what to know

Code 39, also called Code 3 of 9, is one of the oldest alphanumeric barcodes and still one of the most widely supported. Every character is made of nine elements, five bars and four spaces, three of which are wide. It encodes 43 characters: digits, capital letters, space and - . $ / + %, between asterisk start and stop characters.

Code 39 doesn't need a check digit, but an optional mod 43 check character adds protection against misreads, and some systems require it. The generator draws the asterisks for you; they aren't part of your data and scanners don't return them.

Because each character is wide, Code 39 makes longer barcodes than Code 128 for the same data. It remains the standard in some industries, such as US Department of Defense and automotive labelling, and on ID badges and older inventory systems that were set up for it.

Popular uses

  • Employee and visitor ID badges
  • Part numbers in manufacturing and the automotive industry
  • Labels for older inventory and library systems
  • Systems where a specification requires Code 39

Tips for the best result

  • Standard Code 39 has no lower case; use capitals, turn on Full ASCII (which your scanner must also support) or switch to Code 128.
  • Turn on the check character only if your scanner or software expects it.
  • Choose Code 128 for new systems: the same data is shorter and supports lower case.

Read how JustYourBarcode works and our privacy details. Numbers, pictures, CSV files and camera frames are processed in your browser and are never sent to our server. A barcode doesn't register a product number: retail UPC and EAN numbers come from GS1.

Frequently asked questions

43 characters: digits 0-9, capital letters A-Z, space and the symbols - . $ / + %. The asterisk is reserved as the start and stop character, which is why Code 39 text is often shown between asterisks.

Code 128 is shorter for the same data and supports lower case. Choose Code 39 when a system or standard asks for it, such as older inventory software, US Department of Defense marking or automotive labels, because almost every scanner reads it.

No. Barcodes are drawn in your browser, and camera frames, pictures and CSV files are processed on your device. Nothing is stored and nothing is sent to our server, and it's all gone when you close or reload the page.

No. A barcode is a picture of a number. Retail product numbers (GTINs such as UPC and EAN) are licensed from GS1, which links them to your company; making a barcode image here doesn't assign or register a number. Retailers and marketplaces may check numbers against GS1's records.

Yes. Every tool is free with no sign-up and no limits on use, including commercial use of the barcodes you make. Clearly labeled ads keep it that way.

Yes. The tools work in any modern browser on phones, tablets and computers, and the scanner uses your phone's camera.