Free tool

Free Passport MRZ Scanner Online: Read Passports to Excel

Passport MRZ scanner online: scan a passport from a photo or camera to get the name, passport number, dates and CNIC, checked against every check digit.

  • Nothing uploaded
  • 5 free scans a day
  • Excel, CSV, PDF, JSON

Scan a passport MRZ

Photo or camera. Read and checked in your browser, never uploaded.

5 of 5 free scans left today

Your images stay on this device. The page downloads the OCR engine once, then reads the passport locally. Close the tab and everything is gone. The MRZ parser is open source on GitHub, so you can check the code yourself.

A passport MRZ scanner reads the two lines of 44 characters at the bottom of a passport photo page and turns them into clean data: name, passport number, nationality, date of birth, sex, expiry date and personal number. This free scanner does that in your browser, checks every field against its check digit, flags passports that expire within 6 months, and exports the results to Excel, CSV, PDF or JSON. The photo is never uploaded.

How to scan a passport MRZ online

  1. Open the photo page. That is the page with the photo and the two lines of capital letters, numbers and < symbols along the bottom.
  2. Upload a photo or use the camera. On a phone, choose Use camera and fit the two MRZ lines inside the box. On a computer, drop one or more photos onto the upload area.
  3. Check the result. A green label means all five check digits match. A yellow label tells you which field to compare with the passport.
  4. Export. Download the scanned passports as Excel, CSV, PDF or JSON, ready for a visa form, a booking or your own records.

What does the scanner read from the MRZ?

FieldWhere it comes fromChecked by
Surname and given namesMRZ line 1Format only (names have no check digit)
Passport numberLine 2, characters 1 to 9Its own check digit and the composite check
Nationality and issuing countryThree-letter country codesFormat
Date of birthLine 2, YYMMDDIts own check digit and a real-date check
SexM, F or <Format
Date of expiryLine 2, YYMMDDIts own check digit, plus the 6-month validity status
Personal number (CNIC on Pakistani passports)Line 2, characters 29 to 42Its own check digit and the composite check

On a Pakistani passport the personal number is the 13-digit CNIC, so the scanner shows it in the usual 35202-1234567-1 format. Details that are printed on the page but not stored in the MRZ, such as father’s name, place of birth and date of issue, cannot be read from the MRZ and have to be copied from the page itself. Our guide on the Pakistani passport number format and how to read the MRZ explains every character.

How does the scanner know the data is right?

OCR makes predictable mistakes: 0 and O, 1 and I, 5 and S, 8 and B look almost the same. The MRZ was designed for this. The passport number, date of birth, expiry date and personal number each end with a check digit calculated with the 7-3-1 rule from ICAO Doc 9303, and a final composite digit covers all of them together.

When a character is ambiguous, the scanner tries the look-alike options and keeps the reading that makes the check digits match, including the composite one. If no reading passes, it does not guess: the card is marked for a person to check. Every scan also gets a validity status, because an expired passport or one with less than 6 months left is the first thing a visa or Umrah application gets rejected for.

Is it safe to scan a passport online?

Most online MRZ readers upload the image to a server. That sends a client’s full identity page to a company you know nothing about. This scanner works differently: the OCR engine is downloaded to your browser and the image is read on your own device. Nothing about the passport is sent to handicraftm.com or anyone else, the free-scan counter is stored only in your browser, and closing the tab clears the results.

Tips for a clean scan

  • Avoid glare. Tilt the passport slightly away from overhead lights; reflections on the laminate hide characters.
  • Keep it flat and straight. Small tilts are corrected automatically, but a curled page bends the MRZ lines.
  • Fill the frame. The MRZ should be at least half the width of the photo.
  • Send photos as documents on WhatsApp. Normal WhatsApp photos are compressed and lose the fine detail OCR needs.

Free online scanner or Passport Extractor?

