100% Client-Side No data leaves your browser
📋 MRZ Input

Related Tools

🔐

ASN.1 Decoder

Decode ASN.1 structures and certificates

🔑

Key Block Decoder

Decode TR-31 key block formats

💳

EMV Tag Inspector

Decode EMV chip data and cryptograms

📖 About This Tool

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.

🛠️ How to Use
  1. Paste or type the MRZ text from a passport or ID card into the input area (2 or 3 lines).
  2. Click "Decode MRZ" to parse the data.
  3. Review the extracted fields including name, document number, nationality, dates, and sex.
  4. Check the validation section to verify all check digits are correct (✅ or ❌).
FAQ

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).