Mr. Verify

MRZ Generator Tool

Generate ICAO 9303 Compliant Machine Readable Zones

Online MRZ Generator (ICAO 9303 Standard)

Welcome to the Mr-Verify MRZ Generator, the most accurate tool for generating valid Machine Readable Zone (MRZ) codes for testing and verification purposes. Whether you are a software developer testing KYC workflows, a QA engineer, or simply need to generate mock passport data, this tool provides mathematically correct codes instantly.

Our system strictly adheres to the ICAO Document 9303 international standard, ensuring that all check digits (checksums) are calculated using the correct “7-3-1” weighting algorithm.


Supported Document Standards

Unlike basic generators, this tool supports the full range of machine-readable travel documents:

  • TD3 (Standard Passport): The 2-line format (44 characters each) used by almost all modern passports worldwide.
  • TD1 (ID Card): The 3-line format (30 characters each) commonly used for European National ID cards and residence permits.
  • TD2 (ID/Visa): The 2-line format (36 characters each) used for older ID cards and some visas.
  • MRV-A & MRV-B (Visas): Full support for machine-readable visa labels (Type A and Type B).

How It Works

The Machine Readable Zone (MRZ) is the area on a travel document that can be scanned by optical character recognition (OCR) devices. It contains sensitive identity information encoded with specific check digits to prevent forgery.

This generator handles the complex logic for you:

  1. Transliteration: It automatically converts special characters (e.g., “Ö”, “Ç”) into their ICAO-compliant Latin equivalents.
  2. Checksum Calculation: It computes the check digits for the document number, date of birth, and expiry date to ensure the code passes validation checks.
  3. Global Country Codes: It includes the full ISO 3166-1 alpha-3 code list for every country in the world.

Frequently Asked Questions (FAQ)

Is the generated data real?

The logic and structure are 100% real and valid according to ICAO standards. However, the data itself is generated based on your input. These codes are intended for software testing, educational purposes, and mock-ups. They are not legal government documents.

Why are there “<” characters in the code?

In the MRZ standard, spaces are not allowed. The “<” character is used as a filler to pad empty spaces or separate fields, ensuring the line length remains constant.

Is my data private?

Yes. We prioritize your privacy. All code generation happens instantly, and we do not store or log any of the personal information you enter into the generator.

Hey there! Ask me anything!