MRZ and passport reader SDK for ID verification

Detect, parse, and extract machine-readable zone (MRZ) data from passports, driver’s licenses, ID cards, and visas. AI-powered OCR turns MRZ into structured data — deploy on-premises for full control over privacy and GDPR compliance.

What do you want to extract?

Scan passports

Extract MRZ data from international passports — name, date of birth, nationality, document number, and expiry date.

Read driver’s licenses

Extract MRZ from driver’s licenses to capture holder identity data for verification and onboarding workflows.

Process ID cards

Parse MRZ from national ID cards in TD1 format — extract structured identity data for KYC and registration.

Extract visa data

Read MRZ from visa documents in MRV-A and MRV-B formats for border control and travel processing.

How we help


MRZ DATA EXTRACTION

Extract structured data from any MRZ

The AI-powered OCR engine detects, parses, and converts MRZ into structured data. Pass an image to the .NET SDK’s OCR engine with the MRZ context and get the extracted text back — the SDK handles detection and parsing internally.

AI document processing illustration
AI-powered OCR accuracy

15+ years of continuous improvements to the OCR engine for reliable MRZ recognition across document conditions.


All MRZ formats supported

TD1, TD2, TD3, MRV-A, and MRV-B — covering international passports, ID cards, driver’s licenses, and visas.


Holder and document data

Extract name, date of birth, sex, nationality, document type, issuing authority, document number, and expiry date.


Searchable PDF output

Convert scanned documents with MRZ to searchable PDFs — recognize MRZ text and save it in a PDF with the OCR engine.

SUPPORTED DOCUMENTS

One SDK for every ID document type

The same .NET OCR API handles all document types. Load the image, run MRZ recognition, and get structured text — whether the source is a passport, driver’s license, ID card, or visa.

Supported ID document types illustration
Passports (TD2, TD3)

Machine-readable travel documents with two- or three-line MRZ zones. Extract holder identity and document data from international passports.


ID cards (TD1)

National identity cards with three-line MRZ zones. Includes support for French and Portuguese ID card formats.


Driver’s licenses

Extract MRZ data from driver’s licenses for identity verification, onboarding, and KYC compliance workflows.


Visas (MRV-A, MRV-B)

Machine-readable visa documents in both MRV-A and MRV-B formats for border control and travel document processing.





Frequently asked questions

What is an MRZ SDK?

An MRZ SDK is a software development kit that detects, parses, and extracts machine-readable zone data from identity documents. Nutrient .NET SDK uses AI-powered OCR to read MRZ from passports, driver’s licenses, ID cards, and visas, returning structured data like name, date of birth, nationality, and document number.

How does the passport OCR SDK work?

Load a scanned passport image into the .NET SDK’s OCR engine and run MRZ recognition. The SDK detects the MRZ zone, recognizes the characters, and returns the extracted data as structured text. The same API works for all supported document types.

Which document types does the passport scanner SDK support?

The SDK supports all standard MRZ formats: TD1 (ID cards), TD2 and TD3 (passports), MRV-A and MRV-B (visas). It also handles non-standard formats like French and Portuguese ID cards. Driver’s licenses with MRZ zones are also supported.

Can I use this as an ID verification SDK?

Yes. Extract MRZ data from identity documents to verify holder information — name, date of birth, nationality, and document expiry. Use the extracted data for KYC/AML compliance, customer onboarding, or identity verification workflows in banking, travel, and healthcare applications.

Does the driver’s license OCR SDK run on-premises?

Yes. The SDK runs entirely on your infrastructure. Scanned images and extracted MRZ data never leave your environment, giving you full control over privacy, security, and GDPR compliance. No cloud dependency is required.

What data fields does the passport reader SDK extract?

The MRZ contains holder data (name, date of birth, sex, nationality) and document data (document type, issuing authority, document number, date of expiry). The SDK extracts all fields as structured text from the MRZ zone.

How do I integrate MRZ extraction into my .NET application?

The .NET SDK provides a straightforward API: Load the document image, set the MRZ recognition context, and run OCR. The SDK returns the extracted MRZ text as a string. See the extraction guides for complete C# and VB.NET code examples.

Can the MRZ SDK convert scanned IDs to searchable PDFs?

Yes. The OCR engine can recognize MRZ text in scanned documents and save the result as a searchable PDF. This combines the visual scan with machine-readable text for archival and search workflows.


FREE TRIAL

Ready to extract MRZ data?

Start scanning passports, ID cards, and driver’s licenses in minutes — no payment information required.


ID verification SDK

What is an ID verification SDK?

An ID verification SDK automates identity document processing by extracting machine-readable zone (MRZ) data from passports, driver’s licenses, ID cards, and visas. Nutrient .NET SDK uses AI-powered OCR to detect, parse, and return structured identity data for use in KYC, onboarding, and compliance workflows.

  • Extracts name, date of birth, nationality, and document number from MRZ.
  • Supports TD1, TD2, TD3, MRV-A, and MRV-B formats.
  • Processes passports, ID cards, driver’s licenses, and visas.
  • On-premises deployment for GDPR and data sovereignty compliance.
How to choose the right passport OCR SDK

When evaluating a passport OCR SDK or passport scanner SDK, consider format coverage, deployment model, and integration complexity.

  • Format support — Ensure the SDK handles all standard MRZ formats (TD1, TD2, TD3, MRV-A, MRV-B) and regional variants.
  • Deployment model — On-premises processing avoids sending sensitive identity data to third-party cloud services.
  • OCR accuracy — Look for an AI-powered engine with an established track record across document conditions.
  • Integration — Evaluate API simplicity. Nutrient requires just three method calls: load image, run OCR, get text.
What industries use a passport reader SDK?

MRZ extraction is used across any industry that processes identity documents — from airport check-in and border control, to banking KYC/AML, hotel check-in, healthcare patient registration, travel booking, and law enforcement.

What are the benefits of Nutrient’s MRZ SDK?

Nutrient provides a proven MRZ extraction engine with broad format support and on-premises deployment.

  • AI-powered accuracy — OCR engine with 15+ years of continuous improvements for reliable MRZ recognition.
  • All document types — Passports, driver’s licenses, ID cards, and visas through a single API.
  • On-premises security — No data leaves your infrastructure, meeting GDPR and data sovereignty requirements.
  • Simple integration — Three method calls in C# or VB.NET to extract MRZ data from any supported document.
How does Nutrient compare to other driver license OCR SDKs?

Nutrient .NET SDK covers all standard MRZ formats through a single API with on-premises deployment. Unlike cloud-only solutions, your identity data never leaves your infrastructure.

  • Format breadth — TD1, TD2, TD3, MRV-A, MRV-B, plus French and Portuguese ID card variants.
  • Privacy-first — On-premises only. No cloud dependency for processing sensitive identity documents.
  • Enterprise-proven — Trusted by Lufthansa, Disney, Autodesk, UBS, Dropbox, and IBM.