MRZ Check Digit Validator (German ID Card and Passport)
Paste the two or three MRZ lines to check every check digit, read the fields and see how long the document is valid.
S'exécute dans votre navigateur. Vos fichiers ne quittent jamais votre appareil. Voir comment vérifier
…
Comment faire
- 1Coller le MRZ
Copiez toutes les lignes du code, chacune sur sa propre ligne.
- 2Saisissez une date de vérification
Tapez la date d'aujourd'hui ou une date de voyage.
- 3Lisez les chèques .
Voir une case ou un crochet pour chaque chiffre de contrôle.
- 4Vérifiez l' échéance
Voyez les jours restants et la date du rappel.
À propos de cet outil
The machine readable zone (MRZ) is the block of characters at the bottom of a passport photo page or on the back of an ID card. It follows the ICAO 9303 standard used worldwide. The German ID card uses three lines of 30 characters (TD1), the passport two lines of 44 (TD3). Several fields carry check digits calculated with weights 7, 3 and 1, so a scanner or a person typing can detect errors. This validator recalculates every check digit, shows the document number, nationality, birth date, sex and expiry, and tells you how many days the document is still valid.
Who this is for
Developers testing document readers, hotel and rental staff checking a copied MRZ, travellers checking the expiry of their documents, and anyone curious about the code.
How the check digit works
Each character gets a value: digits keep their value, letters A to Z count 10 to 35, and the filler character < counts 0. The values are multiplied in turn by 7, 3 and 1, the products are added, and the remainder after dividing by 10 is the check digit. A single wrong character almost always changes it.
The ID card (TD1)
Line 1 starts with the document type (ID) and country code (D), followed by the 9-character document number and its check digit. Line 2 contains the date of birth with check digit, sex, the expiry date with check digit, the nationality and a composite check digit over all the important fields. Line 3 holds the name. German ID numbers use digits and selected letters only, to avoid confusion.
The passport (TD3)
Line 1 contains type, country and name. Line 2 contains the passport number with check digit, nationality, date of birth with check digit, sex, expiry with check digit, an optional field and the composite check digit.
Dates
Dates are written as YYMMDD. The tool reads the expiry and calculates the days left and a reminder date three months before. Many countries require at least six months' validity for entry, so renew early. German ID cards for people over 24 are valid for ten years, passports for ten years.
Privacy
An MRZ contains personal data. This tool works in your browser only. Do not paste other people's data without a reason, and do not store copies of ID cards unless the law allows it.
Worked example
The specimen ID card line 1 IDD<<T220001293 contains document number T22000129 with check digit 3. The birth date 640812 has check digit 5, the expiry 201031 has check digit 5, and the composite check digit 4 is correct. The specimen expired on 31 October 2020.
Limits
A check of the code only. It cannot detect forged documents.
Exemple concret
The specimen ID card MRZ passes all four check digits; its expiry 31 October 2020 is in the past.
L'essentiel
- Catégorie: Juridique et administration
- Fonctionne dans votre navigateur, sans inscription, sans envoi.
- Ce que vous saisissez reste sur votre appareil.
- Disponible en anglais.
- Contenu révisé pour la dernière fois:
- Source officielle: ICAO Doc 9303 (machine readable travel documents, check digits with weights 7, 3, 1) and the German Personalausweisgesetz and Passgesetz
Questions fréquentes
C'est quoi la MRZ ?
The machine readable zone at the bottom of passports and on the back of ID cards.
Comment le chiffre de contrôle est-il calculé ?
Les valeurs de caractères fois les poids 7, 3, 1, additionnés, modulo 10.
Qu'est-ce que le TD1 et le TD3 ?
TD1 is the three-line ID card format, TD3 the two-line passport format.
Ça détecte les faux ?
Non, il vérifie seulement la cohérence du code.
How long is a German ID card valid?
Dix ans à partir de 24 ans, six pour les plus jeunes.
Mes données sont-elles stockées ?
Non, il reste dans votre navigateur.
