MRZ Kit
All About Generate Algorithmic Codes
<<<
ICAO 9303Build MRZ
Document format
01Document
02Holder
03Validity & optional
Related tools
MRZ Validator
Validate ICAO 9303 MRZ lines and every check digit.
Barcode Scanner
Read PDF417, QR and other codes from an image.
Address Generator
Generate random fictional addresses for testing.
Metadata Cleaner
Remove EXIF, GPS and IPTC data from your photos.
DL Barcode Generator
Encode AAMVA PDF417 driver license barcodes.
Background Remover
Erase photo backgrounds and make passport-size ID photos.
About this tool
The MRZ Kit fully implements the ICAO Doc 9303 specification for TD1, TD2, TD3, MRV-A, and MRV-B documents. It enables users to compute check digits using the 7-3-1 weighting system, normalize names by transliterating diacritics, validate dates and country codes, and generate ready-to-print MRZ lines that meet standard verification requirements. Supporting multiple document types and all necessary field formats, the kit significantly reduces the risk of human error and failed scans at border control or automated checkpoints.
By automating complex tasks such as managing character sets, length constraints, and weighting rules, the MRZ Kit provides a consistent, standards-compliant output. It is suitable for integrating MRZ generation into enrollment workflows, building verification systems, or testing sample documents. The tool detects common issues like invalid characters, incorrect field lengths, and miscalculated check digits, while offering guidance for compliant corrections.
Designed for practical use in development environments, the MRZ Kit features a clean, well-documented interface that accepts raw data inputs—such as names, dates, document numbers, and issuing states—and returns fully formatted MRZ lines. Clear error messages and helpful hints assist users in refining inputs to meet the strict ICAO 9303 structure, even without expert knowledge of the specification. This ensures reliable MRZ generation that withstands real-world inspection and machine reading.