MRZ Calculator

MRZ Scanner

Upload a photo or scan of a passport / ID and extract the Machine Readable Zone. Parsing and validation happen entirely in your browser — nothing is uploaded to any server.

Drag & drop an image here, or click below to choose a file.

Supported: TD1 (ID cards) · TD2 · TD3 (passports) · MRV-A / MRV-B (visas)

Exclusive Offers

IDKET COUPON

Save on cheapest template marketplace

Use this coupon at checkout to get 10% off any purchase.

MRZCAL
Visit IDket.net
VERIFAA COUPON

Discount for biggest template hub

Use this coupon at checkout to get 10% off any purchase.

MRZCAL
Visit Verifaa.com

About this tool

The MRZ Scanner uses on-device OCR with an MRZ-tuned Tesseract model to read the Machine Readable Zone from a photo or scan of a passport, ID card, residence permit or visa. Images are auto-rotated, contrast-normalized and cropped to the MRZ area before recognition. The extracted MRZ is then parsed and validated against ICAO Doc 9303 — including every field-level and composite check digit.

For best results, use a sharp, straight-on image with good lighting where the two or three MRZ lines at the bottom of the document are fully visible and not cropped.

Everything runs locally in your browser. Your document image never leaves your device.