✈️ ePassport MRZ Decoder
Decode and validate Machine Readable Zones (MRZ) per ICAO 9303. Supports TD1 (ID cards), TD2 (travel documents), and TD3 (passports).
Related Tools
What is the ePassport MRZ Decoder?
The ePassport MRZ Decoder is a free online tool that parses and validates Machine Readable Zones (MRZ) from passports, ID cards, and other travel documents per ICAO Document 9303. It automatically detects TD1, TD2, and TD3 formats, extracts all encoded fields (name, document number, nationality, dates), and validates every check digit using the standard weighted-sum modulo 10 algorithm.
- Paste or type the MRZ text from a passport or ID card into the input area (2 or 3 lines).
- Click "Decode MRZ" to parse the data.
- Review the extracted fields including name, document number, nationality, dates, and sex.
- Check the validation section to verify all check digits are correct (✅ or ❌).
What is an MRZ (Machine Readable Zone)?
An MRZ is a standardized text zone on passports and ID cards defined by ICAO Document 9303. It contains encoded personal data (name, nationality, document number, dates) in a machine-readable format using uppercase letters, digits, and filler characters (<).
What are the differences between TD1, TD2, and TD3?
TD1 is for ID cards (3 lines × 30 characters), TD2 is for older travel documents (2 lines × 36 characters), and TD3 is for passports (2 lines × 44 characters). All use the same check digit algorithm but differ in field layout.
How are MRZ check digits calculated?
Each character is assigned a numeric value (0-9 for digits, 10-35 for A-Z, 0 for filler <). Values are multiplied by repeating weights 7, 3, 1 and summed. The result modulo 10 gives a single check digit (0-9).