Need MRZ codes for testing? Generate valid passport and ID codes instantly
Stuck creating test data for your app? Need sample MRZ codes for development or training? Generate ICAO-compliant MRZ codes in seconds—no guesswork, no manual calculations.
P<UTODOE<<JANE<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< X123456785UTO9001011F3001019<<<<<<<<<<<<<<06
Stop Wasting Time on MRZ Test Data Creation
Tired of Manual MRZ Creation for Testing?
Whether you're building passport scanners, training border control systems, or teaching ID document standards, you need reliable test data. Our MRZ generator eliminates the tedious math and formatting work, giving you valid codes instantly.
Perfect for Developers and Testers Who Need:
Clean datasets for passport scanning apps • Valid MRZ samples for QA regression testing • Educational examples that actually work with real scanners • Quick mock data without exposing real personal information
How It Saves Your Time
Skip the manual check-digit calculations and format validation. Just enter the basics, and get properly formatted MRZ passport codes ready to paste into your tests or demos.
How to Use the MRZ Generator
Pick Your Document Type
Passport (TD3), ID card (TD1/TD2), or visa (MRV-A/MRV-B)
Fill in the Basics
Name, document number, nationality, dates. We handle formatting and calculations
Copy and Use
Get your valid MRZ code ready for testing, training, or development
Need a quick start? Hit "Generate Random" to see a working example immediately.
Why Choose Our MRZ Calculator
Privacy-Safe
Generate test data without touching real personal information.
Always Valid Output
Follows ICAO standards so your tests work with real scanners.
Instant Feedback
Spot formatting issues before they break your code.
Built for Workflow
Copy to clipboard, export PDFs, and even use offline.
Home.faq.title
I'm building a passport scanner app. Will these MRZ codes work with real scanners?
Yes. The codes follow the same ICAO standards as real documents, so your scanner testing will be accurate. Just don't use them for actual travel!
My QA team needs lots of test MRZ data. Is there a faster way?
Currently, you can generate individual codes quickly with our "Fill with sample" feature. Batch generation is coming soon to handle large test datasets.
I'm teaching a course on document security. Can students use this safely?
Perfect for education. Students can see how MRZ check digits work and practice with valid examples without handling sensitive real documents.
What's the difference between TD1, TD2, TD3, and MRV formats?
TD1: ID cards (3 lines, 30 characters each) • TD2: Visas and some IDs (2 lines, 36 characters each) • TD3: Passports (2 lines, 44 characters each) • MRV-A/B: Different visa formats. The tool adapts input fields automatically.
Can I verify existing MRZ codes I found in documentation?
Yes. Paste any MRZ code into our validator (switch from the result area) to check if it follows proper formatting and has correct check digits.
I work in a secure environment. Does this send my test data anywhere?
No. Everything processes locally in your browser. No data leaves your machine, making it safe for sensitive development environments.