A passport number validator checks whether a passport number matches the official format for the selected country — length, allowed characters, and structural pattern. Useful for form validation in travel booking systems, KYC workflows, and document verification pipelines. This tool validates format only and cannot confirm whether a passport is genuine or currently active.
FORMAT CHECK ONLY. This tool cannot verify if a passport is real, active, or unexpired. All validation runs locally in your browser — no data is sent to any server.
Validation Checks
Passport Details
Supported Country Formats
| Country | Format | Example |
|---|
How to Use the Passport Number Validator
A passport number validator checks whether a passport number conforms to the format rules defined by the issuing country. While passport numbers are used globally for identity verification, each country has its own numbering system with specific length requirements, allowed character types, and structural patterns. Validating these formats before data entry helps catch typos, prevent form submission errors, and build better KYC (Know Your Customer) workflows.
Step 1: Select the Issuing Country
Choose the country that issued the passport from the dropdown menu. This is critical because the format rules vary significantly between countries. For example, a US passport number is 9 digits, a Canadian passport is 2 letters followed by 6 digits, and a Chinese passport starts with E, G, D, P, or S followed by 8 digits. Selecting the wrong country will always return "invalid" even for a legitimately formatted number.
Step 2: Enter the Passport Number
Type or paste the passport number into the input field. The tool automatically converts to uppercase as you type. Do not include spaces or special characters — the validator accepts alphanumeric characters only, matching what appears in the passport's Machine Readable Zone (MRZ). The input is limited to 20 characters to match the maximum passport number length used by any country.
Step 3: Review the Validation Results
Validation runs automatically as you type (with a 300ms debounce). The result shows a pass/fail checklist with three checks: correct length for the country, correct character pattern (which positions must be letters vs. digits), and absence of obviously invalid characters. If all checks pass, the number format is valid for the selected country. If any check fails, the specific failing check is highlighted in red.
Understanding Passport Number Formats
Passport numbers do not contain personal information — they are sequential or random identifiers assigned by the issuing authority. The format rules visible in the reference table below are based on publicly documented standards. Note that some countries have updated their formats over time; if an older passport fails validation, it may use a legacy format that is no longer issued. The country format reference table shows the expected format pattern, where L = letter and N = digit.
FAQ
Does this tool verify if my passport is real or valid?
No. This tool validates FORMAT ONLY — it checks whether the number matches the expected pattern (length, character types, structure) for the selected country. It cannot verify if a passport actually exists, is active, has not expired, or belongs to a real person. For genuine passport verification, contact the issuing government authority.
Why do passport number formats differ by country?
Each country issues its own passport system with its own numbering scheme. Some use pure digits (US, UK), others use letter-digit combinations (Canada: 2 letters + 6 digits), and some include country-specific prefixes (China: E/G/D/P/S + 8 digits). There is no international standard for passport number format, unlike IBANs or ISSNs.
Is my passport number safe to enter here?
Yes. This tool runs entirely in your browser — no data is ever sent to any server or stored anywhere. The validation logic executes locally on your device using JavaScript. However, for safety, we recommend using this tool with test data only. Your passport number contains personally identifiable information.
What countries are supported?
The tool supports 20+ major countries including USA, UK, Canada, Australia, Germany, France, Japan, India, China, South Korea, Brazil, Mexico, Spain, Italy, Russia, UAE, South Africa, New Zealand, Sweden, and the Netherlands. The format rules are based on publicly available official passport issuance guidelines.
My passport number appears valid but the tool says invalid — why?
Some countries have changed their passport number formats over time (e.g., the US previously issued some passports with letter prefixes). If your passport was issued many years ago, it may use an older format. Additionally, some countries have regional variations or special-issue passports with different formats. Select your country and compare against the format description shown.
Is this tool free to use?
Yes, completely free. No account, signup, or payment is required. Use it as many times as you need.