Skip to main content
Single Check Bulk Check MRZ Generator Barcode Scanner What is MRZ? SDK Pricing
1 2 3

MRZ Generator

Generate syntactically valid MRZ lines for development, testing, and demos. Useful for building parsers, populating test fixtures, and verifying validators.

Additional fields
TD1 - 3 lines - 30 chars
1 2 3
Validate the generated MRZ → Paste into the check digit validator

What is MRZ?

MRZ stands for Machine Readable Zone — the block of standardised text printed at the bottom of passports, ID cards, and visas. The format is defined by ICAO 9303, a standard issued by the International Civil Aviation Organization that ensures every country encodes the same fields in the same positions.

The MRZ is printed in OCR-B, a font designed for machine reading where every character occupies exactly the same width. That fixed spacing lets scanners divide each line into equal slots and read characters reliably, which is why OCR-B is used for the MRZ even when the rest of the document uses a different typeface.

OCR-B (spec font)
K12345678NZL9907054F<<<<

What data is encoded

Each MRZ line encodes specific fields: document type, issuing country, document number, surname, given names, nationality, date of birth, sex, expiry date, and optional data. Dates are written as YYMMDD, so 12 July 1942 becomes 420712.

Several fields are followed by a check digit — a single character calculated from the field value using a weighted algorithm defined in ICAO 9303. A composite check digit covers multiple fields together. These digits let any reader detect transcription errors or document tampering without external databases.

MRZ layouts by document type

Each document type defines how many lines the MRZ contains and how many characters each line holds. The diagrams below show the field positions for each format.

TD1 (ID card)

TD2 (ID card)

TD3 (Passport)

MRV-A (Visa)

MRV-B (Visa)

Validate an MRZ in the browser → Free, no upload required

MRZ processing that runs entirely on-device

IDcheck SDK reads, parses, and validates machine-readable zones from real-world document photos - no server calls, no data leaving the device. Covers every ICAO 9303 document type.

TD1 TD2 TD3 MRV-A MRV-B Offline ICAO 9303

MRZ Detection

Locates the MRZ zone in full document images captured on mobile or desktop - handles rotation, uneven lighting, and perspective distortion typical in handheld photos.

  • Works on raw camera captures and file uploads
  • Returns MRZ crop coordinates for OCR or manual review
  • No pre-processing or controlled environment required

MRZ OCR

Extracts OCR-B character lines from the detected zone and preserves the fixed-width row structure required for downstream validation.

  • Handles 2-line (TD2, TD3, MRV-A, MRV-B) and 3-line (TD1) layouts
  • Returns normalized lines ready for parsing or direct export
  • Runs fully on-device - document content never leaves the client

MRZ Validation

Verifies every ICAO 9303 check digit - document number, date of birth, expiry date, optional fields, and composite checksum.

  • Field-level PASS / FAIL with expected and found values
  • Covers all document types defined in ICAO 9303
  • Structured output suitable for automated intake and QA workflows

Get documentation and pricing

We share integration specs and volume pricing with teams building document intake workflows. Fill in the form and we will follow up within one business day.

Annual
29EUR
per year

Cancel anytime.

  • Unlimited single checks
  • Unlimited bulk processing
  • All document types
Get Premium
Best value
Lifetime
79EUR
one-time payment

Pay once, yours forever.

  • Unlimited single checks
  • Unlimited bulk processing
  • All document types
Get Premium
Enterprise
Custom price
for teams and commercial use

Commercial license, integration support.

  • Full MRZ pipeline license
  • Commercial use rights
  • Integration support
  • Custom delivery
Contact us

Need enterprise? Contact us for commercial license, integration support, and custom delivery.

How do I activate Premium?

After checkout you receive a license key by email. Click the FREE badge in the sidebar, enter your key and press Activate.

Does Premium work on multiple devices?

Yes — you can use your key across your personal devices. Sign out on a device you no longer use to free up your activation for a new one. The license is for individual use only.

What are the free tier limits?

5 single checks and 2 bulk sessions per day, up to 5 images per session. Limits reset at midnight.

Does any data leave my device?

No. MRZ detection, OCR, and validation all run locally in your browser. The only network request is license key verification.

What happens when an Annual subscription ends?

Your account reverts to the free tier automatically. Your key reactivates if you renew.

Does Lifetime include future document types?

Yes — TD1, TD2, TD3, MRV-A, MRV-B, and any types added in the future.

Copyright (c) 2026 IDcheck.dev | Contact: info@idcheck.dev