MRZ Toolkit

A tool for learning and testing machine-readable zones (MRZ): sample strings, structure checks and check digits. It does not create, issue or authenticate identity documents.

📝 Document Data
🛂 Passport
TD3 • 2×44
🪪 ID Card
TD1 • 3×30
📄 TD2
TD2 • 2×36
DD MM YYYY
DD MM YYYY
▼ Advanced
👁️ MRZ Preview (editable)
ℹ️ Edit MRZ directly or fill in the form — sync is automatic
⏳
Waiting for input
Enter or paste MRZ for verification
🕘 History (0) ▼
✅ MRZ Validator

Structure, checksum and format verification against ICAO 9303 standard

Supported formats: TD1 (ID Card), TD2, TD3 (Passport)
📜 Validation History (0)
▼
No saved validations
Processing Engine

Live MRZ Processing Engine

Automatic parsing, validation and ICAO 9303 compliance check

Document Data
Surname
Given Names
Document Number
Date of Birth
Sex
Expiry Date
Nationality
Issuing State
Type: PASSPORT
Surname
Given Names
Nationality
Date of Birth
Sex
Date of Expiry
Document No.
Machine Readable Zone
Check digits valid
ICAO 9303 format structure
Sample demonstration data
Process Pipeline

How MRZ Engine Works

Processing sample data: assembling MRZ strings and checking structure and check digits based on ICAO Doc 9303 formats.

01

Input Data

Document fields are normalized and mapped to ICAO field positions before assembly.

02

MRZ Build

Lines are generated per TD1/TD3 format templates with proper padding and filler chars.

03

Check Digits

Modulo 10 with 7-3-1 weighting computed and verified across all required positions.

04

ICAO Rules

Structure, line lengths, allowed character set and field semantics validated against spec.

05

Output Ready

The result can be used to test interfaces, MRZ parsers and OCR algorithms. It is not an identity document.

ICAO 9303 formats Check Digits Verified Browser-based generation Browser-stored history