MRZ / MChZ · tool 01
Online Russian passport MRZ generator
The Russian passport MRZ generator is designed to produce the machine‑readable record of a Russian citizen's passport. The tool is focused on technical work with the MRZ structure: field sequence, row lengths, filler characters, check digits and the rules for representing the full name.
The Russian passport MRZ should be distinguished from ordinary passport transliteration, from the international MRZ of a foreign‑travel passport, and from OCR text obtained by simple image recognition. In the machine‑readable record, each character occupies a specific position, so even one extra or missing position can change the final row structure.
What is the Russian passport MRZ (MChZ)
The machine‑readable record is a compact representation of document data designed for automatic optical reading. In the Russian passport, it is formed in two rows of fixed length and contains service characters, document data and check values.
Therefore, queries like 'Russian passport MChZ', 'passport machine‑readable zone', 'machine‑readable record', 'Russian passport MRZ' and 'what does the Russian passport MRZ look like' all refer to the same technical subject but may use different terms.
What the generator is for
- studying the Russian passport MRZ structure;
- testing document recognition software and OCR;
- developing parsers and validators for the machine‑readable zone;
- checking check digits and field positions;
- educational, research and technical tasks;
- obtaining test strings in the required format.
Structure of the lower MRZ row for a Russian passport
| Positions | Element | Description | Chars |
|---|---|---|---|
| 1–9 | Series and number | Digital part of the document number in machine‑readable representation | 9 |
| 10 | Check digit | Checks positions 1–9 | 1 |
| 11–13 | Nationality | Country code | 3 |
| 14–19 | Date of birth | Six digits in machine‑readable format | 6 |
| 20 | Check digit | Checks date of birth | 1 |
| 21 | Sex | M/F and format‑specified values | 1 |
| 22–27 | Date / auxiliary field | Filling depends on the national document structure | 6 |
| 28 | Check digit | Checks the corresponding field | 1 |
| 29–42 | Additional data | National supplementary MRZ elements | 14 |
| 43 | Check digit | Checks the additional field | 1 |
| 44 | Final check | Overall check position | 1 |
Check digits
In machine‑readable formats, the check digit is calculated mathematically to verify a specific field. The basic weighting cycle is 7, 3, 1; the sum is taken modulo 10.
The '<' character
The '<' sign is used in the machine‑readable zone as a filler for empty space and a separator within the permitted MRZ/MChZ structure.
Important
MRZ generation is not a confirmation of passport authenticity. A mathematically correct string does not by itself prove the document is genuine.