MRZ calculator

Generate machine-readable zones (ICAO 9303) and verify their check digits. Free to use, runs entirely in your browser.

Enter synthetic test data only. MRZ strings produced here are for development and scanner testing.
Document data
Result
P<USATEST<<JOHN<<QUINCY<<<<<<<<<<<<<<< P12345678USA7001154M2601154<<<<<<<<<<<<<<<<<<06

Check digits

FieldValueCheck
Press “Generate MRZ” to calculate.

Validate an existing MRZ

Paste two or three MRZ lines below and press Check. We recompute every check digit and highlight mismatches.