Free online scannerPassport Extractor for Windows
Best forA few passports now and thenTravel agencies scanning groups every week
Scans5 a dayNo limit
InputPhotos and cameraFolders of photos, PDFs and WhatsApp ZIPs
FieldsMRZ fieldsMRZ fields plus printed fields such as father’s name
Doubtful fieldsMarked on the cardReview screen that shows the field on the passport image
InternetNeeded to load the pageWorks fully offline
PriceFreeFree trial for 30 passports, then PKR 20,000 once

Passport Extractor is built by the same team for travel and Umrah agencies that type passport details all day. Read more on the Passport Extractor page, see how it compares in our guide to passport OCR software and scanning passports to Excel, or look at Safar Studio, our travel agency software that reads the MRZ straight into a pilgrim file.

What this scanner does not do

  • It reads passports only (the TD3 format). ID cards and visas use shorter MRZ formats.
  • It does not check whether a passport is genuine. Valid check digits prove the data was read correctly, not that the document is real.
  • It does not read the printed fields outside the MRZ, such as father’s name or place of birth.

Last updated: October 16, 2026

Questions, answered

Questions about the passport MRZ scanner.

Still unsure? Ask the developer directly on a free 30-minute call.

Book a free consultation
Is this passport MRZ scanner really free?

Yes. You can scan 5 passports a day for free, with no sign-up. Failed scans do not count. If you scan passports every day, Passport Extractor for Windows has no daily limit.

Are my passport photos uploaded anywhere?

No. The image is read by an OCR engine that runs inside your browser. The page downloads that engine once, but the photo and the data it reads never leave your device, and they are gone when you close the tab.

What is the MRZ on a passport?

The machine readable zone is the two lines of 44 characters at the bottom of the passport photo page. It holds the name, passport number, nationality, date of birth, sex, expiry date and a personal number, with check digits that prove each field was read correctly.

Which passports does the scanner support?

Any passport that follows ICAO Doc 9303, which is every modern passport, including Pakistani, Saudi, Indian, British and US passports. It reads the passport MRZ (TD3 format). National ID cards and visas use other MRZ formats and are not supported.

How accurate is the scan?

Every result is checked against the five MRZ check digits. A green "All 5 check digits match" means the numbers and dates were read correctly. If any check fails, the card is marked so you can compare it with the passport before using it.

Can I scan a passport to Excel?

Yes. Scan one or more passports, then press Excel. You get a spreadsheet with surname, given names, passport number, nationality, date of birth, sex, expiry date, expiry status, personal number or CNIC, and both MRZ lines. CSV, PDF and JSON are also available.

Does it warn about passports that are about to expire?

Yes. Each result shows whether the passport is expired, has less than 6 months left, or is valid for 6 months or more. Many countries, including Saudi Arabia for Umrah visas, ask for at least 6 months of validity.

Why did my scan fail?

Usually glare on the laminate, a blurry photo, or the MRZ cut off at the edge. Photograph the photo page flat, in even light, with both MRZ lines fully visible. WhatsApp compresses photos, so ask clients to send them as a document.

Does a valid MRZ prove a passport is genuine?

No. Check digits prove the characters were read and typed correctly, but anyone can calculate valid check digits. Checking authenticity needs the physical security features of the passport or its chip.

Can I scan more than 5 passports a day?

The free limit resets at midnight. For groups, Passport Extractor reads a whole folder of photos, PDFs or a WhatsApp ZIP on your Windows PC, offline, with a free trial for 30 passports and a one-time price of PKR 20,000.

Your developer Jamshaid Ali Founder, Handicraft Marketing

Scanning passports every day? Do the whole group at once.

Passport Extractor reads a folder of passport photos, PDFs or a WhatsApp ZIP on your own Windows PC and exports the group to Excel. Try it free for 30 passports.

  • Reply within 24 hours
  • Free plan, no obligation
  • Talk directly to the developer
Direct WhatsApp
Book Free Consultation