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.
Interactive barcode workbench
Code 39 Barcode Card
Encoded value: 1HGCM82633A004352
| 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 |
Barcode Generator · black-on-white print card.
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:
- Exact 17-character length: shorter or longer strings are refused with a clear character count message.
- Forbidden letters I, O, and Q: VINs never use I, O, or Q to prevent confusion with 1 and 0; any occurrence is rejected explicitly.
- Position 9 Modulo-11 check digit: letters are transliterated to numeric values (A=1..H=8, J=1..N=5, P=7, R=9, S=2..Z=9), multiplied by position weights [8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2], summed modulo 11 (remainder 10 becomes X), and verified against character 9.
- Optional automotive I-prefix: toggle Prepend automotive I-prefix when a dealership or OEM scanner expects the North American AIAG I-prefix inside the Code 39 bar stream while keeping the 17-character VIN readable below.
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.
Barcode workspaces in this studio
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.
- GS1 General Specifications — Modulo-10 check digit rules and quiet-zone standards for UPC-A, EAN-13, ITF-14, and GS1 Data Matrix.
- ISO/IEC 15438 (PDF417) & ISO/IEC 16022 (Data Matrix ECC 200) — GF(929) and GF(256) 0x12D Reed-Solomon error correction and symbol placement specifications.
- ISO 3779 / US 49 CFR Part 565 — 17-character Vehicle Identification Number (VIN) alphabet exclusions (I, O, Q) and position-9 Modulo-11 check digit.
- ISO 2108 & Bookland EAN-13 / EAN-5 — ISBN-10 Modulo-11 to 978 ISBN-13 conversion and 3/9 weighted EAN-5 price add-on parity table.
All barcodes are generated deterministically inside your browser tab. Always test-scan a physical label print on your target scanner hardware before mass production.