VIN Barcode Generator With Check Digit
Make a VIN barcode for free: type the 17-character vehicle identification number, and the generator checks its characters and the position 9 check digit under 49 CFR Part 565, shows the model year and the parts of the VIN, then draws it in Code 39, Code 128, Data Matrix or a QR Code.
106.6 × 19.4 mm at 300 DPI
Scaled to fit. Actual size shows the print size on screen.
Print simulationNew
Shows how a worn print looks and tests it with the decoder.
Blue bars: the start, center and end guard patterns. Downloads stay in your chosen colors.
- Type
- Code 39 · 1D
- Print size
- 106.6 × 19.4 mm
- Raster
- 1292 × 236 px
- Modules
- GS1 prefix
- Read back
Parts of the VIN
| Positions | Here | What it is |
|---|---|---|
| 1–3 | 1G4 | Manufacturer identifier, assigned through SAE International. |
| 4–8 | AH59H | Vehicle attributes, coded by the manufacturer (for cars: make, line, series, body, engine, restraints). |
| 9 | 4 | Check digit, correct. |
| 10 | 5 | Model year: 2005 (position 7 is a digit; for cars and light trucks). |
| 11 | G | Plant of manufacture, coded by the manufacturer. |
| 12–17 | 118341 | Production sequence number. |
Check digit calculation
| Position | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Character | 1 | G | 4 | A | H | 5 | 9 | H | · | 5 | G | 1 | 1 | 8 | 3 | 4 | 1 |
| Value | 1 | 7 | 4 | 1 | 8 | 5 | 9 | 8 | · | 5 | 7 | 1 | 1 | 8 | 3 | 4 | 1 |
| Weight | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 10 | 0 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 |
| Product | 8 | 49 | 24 | 5 | 32 | 15 | 18 | 80 | 0 | 45 | 56 | 7 | 6 | 40 | 12 | 12 | 2 |
Sum 411; 411 ÷ 11 leaves 4, so the check digit is 4.
The check confirms the structure of the number only. It does not show that a vehicle with this VIN exists, and the barcode does not register or certify anything.
Download
Vector drawing, 106.6 × 19.4 mm. Design and label programs place it at its print size.
More export optionsNewTest sheet · size set · embed code
Print test sheet (PDF)
The code at 80%, 100% and 150% with 100 mm and 4 in rulers. Print it at actual size and scan each copy before printing many.
Size set (ZIP)
Magnification
DPI
Embed code
How to Make a VIN Barcode
Type the VIN, fix what the check reports, choose a barcode type and download the file.
- Type or paste the 17 characters into the VIN field; spaces, dashes and lowercase letters are cleaned up.
- Read the check: a wrong character or a check digit that does not match is named, with the digit the calculation gives.
- Choose Code 39, Code 128, Data Matrix or a QR Code, and the size and quiet zone.
- Download the SVG, PNG, WebP, JPEG, PDF or EPS file, and scan a print before you use it.
Barcode Types for a VIN
All four types the generator offers hold every VIN character; pick the one the label or system you print for asks for.
Vehicle labels follow industry and customer specifications that this page does not reproduce. Use the barcode type and size your specification names, and scan a test print with the reader it will meet.
Linear Barcodes
- Code 39: capital letters and digits, one symbol character each; the tool's default for a VIN.
- Code 128: a shorter symbol for the same 17 characters.
2D Barcodes
- Data Matrix: a small square that suits narrow spaces such as a door label.
- QR Code: read by phone cameras as well as scanners.
What the 17 Characters of a VIN Mean
49 CFR Part 565 splits a VIN into four sections: the manufacturer identifier, the vehicle attributes, the check digit and the vehicle identifier with the model year, plant and production number.
| Positions | Section | What It Holds |
|---|---|---|
| 1–3 | Manufacturer identifier | Assigned through SAE International; a 9 in position 3 means positions 12–14 complete it |
| 4–8 | Vehicle attributes | For cars: make, line, series, body type, engine type and restraint devices, coded by the manufacturer |
| 9 | Check digit | 0–9 or X, calculated from the other 16 characters |
| 10 | Model year | A code from Table VII |
| 11 | Plant | The plant of manufacture |
| 12–17 | Production number | Assigned in sequence by the manufacturer |
A VIN uses the digits 0–9 and the letters A–Z except I, O and Q. The make and model behind positions 4–8 come from the manufacturer's own data; NHTSA's free VIN decoder at vpic.nhtsa.dot.gov reads them, and this page does not.
VIN Year Codes
Position 10 repeats every 30 years. For cars and for trucks and multipurpose vehicles of 10,000 lb GVWR or less, a digit in position 7 means 1980–2009 and a letter means 2010–2039.
| Code | Position 7 Is a Digit | Position 7 Is a Letter |
|---|---|---|
| A | 1980 | 2010 |
| B | 1981 | 2011 |
| C | 1982 | 2012 |
| D | 1983 | 2013 |
| E | 1984 | 2014 |
| F | 1985 | 2015 |
| G | 1986 | 2016 |
| H | 1987 | 2017 |
| J | 1988 | 2018 |
| K | 1989 | 2019 |
| L | 1990 | 2020 |
| M | 1991 | 2021 |
| N | 1992 | 2022 |
| P | 1993 | 2023 |
| R | 1994 | 2024 |
| S | 1995 | 2025 |
| T | 1996 | 2026 |
| V | 1997 | 2027 |
| W | 1998 | 2028 |
| X | 1999 | 2029 |
| Y | 2000 | 2030 |
| 1 | 2001 | 2031 |
| 2 | 2002 | 2032 |
| 3 | 2003 | 2033 |
| 4 | 2004 | 2034 |
| 5 | 2005 | 2035 |
| 6 | 2006 | 2036 |
| 7 | 2007 | 2037 |
| 8 | 2008 | 2038 |
| 9 | 2009 | 2039 |
How the VIN Check Digit Works
The check digit in position 9 catches typing mistakes: each character gets a value and a weight, the products are added, and the remainder after dividing by 11 is the check digit, with 10 written as X.
- Give each digit its own value and each letter the value of Table III (A = 1, B = 2, … J = 1, … S = 2, … Z = 9).
- Multiply each value by the weight of its position: 8, 7, 6, 5, 4, 3, 2, 10, then 0 for position 9, then 9, 8, 7, 6, 5, 4, 3, 2.
- Add the products and divide the sum by 11.
- The remainder is the check digit; a remainder of 10 is written X.
In the regulation's own example, 1G4AH59H45G118341, the products add up to 411, and 411 ÷ 11 leaves 4, the digit in position 9. The tool shows the same table for any VIN you type.
Scanning a VIN Barcode
A phone or laptop camera reads a VIN printed in Code 39, Code 128, Data Matrix or a QR Code with the barcode scanner, which shows the 17 characters it holds.
Paste what the scanner read into the VIN field above to check its characters and check digit. If a scan returns more or fewer than 17 characters, the label holds other data as well; the check names what does not fit a VIN.
Barcode scanner reads a VIN label with a camera or a USB scanner and shows the exact text.
Frequently Asked Questions
What Is a VIN Barcode?
It is a barcode that holds a vehicle's 17-character identification number, so a scanner can read it without typing. The VIN itself is set by the manufacturer under 49 CFR Part 565 in the United States.
Which Barcode Type Is Used for a VIN?
This page names none, because vehicle labels follow industry and customer specifications it does not reproduce. Code 39, Code 128, Data Matrix and QR Code all hold every VIN character, so use the one your specification names.
Why Does a VIN Have No I, O or Q?
49 CFR 565.13 leaves them out of the character set, and they are easy to confuse with 1 and 0. The tool names the position of such a letter and suggests the digit.
What Does an X in Position 9 Mean?
It is the check digit for a remainder of 10. The sum of the weighted values divided by 11 left 10, and the regulation writes that as X.
Can This Page Tell Me the Make and Model?
No. It checks the structure, the check digit and the model year code, but the make, model and engine behind positions 4–8 come from the manufacturer's data. NHTSA's free VIN decoder at vpic.nhtsa.dot.gov reads those.
Does Every VIN Have a Check Digit?
49 CFR Part 565 requires one in position 9 for vehicles sold in the United States. This page does not cover other countries' rules; for a VIN without a valid check digit, the tool draws the barcode only after you tick the box.
Related Barcode Tools
- Code 39 barcode generator
Any Code 39 text, with every setting.
- Barcode scanner
Read a VIN label with a camera.
- Barcode label generator
VIN barcodes on label sheets as a PDF.
- Data Matrix generator
Small square 2D codes for any text.
- Check digit calculator
GS1 and other check digits, step by step.