Parse and Extract MRZ in C#

Automatically detect, parse, extract, and convert machine-readable zones (MRZ) into structured data. Integrate a fast and accurate AI-powered OCR engine into your application to capture MRZ data from international passports, drivers’ licenses, visas, or other ID cards. Streamline data capture from passports and travel documents during customs processing, or extract customer data from scanned IDs to prefill PDF forms. On-premises deployment ensures complete control of privacy, security, and GDPR compliance.

Launch Demo

PSPDFKit SDKs are deployed in some of the world’s most popular applications, such as those made by Autodesk, Disney, DocuSign, Dropbox, IBM, and Lufthansa.

MRZ Information

MRZ stores information about the document holder such as the following:

  • Name

  • Date of birth

  • Sex

  • Nationality

MRZ stores information about the document such as the following:

  • Document type

  • Issuing authority

  • Document number

  • Date of expiry

Supported Formats

The current MRZ formats are the following:

  • TD1 (ID card, passport)

  • TD2 (passport)

  • TD3 (passport)

  • MRV-A (visa)

  • MRV-B (visa)

The French and Portuguese ID cards are different from the standard MRZ formats.

GdPicture.NET supports all MRZ formats.

Key Capabilities

  • Scanning accuracy — AI-powered OCR with 15+ years of continuous improvements

  • MRZ compatibility — All international passports, drivers’ licenses, visas, and other ID cards

  • Fast detection — Detect, extract, and convert MRZ into structured data

  • Secure — On-premises deployment for complete control of privacy, security, and GDPR compliance

Guides for MRZ Extraction

Passports
Learn how to extract MRZ from passports

Drivers’ Licenses
Learn how to extract MRZ from drivers’ licenses

ID Cards
Learn how to extract MRZ from ID cards

Visas
Learn how to extract MRZ from visas