Random VIN Generator
Generate valid 17-character VINs with a correct ISO 3779 check digit. Choose make and model year, get up to 99 at once, see Code 39 barcodes, and export CSV or JSON.
About the Random VIN Generator
Generate valid 17-character VINs with a correct check digit, then break them down, validate them and export them.
What is it?
A VIN (Vehicle Identification Number) is the 17-character code that identifies one road vehicle. This tool generates random VINs that follow the ISO 3779 structure and the North American (49 CFR 565) rules: a manufacturer code (WMI) taken from a list of more than 80 makers, only allowed characters, a model year code and a calculated check digit. Use them as sample VINs for software testing, demos and learning. They are not tied to real vehicles.
How it works?
The generator picks a make and one of its WMI codes, then picks a model year in your range and writes the matching year code at position 10. It fills the remaining positions with random allowed characters (never I, O or Q). Last, it calculates the check digit for position 9 with the North American (49 CFR 565) weights. Every result shows its WMI, VDS, check digit and VIS, plus a Code 39 barcode you can download as SVG or PNG. You can copy the list or download it as text, CSV or JSON. The validator below the tool checks any VIN you paste, in your browser.
Key Features
Everything you need for perfect generation
80+ Manufacturers
Pick one make or let the tool choose. WMI codes come from real manufacturers.
Valid Check Digit
Position 9 is calculated with the North American (49 CFR 565) weights. Turn it off to get a random check digit.
VIN Breakdown
See the WMI, VDS, check digit, VIS, model year, plant and serial of every result.
Code 39 Barcodes
Every VIN has a barcode. Download it as SVG or PNG.
Text, CSV and JSON
Generate up to 99 VINs at once, then copy them or download them as TXT, CSV or JSON.
Built-in Validator
Paste any VIN to check its length, characters and check digit. Nothing leaves your browser.
Use Cases
Perfect for various applications and industries
Dealer Software
Fill inventory, trade-in and service forms with sample VINs that pass VIN checks.
Insurance QA
Test quote, policy and claim flows with VINs that follow the real format.
Fleet and DMS Testing
Load fleet tools and dealer management systems with up to 99 VINs in one CSV or JSON file.
Learning VIN Structure
Study the WMI, VDS and VIS, and try the check digit on VINs you generate or paste.
What a VIN Looks Like
A VIN has 17 characters in four parts. This example is a valid VIN with a correct check digit.
- World Manufacturer Identifier
- Positions 1 to 3. The first character shows the region or country of assembly. The next two identify the manufacturer.
- Vehicle Descriptor Section
- Positions 4 to 8. The maker uses these to describe the model, body style, engine and restraint system. Each maker has its own coding.
- Check digit
- Position 9. A calculated character, 0 to 9 or X, that catches typing mistakes. The check digit is mandatory in North America and China. Many European VINs use another character at position 9.
- Vehicle Identifier Section
- Positions 10 to 17. Position 10 is the model year code, position 11 is the assembly plant, and positions 12 to 17 are the serial number.
The letters I, O and Q are never used in a VIN, because they look too much like 1 and 0.
Sample VIN Numbers
Ten sample VINs, one per make. The check digit of each one is calculated, so every sample is valid.
| Make | Model year | Sample VIN | Check digit |
|---|---|---|---|
| Ford | 2021 | 1FA6P8CF2MF123456 | 2 |
| Toyota | 2015 | 4T1BF1FK7FU654321 | 7 |
| Honda | 2020 | 1HGFC1F32LA000123 | 2 |
| BMW | 2019 | WBA8E5C53K0987654 | 3 |
| Tesla | 2022 | 5YJ3E1EA5NF123789 | 5 |
| Chevrolet | 2018 | 1G1ZD5ST8J1234567 | 8 |
| Volkswagen | 2023 | WVWZZZ1J3PM345678 | 3 |
| Hyundai | 2020 | KMHD84LFXLU456789 | X |
| Subaru | 2021 | 4S3BNAF67M0567890 | 7 |
| Mazda | 2019 | JM1BP2VE7K0678901 | 7 |
These VINs are made up for testing. They are not registered to real vehicles.
How the VIN Check Digit Works
Position 9 is calculated from the other 16 characters. Here is the example VIN, step by step.
- Replace each letter with its number from the North American (49 CFR 565) table (A is 1, J is 1, S is 2, Z is 9). Digits keep their value.
- Multiply each value by the weight of its position. The weights are 8, 7, 6, 5, 4, 3, 2, 10, 0, 9, 8, 7, 6, 5, 4, 3, 2. Position 9 has weight 0.
- Add all the products.
- Divide the sum by 11. The remainder is the check digit. A remainder of 10 is written as X.
| Character | 1 | H | G | C | M | 8 | 2 | 6 | 3 | 3 | A | 0 | 0 | 4 | 3 | 5 | 2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Value | 1 | 8 | 7 | 3 | 4 | 8 | 2 | 6 | 3 | 3 | 1 | 0 | 0 | 4 | 3 | 5 | 2 |
| Weight | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 10 | 0 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 |
| Product | 8 | 56 | 42 | 15 | 16 | 24 | 4 | 60 | 0 | 27 | 8 | 0 | 0 | 20 | 12 | 15 | 4 |
Sum of products: 311. 311 divided by 11 leaves a remainder of 3. Character 9 of 1HGCM82633A004352 is 3, so the check digit is correct.
Read the full guide to decoding a VINVIN Barcodes
Code 39 is the barcode type most often used to print a VIN as scannable bars.
Code 39 draws each character as 5 bars and 4 spaces. Three of the nine elements are wide and six are narrow. A start and a stop character (*) frame the text, so a VIN needs 19 characters of bars.
You can find a VIN barcode on the certification label in the driver door jamb, on a window sticker, and on dealer inventory, shipping and service labels. Some makers print another type instead, such as Code 128 or a 2D code.
Every result in the generator has a Code 39 barcode. Download it as SVG for print or as PNG for slides and screenshots.
Who Uses Test VINs
Teams that handle VINs need realistic data that is not real.
Dealer software
Inventory, trade-in and service forms reject VINs that fail a format or check digit test. Valid sample VINs let you test the happy path.
Insurance QA
Quote, policy and claim flows decode the VIN. Test VINs keep real customer vehicles out of test environments.
DMS testing
A dealer management system needs many unique VINs. Generate up to 99 at a time and export CSV or JSON.
Fleet testing
Fleet and telematics tools match vehicles by VIN. Load a batch of sample VINs to test imports, search and reports.
Frequently Asked Questions
Everything you need to know about our random vin generator
Tips & Best Practices
Pro tips to get the most out of this generator
Pick the manufacturer
Choose a brand so the VIN's WMI prefix decodes to a plausible maker and country.
Set the model years
Use a preset year range or a custom window to match the vehicle era your test data expects.
Valid format, no real car
Keep check-digit validation on so VINs pass decoders β but they identify no actual vehicle. Test use only.
Related Generators
Tools closely related to this one. Explore more in the same category
Random IMEI
Generate valid IMEI numbers for mobile devices
Random SSN
Generate random US Social Security Numbers
Random Credit Card
Generate test credit card numbers for development
Random Gmail
Generate Gmail addresses that follow Gmail's username rules
Random Phone
Generate phone numbers in various international formats
Random Job
Discover career opportunities with random job selections
Related Articles
Guides and deep dives from our blog that feature this generator
How to Decode a VIN: What All 17 Characters and the Check Digit Mean
Learn to read any Vehicle Identification Number position by position: country and manufacturer codes, model year table, the check digit calculation with a worked example, free VIN lookups, and how to spot VIN cloning.
Using Random Generators to Create Test Data for Development
A practical guide for developers and QA engineers on generating realistic fake data for testing β user profiles, payment forms, addresses, and network configurations.