Free · 100% browser-side · zero server upload

Code 39 & 17-Character VIN Barcode Generator

Generate standard Code 39, Full ASCII Code 39, optional Mod-43 check-character barcodes, and ISO 3779 / 49 CFR 565 compliant 17-character vehicle VIN barcodes.

Standard & Full ASCII Code 39Optional Mod-43 check digit17-char VIN Mod-11 checkOptional automotive I-prefix

Interactive barcode workbench

Rejects I, O, and Q; verifies ninth-position Mod-11 check digit.

Warns automatically if foreground/background contrast drops under 4.5:1.

Barcode preview and diagnostics

17-char VIN barcode

1HGCM82633A004352

Scanner contrast: 17.74:1 (WCAG AA compliant)

  • Format: 17-Char VIN (Code 39)
  • Position 9 check digit: 3 valid (sum 311 mod 11)
  • WMI / VDS / VIS: 1HG / CM8263 / 3A004352
  • Encoded barcode data: 1HGCM82633A004352

All encoding, check-digit calculation, SVG vector drawing, and PNG rasterization run locally in this tab. Share links keep settings after the hash, which browsers never send to a server.

Standard Code 39, Full ASCII, and Mod-43 check characters

Code 39 (ISO/IEC 16388, also called Code 3 of 9) is a self-checking industrial symbology widely used on automotive nameplates, defense logistics (MIL-STD-1189 / LOGMARS), warehouse bins, and tool cribs. Standard Code 39 encodes 43 characters: digits 0–9, uppercase A–Z, space, and - . $ / + %, wrapped inside asterisk start and stop guards.

Switch Mode to Full ASCII Code 39 when you need lowercase letters or full ASCII 0–127 punctuation: each extended character is automatically encoded using standard $, %, /, or + shift pairs. Checking Append Mod-43 check character sums the ISO/IEC 16388 symbol values (0 through 42), takes the remainder modulo 43, and appends the check character before the closing asterisk while printing the exact arithmetic in the diagnostic card.

17-Character VIN barcode rules (ISO 3779 / 49 CFR 565)

In 17-Character VIN mode, this generator validates every passenger and commercial Vehicle Identification Number against ISO 3779 and US 49 CFR Part 565 before rendering bars:

Frequently asked questions

Why are the letters I, O, and Q rejected in VIN mode?

Under ISO 3779 and US 49 CFR 565, the letters I, O, and Q are prohibited anywhere in a 17-character VIN because they closely resemble the digits 1 and 0 on stamped plates and title documents.

How is the ninth-position VIN check digit verified?

Each character is converted to its numeric transliteration value and multiplied by position weights 8, 7, 6, 5, 4, 3, 2, 10, 0, 9, 8, 7, 6, 5, 4, 3, 2. Dividing the sum by 11 gives the expected ninth character (with remainder 10 represented as X).

When should I turn on the automotive I-prefix for a VIN barcode?

Some North American dealership and automotive plant scanners expect Code 39 VIN labels to encode an uppercase I directly ahead of the 17-character VIN inside the bars while displaying the 17-character VIN beneath. Leave it off for standard plain-VIN Code 39 scanning.

Should Mod-43 be enabled on a VIN barcode?

No. Automotive 17-character VIN barcodes already carry an internal Modulo-11 check digit at position 9 and are printed in standard Code 39 without an extra Mod-43 trailing character. Use Mod-43 on non-VIN industrial or warehouse Code 39 tags when required by your scanner profile.

Every workspace shares the same pure TypeScript encoders and scanner-safe contrast rules, with dedicated controls for 2D codes, label sheets, spreadsheets, VINs, and books.

Specifications & standards

All bar/space tables, error-correction polynomials, and check-digit formulas are implemented directly from published ISO/IEC, GS1, and federal standards.

All barcodes are generated deterministically inside your browser tab. Always test-scan a physical label print on your target scanner hardware before mass production.

Put this calculator on your site

Embed this calculator

Copy the snippet into any page. The widget is free, needs no key and sends nothing until a visitor interacts with it.

Open widget view