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

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.

// Features

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

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.

// Anatomy

What a VIN Looks Like

A VIN has 17 characters in four parts. This example is a valid VIN with a correct check digit.

1HG
WMI1 to 3
CM826
VDS4 to 8
3
Check9
3A004352
VIS10 to 17
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.

// Samples

Sample VIN Numbers

Ten sample VINs, one per make. The check digit of each one is calculated, so every sample is valid.

MakeModel yearSample VINCheck digit
Ford20211FA6P8CF2MF1234562
Toyota20154T1BF1FK7FU6543217
Honda20201HGFC1F32LA0001232
BMW2019WBA8E5C53K09876543
Tesla20225YJ3E1EA5NF1237895
Chevrolet20181G1ZD5ST8J12345678
Volkswagen2023WVWZZZ1J3PM3456783
Hyundai2020KMHD84LFXLU456789X
Subaru20214S3BNAF67M05678907
Mazda2019JM1BP2VE7K06789017

These VINs are made up for testing. They are not registered to real vehicles.

// Check digit

How the VIN Check Digit Works

Position 9 is calculated from the other 16 characters. Here is the example VIN, step by step.

  1. 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.
  2. 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.
  3. Add all the products.
  4. Divide the sum by 11. The remainder is the check digit. A remainder of 10 is written as X.
Character1HGCM82633A004352
Value18734826331004352
Weight876543210098765432
Product856421516244600278002012154

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 VIN
// Barcodes

VIN Barcodes

Code 39 is the barcode type most often used to print a VIN as scannable bars.

1HGCM82633A004352

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.

// Testing

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.

// FAQ

Frequently Asked Questions

Everything you need to know about our random vin generator

Pick a manufacturer and a model year range, set how many VINs you want (up to 99), and press Generate. Each VIN has 17 characters, a manufacturer code and a calculated check digit. Copy the list or download it as text, CSV or JSON.

A sample VIN is a made-up VIN you can use for testing, demos or learning. It has the right format and a correct check digit, but it does not belong to a real vehicle. The page lists ten sample VINs, one per make.

1HGCM82633A004352 is a valid example. The first 3 characters (1HG) are the WMI, the next 5 (CM826) are the VDS, character 9 (3) is the check digit, and the last 8 (3A004352) are the VIS with the year code, plant code and serial number.

The check digit is character 9. It is calculated from the other 16 characters: each one becomes a number, is multiplied by a position weight, and the sum divided by 11 leaves a remainder. The remainder is the check digit, and 10 is written as X. It catches typing mistakes. The check digit is mandatory in North America and China. Many European VINs use another character at position 9.

No. The generator builds VINs from real manufacturer codes and the real VIN rules, but it picks the other characters at random. The VIN is well formed and can pass a check digit test, but it is not registered to a vehicle. Use generated VINs for testing only.

Yes. Paste a VIN into the validator under the tool. It shows if the length, characters and check digit are correct, the expected check digit when it is wrong, and the decoded parts. It runs in your browser and sends nothing to a server.

Those letters look too much like the numbers 1 and 0, so the North American VIN standard does not allow them. A VIN that contains I, O or Q is invalid.

Yes. Every result has a Code 39 barcode with a Download SVG button and a Download PNG button. You can also download the whole list as TXT, CSV or JSON.
// Pro Tips

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.