Machine-readable zone (MRZ)
A machine-readable zone is a document area containing information in OCR-B format for automatic reading by scanners and recognition systems.
What is a machine-readable zone in simple words
A machine-readable zone (MRZ — Machine Readable Zone) is a special area in a passport or other identification document that contains alphanumeric information in a format understandable by computers. These are the two or three lines with letters and numbers that you see at the bottom of the page with the photo.
The MRZ allows document data to be read automatically without manual entry. When you pass passport control at the airport, the scanner reads this zone in a fraction of a second, extracting all the necessary information: your name, surname, passport number, date of birth, validity period and other data. This speeds up the verification process and reduces the risk of human error.
Machine-readable zone standards are developed by the International Civil Aviation Organization (ICAO) and are described in ICAO Doc 9303, which defines uniform requirements for machine-readable travel documents (MRTD) worldwide. Thanks to these standards, passports issued in different countries can be read by the same equipment.
It is important to note that the MRZ is present not only in foreign passports, but also in national identity documents, visas, residence permits and other documents. This makes the technology universal and applicable in a wide variety of scenarios — from bank identification to access control at secure facilities.
MRZ structure
The most common format is TD3 (used in foreign passports) — two lines of 44 characters each. The first line contains:
- Document type (for example, P — passport);
- Country code of the issuing state (three-letter code per ICAO standard);
- Surname and given name of the holder (separated by the special filler character "<").
The second line contains:
- Document number (series and passport number);
- Nationality (three-letter code);
- Date of birth (in YYMMDD format);
- Sex (M — male, F — female);
- Document validity period (in YYMMDD format);
- Check digits for data validation.
Check digits are an important protection element. They are calculated by a special algorithm and allow detecting entry errors or forgery attempts. If a check digit does not match the calculated value, the system signals a possible problem.
There are also TD1 formats (used in ID cards) — three lines of 30 characters, and TD2 (used in visas) — two lines of 36 characters. Each of these formats has its own structure, but they all follow the general principles established by ICAO.
Understanding the MRZ structure is important for specialists working with document identification and verification systems. Incorrect placement of characters or errors in check digits can lead to failures in automated systems. That is why special attention is paid to recognition accuracy when developing MRZ reading equipment.
MRZ reading
Special scanners and software that recognize characters of the OCR-B font are used to read the machine-readable zone. This font is specially designed for optimal character recognition by machines — each character has a unique shape that prevents confusion.
Automated workstations such as APM-1 and APM-2 are equipped with optical sensors and specialized software for MRZ recognition. The SPV-7024M equipment provides fast scanning and check digit verification, which is especially important at high-throughput checkpoints.
The MRZ reading process takes a fraction of a second and is fully automated. The scanner takes a picture of the document, recognizes the characters in the machine-readable zone, verifies the check digits and transfers the data to the information system. This significantly speeds up the identification process and reduces the load on employees performing document verification.
MRZ reading is used not only at borders, but also in banks, hotels and enterprises with high security requirements. For example, when checking into a hotel, an employee can scan a guest's passport, and all data will be automatically entered into the system. This eliminates entry errors and speeds up the registration process.
The design service includes integration of MRZ reading systems with the organization's existing IT infrastructure. This may include configuring interaction with databases, access control systems and other information security components. Read more about solutions in the technologies section.
Frequently asked questions
How to read the machine-readable zone in a passport?
The machine-readable zone in a passport consists of two lines of fixed length (44 characters each for foreign passports). The lines contain the document type, country code, surname and given name, document number, date of birth, sex, validity period and check digits. Reading is performed by automatic devices with OCR-B. The APM-1 and APM-2 equipment provides fast and accurate MRZ recognition. The design service will help implement reading systems.
What is the machine-readable zone of a passport?
The machine-readable zone (MRZ) is a special area at the bottom of the personal data page containing encoded information about the holder and the document. Russian foreign passports use the TD3 format — two lines of 44 characters. The MRZ contains the document type, country code, surname and given name, passport series and number, date of birth, sex, validity period and check digits. The SPV-7024M equipment provides MRZ reading. The design service will help implement identification systems.
What is a machine-readable passport?
A machine-readable passport (MRP) is a travel document in which the data on the identification page is encoded in optical character recognition format (OCR-B) in a machine-readable zone (MRZ). The MRZ standard is regulated by ICAO Doc 9303. Machine-readable passports allow data to be read automatically at borders and other control points. The APM-1 and APM-2 equipment provides MRZ reading.
Where is the machine-readable zone on a passport?
The machine-readable zone (MRZ) is located at the bottom of the passport page containing personal data and the photo. In Russian foreign passports, this is the page with the photo — at the very bottom there are two lines with an alphanumeric code. Russian internal passports also contain the MRZ on the photo page. The SPV-7024M and APM-1 equipment provides MRZ reading for automatic identification.
How to decode the machine-readable code in a passport?
The machine-readable code in a passport is decoded per the ICAO standard. The first line contains the document type, country code, surname and given name of the holder. The second line contains the passport series and number, nationality, date of birth, sex, validity period and check digits. The check digits allow verifying the correctness of the data. The APM-1 and APM-2 equipment automatically recognizes and verifies the MRZ. The design service will help implement reading systems.
How to read a machine-readable passport?
A machine-readable passport is read by automatic devices using optical character recognition (OCR). MRZ data consists of two lines of 44 characters using the Latin letters A-Z, Arabic digits 0-9 and the filler character "<". MRZ scanners such as the SPV-7024M read the code in a fraction of a second and transfer the data to the system. The APM-1 and APM-2 equipment provides a full identification cycle.
What is the difference between a biometric passport and a machine-readable passport?
A machine-readable passport allows scanners to quickly read the printed information in the MRZ zone. A biometric (electronic) passport does the same, but additionally contains an electronic chip with the holder's biometric data (photo, fingerprints). A biometric passport provides a higher level of forgery protection. The APM-1 and APM-2 equipment supports reading both types of documents.
Other terms in «Documents and IDs»
Was this information helpful?
Need help with implementation?
Leave a request — our specialists will contact you and help solve the machine-readable zone (mrz) task. Individual approach and guaranteed results.