Passport Number Validator
Check whether text is a valid passport number as you type it, right in your browser, without sending it anywhere.
Input
Output
No value
Guide
What is a passport number?
A passport number is the document number of a passport. It's printed on the photo page and repeated in the two machine-readable lines at the bottom. The number belongs to the booklet, not to the person, so a new passport gets a new number. Each country picks its own format of up to nine letters and digits: nine digits in the United Kingdom, two letters and seven digits in Japan, two digits, two letters and five digits in France.
Airlines, travel agencies, hotels and visa forms ask for it. A format check catches a missing character or a letter typed where a digit belongs.
Tool description
Type or paste a number into the Passport number field, and the result shows as you type: "Passport number is valid" or "Passport number is not valid". Spaces anywhere in the number are ignored, and small letters count as capitals, so it doesn't matter how you copy it.
The Country menu has no Any country entry, so pick the country that issued the passport. It starts on the country that goes with the language you're reading the page in, where the list has it, and on the United States otherwise.
Formats by country
- Nine digits: the United Kingdom, Russia, Denmark and Croatia
- A letter and seven digits,
A9999999: Australia, Austria and Switzerland - A letter and eight digits,
A99999999: Türkiye, Mexico and Iran - Two letters and seven digits,
AA9999999: Japan, Poland, Finland and Greece - The United States: nine digits, or a letter and eight digits
- Germany: nine characters, each a digit or one of the consonants C, F to H, J to N, P, R, T and V to Z
- France:
99AA99999 - India:
A9999999, with or without a hyphen after the letter
Formats overlap: nine digits fit the United Kingdom, Russia and the United States alike. So a pass means the number has the right shape for the country you picked, not that the passport came from there.
Good to know
- The check looks at the format only. It can't tell whether a passport exists, who holds it or whether it has expired.
- The rules for the Philippines and Mozambique check only part of the number, so a valid number with extra characters before or after it can still pass.
- Use the page on your own passport number or on test data, never on someone else's documents. For the number on a national identity card, use the ID Card Number Validator.
Features
- Passport number formats of countries on every inhabited continent
- Spaces and small letters are fine
- Starts on the country of your language where it can
- Results as you type, with no button to press
- Runs in your browser, so nothing you type is sent anywhere