A vehicle identification number looks like a random string, but every position has a job. The layout comes from the ISO 3779 standard, which EU type-approval rules adopt, and it has been in general use since the early 1980s. Once you know it you can read the basics of any VIN without a database.
This guide uses WVWZZZ1JZXW000001, a number in the pattern Volkswagen uses for cars sold in Europe.
Positions 1 to 3: the manufacturer
The first three characters are the world manufacturer identifier, or WMI. The first character points to a region: S to Z are Europe, J to R are Asia, 1 to 5 are North America. The first two together identify a country, and the third narrows it down to one manufacturer and often to a type of vehicle.
WVW is Volkswagen passenger cars, registered in Germany. There is more in the guide to manufacturer codes.
Positions 4 to 9: the vehicle
These six characters describe the vehicle: model line, body, engine. The standard says only what kind of information belongs here. Each manufacturer decides how to use the positions, and may fill the ones it does not need with a character of its choice.
That is why so many European VINs contain runs of the same letter. In the example, positions 4 to 6 are ZZZ, which carry no meaning. Positions 7 and 8, 1J, are Volkswagen's code for the model. Position 9 is another filler.
Position 9 in North America
In the United States, Canada and Mexico, position 9 must be a check digit calculated from the other sixteen characters. Vehicles built for those markets always have one. European manufacturers are free to use the position as they like, so a European VIN will usually fail a check-digit test and still be perfectly genuine. The check digit guide shows the arithmetic.
Position 10: often the model year
The standard recommends putting the model year in position 10, and the United States requires it. X in the example means 1999. The same codes repeat every 30 years, so X will also mean 2029.
In Europe the position is optional. Volkswagen, Opel and Volvo use it for the year. Mercedes-Benz, on cars for European markets, uses it to show whether the car is left- or right-hand drive. If the character in position 10 gives an impossible year, trust the registration certificate. The model year table lists every code.
Position 11: usually the plant
A single letter or digit names the factory. W at Volkswagen is Wolfsburg. Plant codes belong to the manufacturer: the same letter at another company means a different place, or nothing at all.
Positions 12 to 17: the serial number
The last six characters are the production sequence. Together with everything before them they make the VIN unique. Small-volume manufacturers share a WMI ending in 9, and for them positions 12 to 14 are part of the manufacturer's identity.
What you will never see
The letters I, O and Q are not used anywhere in a VIN, because they are too easy to confuse with 1 and 0. If a number seems to contain one, it is a digit. A VIN is also always exactly 17 characters. A shorter number on an older vehicle follows the rules described in chassis numbers before the 17-character VIN.
To try this on a real number, use the decoder.