Skip to content
Validates a vehicle identification number against the ISO 3779 standard.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Vehicle Identification Number (VIN)

Validation function written in PHP. Validates against the ISO 3779 standard.



if (is_vin('1M8GDM9AXKP042788')) {
     echo 'valid';
} else {
     echo 'not valid';

This function will work for any US/Canadian automobile made after January 1st, 1980.

Tested with PHP 5.2.x however it should work with older versions.

Something went wrong with that request. Please try again.