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.
Chạy trong trình duyệt của bạn. Tệp không bao giờ rời khỏi thiết bị. Xem cách tự kiểm tra
…
Cách thực hiện
- 1Đăng MRZ
Sao chép tất cả các dòng mã, mỗi dòng riêng.
- 2Nhập ngày kiểm tra
Nhập ngày hôm nay hoặc ngày đi du lịch.
- 3Đọc tờ séc.
Xem dấu chấm hoặc chữ thập cho mỗi con số kiểm tra.
- 4Kiểm tra thời hạn sử dụng
Xem số ngày còn lại và ngày nhắc nhở.
Giới thiệu công cụ này
Khu vực có thể đọc được bằng máy (MRZ) là khối ký tự ở dưới cùng của trang ảnh hộ chiếu hoặc phía sau thẻ ID. Nó tuân theo tiêu chuẩn ICAO 9303 được sử dụng trên toàn thế giới. Thẻ ID Đức sử dụng ba dòng gồm 30 ký tự (TD1), hộ chiếu hai dòng 44 (TD3). Một số trường có các chữ số kiểm tra được tính với trọng lượng 7, 3 và 1, do đó máy quét hoặc người gõ có thể phát hiện lỗi.
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.
Ví dụ có lời giải
The specimen ID card MRZ passes all four check digits; its expiry 31 October 2020 is in the past.
Tóm tắt
- Danh mục: Pháp lý và hành chính
- Chạy trong trình duyệt, không đăng ký, không tải lên.
- Thông tin bạn nhập ở lại trên thiết bị.
- Có bằng tiếng Anh.
- Nội dung được rà soát lần cuối:
- Nguồn chính thức: ICAO Doc 9303 (machine readable travel documents, check digits with weights 7, 3, 1) and the German Personalausweisgesetz and Passgesetz
Câu hỏi thường gặp
MRZ là gì?
The machine readable zone at the bottom of passports and on the back of ID cards.
Số kiểm tra được tính như thế nào?
Giá trị ký tự nhân trọng lượng 7, 3, 1, tổng hợp, modulo 10.
TD1 và TD3 là gì?
TD1 is the three-line ID card format, TD3 the two-line passport format.
Nó có thể phát hiện được hàng giả không?
Không, nó chỉ kiểm tra tính nhất quán của mã.
Thẻ ID Đức có giá trị bao lâu?
10 năm từ 24 tuổi, 6 năm cho những người trẻ hơn.
Dữ liệu của tôi có được lưu trữ không?
Không, nó sẽ ở trong trình duyệt của bạn.
