Professional Code Generator

Free Code 39 Barcode Generator Online

Generate scalable Code 39 SVG barcodes with adjustable width, height, readable text, and optional Mod 43 checksum. Test scanner compatibility.

Generate • Copy • Download
Code 39 supports A–Z, 0–9, space, and - . $ / + %.
Tip: Complete the required fields, review the selected options, and click Generate. The result panel will not move or update while you type.

Review generated output before using it in a live account, website, printed label, database, or production workflow.

Generator Tool Guide
Reviewed August 7, 2026: This guide was checked against the visible controls, actual browser-side method, output behavior, examples, security or quality considerations, and limitations of the Barcode Generator.

What Is a Code 39 Barcode Generator and How Does It Work?

A Code 39 barcode generator converts supported letters, digits, and symbols into a one-dimensional sequence of narrow and wide bars and spaces. This page creates a scalable SVG barcode in the browser, adds the required start and stop characters internally, and can append an optional Mod 43 checksum.

Code 39 is widely recognized in industrial, inventory, and identification workflows, but it is not interchangeable with UPC, EAN, Code 128, GS1 DataMatrix, or other barcode systems. Confirm the exact symbology required by the receiving scanner and database.

How to Generate a Code 39 Barcode Online

  1. Enter a supported barcode value.
  2. Choose the bar width for the narrow element.
  3. Choose the bar height.
  4. Enable readable text when people must verify the encoded value visually.
  5. Enable the Mod 43 checksum only when the target system expects it.
  6. Generate and download the SVG, then print and scan a production sample.

The asterisk is reserved for Code 39 start and stop markers and should not be entered as data. The generator adds those markers automatically.

Which Characters Does Code 39 Support?

The full Code 39 alphabet supported by this page includes uppercase A–Z, digits 0–9, space, hyphen, period, dollar sign, slash, plus sign, and percent sign. Lowercase input is converted to uppercase for encoding.

Supported data: A–Z, 0–9, space, - . $ / + %

If the intended identifier contains lowercase text, accented characters, arbitrary Unicode, or a larger symbol set, use a symbology designed for that data rather than silently changing the identifier.

How Do Bar Width, Height, and Quiet Zones Affect Scanning?

The bar-width setting controls the narrow element, while wide elements are drawn at a fixed ratio relative to it. Increasing width can help low-resolution printing but also increases the total barcode length. Height improves the scanner’s vertical target area but does not add data capacity.

A quiet zone of blank space is required at both ends. The SVG includes internal margins, but the final design must not crop them or place borders, text, or graphics directly against the barcode.

What Is the Code 39 Mod 43 Checksum?

The optional Mod 43 checksum assigns a value to each supported character, adds those values, and appends the character represented by the remainder after division by 43. A receiving system must be configured to expect and validate that extra character.

Check character index = sum(character values) mod 43

Do not enable a checksum merely because it sounds safer. A mismatched scanner or database may treat the check character as ordinary data or reject the barcode.

Does a Generated Barcode Guarantee Scanner Compatibility?

No. Scanner settings, print density, optical resolution, contrast, physical size, quiet zones, surface curvature, material, glare, damage, and the expected symbology all affect performance. The same SVG can scan well on one label printer and poorly after scaling or rasterization in another workflow.

Test the exact exported file, printer, label stock, scanner, distance, and software configuration used in production.

Common Barcode Generation and Scanning Problems

  • Unsupported character: Restrict the value to the Code 39 alphabet.
  • Barcode is too wide: Shorten the identifier or choose a narrower supported bar width.
  • Scanner adds an extra character: Check whether Mod 43 is enabled and expected.
  • Printed bars blur together: Increase module width or improve printer resolution.
  • Code will not scan: Preserve quiet zones, strong contrast, and correct physical dimensions.
  • Database mismatch: Confirm uppercase conversion and the exact human-readable value.

Code 39 Barcode Example

For an inventory identifier such as PRODUCT-2026-001, the generator converts the value to uppercase, verifies that every character belongs to the Code 39 alphabet, adds start and stop markers, and draws the narrow and wide elements as SVG rectangles.

Displayed data: PRODUCT-2026-001 · Encoded structure: *PRODUCT-2026-001*

The start and stop asterisks are part of the symbology and are not normally displayed as user data.

Limitations of This Barcode Generator

This page generates Code 39 only. It does not create UPC, EAN, ISBN, Code 128, ITF, GS1-128, Data Matrix, PDF417, or regulated product identifiers. It does not issue company prefixes, product numbers, or database records.

The output is a technical graphic, not certification that a label meets industry, retail, healthcare, shipping, or government requirements. Obtain the correct identifier and verification process from the relevant organization.

Official Barcode Standards and Identification Resources

These references describe Code 39 and broader barcode identification requirements.

Frequently Asked Questions About Barcode Generator

It creates Code 39 barcodes as scalable SVG files.
Use uppercase A–Z, digits 0–9, space, hyphen, period, dollar sign, slash, plus sign, and percent sign. Lowercase input is converted to uppercase.
No. The generator adds Code 39 start and stop markers automatically, and the asterisk is reserved.
It appends a check character calculated from the encoded data. Enable it only when the receiving scanner and application expect Code 39 Mod 43.
Code 39 is relatively low-density. Long values and larger bar widths produce very wide symbols. Shorten the identifier or choose a denser symbology when permitted.
SVG is scalable, but excessive shrinking can make narrow bars too small for the printer or scanner. Preserve aspect ratio and test the final physical size.
No. UPC and EAN use different symbologies and number-allocation rules. Use an appropriate standards-compliant workflow for retail products.
Screen previews cannot reproduce every printer, material, scanner, lighting, scaling, or software condition. Validate a production sample before deployment.