Free Code 39 Barcode Generator

Use this free Code 39 barcode generator to create a Code 39 barcode in seconds. Enter a supported value, review the preview, then download your barcode as a PNG, SVG or PDF.

Barcode
Enter a Code 39 value and download PNG, SVG, or PDF.

Enter a value and press Generate to preview your barcode.

Email me my barcode

Your barcode will be sent to the address you enter below.

Change barcode format?

Barcode formats use different value rules. Changing the format will clear the current barcode value.

Which format should I choose?

  • EAN-13 — International retail products
  • UPC-A — Retail products primarily for the US and Canada
  • Code 128 — Stock, warehouse, shipping, or internal labels
  • Code 39 — Asset and industrial systems that require Code 39
  • QR Code — Links and other digital text

Barcode Safe creates barcode images but does not issue or assign official retail product numbers.

What is a Code 39 barcode?

Code 39 is a widely used one-dimensional barcode format. You may also see it called Code 3 of 9. It is common in inventory control, asset identification, industrial workflows, and internal tracking where broad scanner compatibility is more important than maximum data density.

Compared with Code 128, Code 39 is less compact for many values, but it remains popular because it is simple and broadly supported by scanners, printers, and legacy systems.

In practical terms, Code 39 is often used when teams need a barcode that is predictable, readable, and easy to integrate with existing hardware. If your workflow uses older scanner fleets or mixed device environments, this compatibility can matter more than symbol size.

The tradeoff is space: longer values can produce a wider barcode than Code 128. For labels with limited print area, test both formats with your scanner and final label dimensions before choosing a standard.

How to create a Code 39 barcode

  1. Enter a supported value.
  2. Review the generated barcode preview.
  3. Download your barcode as PNG, SVG or PDF.
  4. Test the barcode with the scanner and workflow you intend to use.

This process is intentionally simple so teams can move quickly from value entry to tested output. You can iterate in seconds, which is useful when comparing print sizes, scanner distances, and label materials.

Supported Code 39 characters

Standard Code 39 supports:

  • Uppercase letters A-Z
  • Numbers 0-9
  • Space
  • Hyphen -
  • Full stop .
  • Dollar sign $
  • Forward slash /
  • Plus sign +
  • Percent sign %

Lowercase letters and additional symbols are outside standard Code 39. Those require Code 39 Full ASCII (Extended Code 39), which uses a different encoding approach.

If your data source includes lowercase values, punctuation outside the standard set, or accented characters, normalise those values before generation or use a format designed for a broader character range.

Keeping values within a documented character policy also helps operations teams avoid scan failures caused by inconsistent source data.

Code 39 versus Code 128

Code 39 is often chosen when simplicity and broad compatibility are the priority. Code 128 usually creates a more compact barcode and supports a wider character range, which can help when label space is limited or mixed-content values are needed.

  • Code 39: straightforward, widely supported, easy to standardise for internal identifiers.
  • Code 128: denser output for many values and broader character support.
  • Decision rule: choose the format your receiving system expects first, then optimise for label size.

The best option depends on the receiving system and scanner setup. If you need more flexibility, use the general barcode generator to compare formats with your own sample data.

For many teams, the winning format is the one that reduces downstream exceptions. A slightly larger symbol that scans consistently in real operations can be more valuable than a compact symbol that requires scanner tuning.

When Code 39 is a good fit

Code 39 is a practical option for asset labels, maintenance tags, warehouse location labels, internal product identifiers, and manufacturing workflows that depend on established scanner compatibility.

It is also useful when implementation speed matters. Teams can often adopt Code 39 quickly because many systems, handheld scanners, and desktop label printers support it out of the box.

If you are defining a new process, document value rules early: approved characters, maximum length, naming patterns, and test procedures. Clear rules reduce relabelling work and prevent data entry drift as usage grows.

Barcode quality guidance

  • Keep barcode dimensions large enough for your scanner distance and print method.
  • Preserve quiet zones around the barcode so scanners can detect start and stop boundaries.
  • Do not stretch or distort downloaded images.
  • Use SVG or PDF when you need clean scaling for print workflows.
  • Always test your final printed barcode in the real scanner workflow before release.

Scan performance depends on label material, printer quality, and scanner configuration.

For print workflows, run a short validation pass before large label batches: print samples at expected sizes, scan from realistic distances, and test across multiple devices when possible. This step catches contrast and sizing issues early.

If barcodes are used outdoors, in cold storage, or on textured surfaces, test in those real conditions. Environmental factors can affect readability even when a barcode appears visually correct.

Common mistakes to avoid

  • Using lowercase letters in values intended for standard Code 39.
  • Compressing or stretching a barcode image to fit a layout.
  • Printing too small for the scanner type and working distance.
  • Skipping final scan tests on the exact printer and label stock used in production.
  • Assuming one scanner result guarantees performance across all receiving systems.

Avoiding these issues improves first-pass scan rates and reduces costly relabelling after deployment.

Save and manage barcodes

Keep generating for free on this page, then create a free Barcode Safe account when you want to store and organise your barcodes in one secure online library.

Depending on your plan, Barcode Safe supports saving barcodes, organising them with categories and groups, maintaining associated barcode data, importing and exporting barcode data, and downloading barcode files when needed.

This is useful when ad-hoc generation turns into repeat operational work. Teams can keep one source of truth for values, file assets, and context so replacement labels and audits are faster.

Start with the free on-page generator for immediate output, then move into your account workflow when you need ongoing barcode management across products, locations, or shared team processes.

Create your free account

Code 39 barcode generator FAQs

What is a Code 39 barcode?

Code 39 is a widely supported one-dimensional barcode format, also called Code 3 of 9. It is commonly used for inventory labels, asset identification, industrial workflows, and internal tracking.

Is Code 39 free to use?

Yes. Code 39 is a public barcode symbology and does not require a licensing fee to generate or use.

What characters can a Code 39 barcode contain?

Standard Code 39 supports uppercase letters A-Z, numbers 0-9, space, hyphen (-), full stop (.), dollar sign ($), forward slash (/), plus sign (+), and percent sign (%).

Can Code 39 contain lowercase letters?

Not in standard Code 39. Lowercase letters require Code 39 Full ASCII (also called Extended Code 39), which is a different character mapping.

Does Code 39 require a check digit?

Standard Code 39 can use an optional Modulo 43 check character. This generator encodes the value you enter, so include that character in your value when your receiving system requires it.

What is the difference between Code 39 and Code 128?

Code 39 is simple and widely supported, while Code 128 is usually more compact and supports a broader character range. The right choice depends on your scanner and system requirements.

Can I download a Code 39 barcode as PNG, SVG or PDF?

Yes. Use the generator above to create your barcode and download it as PNG, SVG, or PDF.

Do I need an account to create a Code 39 barcode?

No. You can generate and download Code 39 barcodes without signing up. Create an account only if you want to save and organise barcodes in your library.