How Passport MRZ Scanning Works (And Why It's Faster Than Typing)

What the Machine-Readable Zone is, how phones extract it, and why DocFila's MRZ scanner cuts ID capture from 90 seconds to 2.

What the MRZ is

The Machine-Readable Zone is the two- or three-line block of OCR-B-font characters at the bottom of a passport, ID card, or visa. It encodes name, document number, nationality, date of birth, expiry date, and a check digit per field — designed to be read by a scanner at an airport in under a second.

Why phone OCR can read it instantly

OCR-B is a font designed for reliable optical recognition. Modern phones can OCR an MRZ field in real-time camera preview — DocFila highlights the MRZ in the viewfinder, parses it on-device, and pre-fills the user's record with name, DOB, doc number, and expiry.

KYC and onboarding speedup

If you're onboarding users, replacing 'type your name, type your DOB, type your passport number' with 'point your camera at your passport' cuts onboarding abandonment by ~30% in our customer cohort. DocFila's MRZ scanner is available as an embeddable SDK on Business.

Try DocFila free

Scan, sign, and notarize on any device. Free forever for individuals.

Start Free