Skip to content
StylQR home

Code 39 Barcode Generator

Create Code 39 barcodes for ID badges, part numbers and asset labels. Enter uppercase letters, digits and a few symbols, and download a barcode that almost any scanner can read.

  • Free & unlimited
  • Validated live
  • Print-ready SVG, PDF & PNG
  • Nothing uploaded
1

Enter your data

Checked live against the official rules for this barcode type.

Uppercase A–Z, digits 0–9, space and - . $ / + %

2

Design your barcode

Pick a label template or adjust size, text, colors and style.

Start from a template

One click styles the label. Your data and size stay as they are.

Check your data

Tap to preview

Preview & download

Loading barcode engine…

Format

Resolution

Print labels

A vector PDF filled with your barcode — print on label stock, stickers or plain paper.

Square cells with dashed cut guides; choose 2–6 columns.

Labels per row

What is Code 39?

Code 39 (also called Code 3 of 9) was one of the first alphanumeric barcodes, developed in 1974. Each character has nine elements — five bars and four spaces — three of which are wide, which is where the name comes from.

It encodes 43 characters: uppercase A–Z, digits 0–9, space and - . $ / + %. Every barcode starts and ends with an asterisk (*), added automatically. Code 39 Extended combines pairs of characters to cover full ASCII, at the cost of length.

Code 39 is self-checking, so a check digit is optional; when used it is modulo 43. Because each character is wide, Code 39 barcodes are longer than Code 128 for the same data.

Specification

Code 39 at a glance

Type
Linear (1D), discrete, self-checking
Characters
A–Z, 0–9, space and - . $ / + % (43 characters)
Length
Variable
Check digit
Optional modulo 43
Nominal bar width
0.19 mm minimum; 0.33 mm default
Wide-to-narrow ratio
2:1 to 3:1 (3:1 recommended)
Quiet zone
10 modules each side
Standard
ISO/IEC 16388

How to create a Code 39 barcode

Four steps from data to a print-ready file.

  1. 1

    Step 1

    Enter your Code 39 data. Uppercase A–Z, digits 0–9, space and - . $ / + %

  2. 2

    Step 2

    Check the live validation — check digits are added for you and any problem is explained in plain words.

  3. 3

    Step 3

    Pick a label template or adjust bar width, height, text, colours and style. The printed size updates as you go.

  4. 4

    Step 4

    Press Test scan, then download a PNG at up to 1200 DPI, vector SVG or PDF — or print it on label sheets.

Built for people who print barcodes

Details most barcode generators charge for — all free in the studio above.

  • Check digits, fixed for you

    Type 12 digits and the EAN-13 check digit is added. Type a wrong one and you get the correct digit with a one-click fix.

  • Frames & label templates

    Banners, tickets, hang tags, shelf prices, coupons and more — ready-made labels that never cover the bars.

  • Sized in millimetres

    Set the bar width and height and see the finished printed size update live, in mm or inches.

  • Crisp at any DPI

    PNG at 300, 600 or 1200 DPI with every bar a whole number of pixels, plus vector SVG and exact-size PDF.

  • Scanner-safe colours

    Warnings for red bars laser scanners cannot see, low contrast, thin bars and tight quiet zones.

  • GS1 helper

    Insert Application Identifiers like GTIN, expiry, batch and serial with one click — validated by the official rules.

  • Avery label sheets

    Fill Avery 5160, L7160 and 22805 sheets, sticker sheets or a label grid with one click.

  • Save, open & share

    Keep a barcode as a design file, reopen it later, share a link, and undo or redo any change.

Where Code 39 is used

Real-world applications for this symbology.

  • ID badges & cards

    Employee and student badges, membership cards and access cards.

  • Automotive

    Part labels to the AIAG B-1 standard used by automotive suppliers.

  • Defence

    US Department of Defense LOGMARS labels for military supplies.

  • Healthcare

    HIBC labels on medical devices and older hospital systems.

  • Asset tracking

    Simple asset tags read by legacy scanners and software.

Printing Code 39 that scans first time

Small details that make the difference between a code people ignore and one they scan.

  • Lowercase letters are not part of standard Code 39 — use Code 39 Extended or, better, Code 128.

  • Keep the barcode short; every character adds about 13–16 modules of width.

  • Turn on the modulo-43 check digit only if your scanner or software expects it, or it will appear as an extra character.

  • The asterisks are start/stop characters; you do not need to type them.

Code 39 questions, answered

Why can’t I use lowercase letters?

Standard Code 39 only defines uppercase letters. Code 39 Extended encodes lowercase using two characters each, or you can switch to Code 128.

Does Code 39 need a check digit?

No. It is self-checking, so a check digit is optional. Some industry standards require the modulo-43 check digit; turn it on only if yours does.

What do the asterisks mean?

They are the start and stop characters that every Code 39 barcode must have. They are added automatically and often shown in the text.

Is Code 39 still used?

Yes, in automotive, defence, healthcare and many ID systems. For new projects Code 128 is usually a better choice because it is shorter.

Every other barcode type

Retail, logistics, 2D, healthcare and postal symbologies — validated with the official rules and ready to print.

The barcodes people make most.