Machine-readable passport: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Citation bot (talk | contribs)
Alter: template type. | Use this bot. Report bugs. | Suggested by BrownHairedGirl | Linked from User:BrownHairedGirl/Articles_with_new_bare_URL_refs | #UCB_webform_linked 338/2661
Tags: Mobile edit Mobile web edit
 
(41 intermediate revisions by 32 users not shown)
Line 1: Line 1:
{{Short description|Machine-readable travel document utilizing optical character recognition}}
{{Redirect|MRZ|the airport in Australia|Moree Airport}}
{{Redirect|MRZ}}


A '''machine-readable passport''' ('''MRP''') is a [[Machine-readable data|machine-readable]] travel document (MRTD) with the data on the identity page encoded in [[optical character recognition]] format. Many countries began to issue machine-readable travel documents in the 1980s.
A '''machine-readable passport''' ('''MRP''') is a [[machine-readable data|machine-readable]] [[travel document]] (MRTD) with the data on the identity page encoded in [[optical character recognition]] format. Many countries began to issue machine-readable travel documents in the 1980s. Most travel [[passports]] worldwide are MRPs. The [[International Civil Aviation Organization]] (ICAO) requires all ICAO member states to only issue MRPs as of April 1, 2010, and all non-MRP passports must expire by November 24, 2015.<ref>{{cite web |title=Last Week for States to Ensure Expiration of Non-Machine Readable Passports |url=https://www.icao.int/Newsroom/Pages/Last-Week-for-States-to-Ensure-Expiration-of-Non-Machine-Readable-Passports.aspx |website=ICAO |access-date=11 March 2024 |location=Montréal |date=17 November 2015}}</ref>


Most travel [[passports]] worldwide are MRPs. They are standardized by the ''[[ICAO]] Document 9303'' (endorsed by the [[International Organization for Standardization]] and the [[International Electrotechnical Commission]] as ISO/IEC 7501-1) and have a special ''machine-readable zone'' (''MRZ''), which is usually at the bottom of the identity page at the beginning of a passport. The ICAO 9303 describes three types of documents corresponding to the [[ISO/IEC 7810]] sizes:
Machine-readable passports are standardized by the ''[[ICAO]] Document 9303'' (endorsed by the [[International Organization for Standardization]] and the [[International Electrotechnical Commission]] as ISO/IEC 7501-1) and have a special ''machine-readable zone'' (''MRZ''), which is usually at the bottom of the identity page at the beginning of a passport. The ICAO 9303 describes three types of documents corresponding to the [[ISO/IEC 7810]] sizes:
* "Type 3" is typical of passport booklets. The MRZ consists of 2 lines × 44 characters.
* "Type 3" is typical of passport booklets. The MRZ consists of 2 lines × 44 characters.
* "Type 2" is relatively rare with 2 lines × 36 characters.
* "Type 2" is relatively rare with 2 lines × 36 characters.
* “Type 1” is of a credit card-size with 3 lines × 30 characters.
* "Type 1" is of a credit card-size with 3 lines × 30 characters.
The fixed format allows specification of document type, name, document number, nationality, date of birth, sex, and document expiration date. All these fields are required on a passport. There is room for optional, often country-dependent, supplementary information. There are also two sizes of machine-readable visas similarly defined.
The fixed format allows specification of document type, name, document number, nationality, date of birth, sex, and document expiration date. All these fields are required on a passport. There is room for optional, often country-dependent, supplementary information. There are also two sizes of machine-readable visas similarly defined.


Computers with a camera and suitable software can directly read the information on machine-readable passports. This enables faster processing of arriving passengers by immigration officials, and greater accuracy than manually read passports, as well as faster data entry, more data to be read and better data matching against immigration databases and watchlists.
Computers with a camera and suitable software can directly read the information on machine-readable passports. This enables faster processing of arriving passengers by immigration officials, and greater accuracy than manually-read passports, as well as faster data entry, more data to be read and better data matching against immigration databases and watchlists.


Apart from optically readable information, many passports contain an [[RFID]] chip which enables computers to read a higher amount of information, for example a photo of the bearer. These passports are called [[biometric passport]]s and are also described by ICAO 9303.
Apart from optically readable information, many passports contain an [[RFID]] chip which enables computers to read a higher amount of information, for example a photo of the bearer. These passports are called [[biometric passport]]s and are also described by ICAO 9303.
Line 20: Line 21:
Passport booklets have an identity page containing the identity data. This page is in the [[ISO/IEC_7810#ID-3|TD3]] size of 125 × 88&nbsp;mm (4.92 × 3.46&nbsp;in).
Passport booklets have an identity page containing the identity data. This page is in the [[ISO/IEC_7810#ID-3|TD3]] size of 125 × 88&nbsp;mm (4.92 × 3.46&nbsp;in).


The data of the machine-readable zone consists of two rows of 44 characters each. The only characters used are A–Z, 0–9 and the filler character &lt;.
The data of the machine-readable zone consists of two rows of 44 characters each. The only characters used are A–Z, 0–9 and the filler character {{mono|&lt;}}.


The format of the first row is:
{| class="wikitable"
{| class="wikitable"
|+ First row
! Positions !! Length !! Characters !! Meaning
! Positions !! Length !! Characters !! Meaning
|-
|-
| 1 || 1 || alpha || P, indicating a passport
| 1 || 1 || alpha || P, indicating a passport
|-
|-
| 2 || 1 || alpha+&lt; || Type (for countries that distinguish between different types of passports)
| 2 || 1 || alpha+{{mono|&lt;}} || Type (for countries that distinguish between different types of passports)
|-
|-
| 3–5 || 3 || alpha+&lt; || [[#Nationality codes|Issuing country or organization]] ([[ISO 3166-1 alpha-3]] code with modifications)
| 3–5 || 3 || alpha || [[#Nationality / Citizenship codes|Issuing country or organization]] ([[ISO 3166-1 alpha-3]] code with modifications)
|-
|-
| 6–44 || 39 || alpha+&lt; || Surname, followed by two filler characters, followed by given names. Given names are separated by single filler characters. Note that some countries does not differentiate between surname and given name (i.e. no two filler character), such as the [[Malaysian passport|Malaysian Passport]]
| 6–44 || 39 || alpha+{{mono|&lt;}} ||Surname, followed by two filler characters, followed by given names. Given names are separated by single filler characters. Some countries do not differentiate between surname and given name (i.e. no two filler characters), such as the [[Malaysian passport|Malaysian Passport]]
|}
|}
In the name field, spaces, hyphens and other punctuation are represented by &lt;, except [[apostrophe]]s, which are skipped. If the names are too long, names are abbreviated to their most significant parts. In that case, the last position must contain an alphabetic character to indicate possible truncation, and if there is a given name, the two fillers and at least one character of it must be included.
In the name field, spaces, hyphens and other punctuation are represented by {{mono|&lt;}}, except [[apostrophe]]s, which are skipped. If the names are too long, names are abbreviated to their most significant parts. In that case, the last position must contain an alphabetic character to indicate possible truncation, and if there is a given name, the two fillers and at least one character of it must be included.


The format of the second row is:
{| class="wikitable"
{| class="wikitable"
|+ Second row
! Positions !! Length !! Characters !! Meaning
! Positions !! Length !! Characters !! Meaning
|-
|-
| 1–9 || 9 || alpha+num+&lt; || Passport number
| 1–9 || 9 || alpha+num+{{mono|&lt;}} || Passport number
|-
|-
| 10 || 1 || numeric || Check digit over digits 1–9
| 10 || 1 || numeric || Check digit over digits 1–9
|-
|-
| 11–13 || 3 || alpha+&lt; || Nationality (ISO 3166-1 alpha-3 code with modifications)
| 11–13 || 3 || alpha+{{mono|&lt;}} || Nationality or Citizenship (ISO 3166-1 alpha-3 code with modifications)
|-
|-
| 14–19 || 6 || numeric || Date of birth (YYMMDD)
| 14–19 || 6 || numeric || Date of birth (YYMMDD)
Line 50: Line 51:
| 20 || 1 || numeric || Check digit over digits 14–19
| 20 || 1 || numeric || Check digit over digits 14–19
|-
|-
| 21 || 1 || alpha+&lt; || Sex (M, F or &lt; for male, female or unspecified)
| 21 || 1 || alpha+{{mono|&lt;}} || Sex (M, F or {{mono|&lt;}} for male, female or unspecified)
|-
|-
| 22–27 || 6 || numeric || Expiration date of passport (YYMMDD)
| 22–27 || 6 || numeric || Expiration date of passport (YYMMDD)
Line 56: Line 57:
| 28 || 1 || numeric || Check digit over digits 22–27
| 28 || 1 || numeric || Check digit over digits 22–27
|-
|-
| 29–42 || 14 || alpha+num+&lt; || Personal number (may be used by the issuing country as it desires)
| 29–42 || 14 || alpha+num+{{mono|&lt;}} || Personal number (may be used by the issuing country as it desires)
|-
|-
| 43 || 1 || numeric+&lt; || Check digit over digits 29–42 (may be &lt; if all characters are &lt;)
| 43 || 1 || numeric+{{mono|&lt;}} || Check digit over digits 29–42 (may be {{mono|&lt;}} if all characters are {{mono|&lt;}})
|-
|-
| 44 || 1 || numeric || Check digit over digits 1–10, 14–20, and 22–43
| 44 || 1 || numeric || Check digit over digits 1–10, 14–20, and 22–43
Line 64: Line 65:


=== Official travel documents ===
=== Official travel documents ===
[[File:HunIDback.jpg|thumb|Hungarian ID Card (2016)]]
[[File:HunIDback.jpg|thumb|[[Hungarian identity card]] (2016)]]
Smaller documents such as identity and passport cards are usually in the [[ISO/IEC_7810#ID-1|TD1]] size, which is 85.6 × 54.0&nbsp;mm (3.37 × 2.13 in), the same size as credit cards.
Smaller documents such as identity and passport cards are usually in the [[ISO/IEC 7810#ID-1|ID-1]] size, which is 85.6 × 54.0&nbsp;mm (3.37 × 2.13 in), the same size as credit cards. The data of the machine-readable zone in a TD1 size card consists of three rows of 30 characters each. The only characters used are A–Z, 0–9 and the filler character {{mono|&lt;}}.
The data of the machine-readable zone in a TD1 size card consists of three rows of 30 characters each. The only characters used are A–Z, 0–9 and the filler character &lt;.


Some official travel documents are in the larger [[ISO/IEC_7810#ID-2|TD2]] size, 105.0 × 74.0 (4.13 × 2.91 in). They have a layout of the MRZ with two rows of 36 characters each, similar to the TD3 format, but with 31 characters for the name, 7 for the personal number and one less check digit. Yet some official travel documents are in the booklet format with a TD3 identity page.
Some official travel documents are in the larger [[ISO/IEC 7810#ID-2|ID-2]] size, 105.0 × 74.0 (4.13 × 2.91 in). They have a layout of the MRZ with two rows of 36 characters each, similar to the TD3 format, but with 31 characters for the name, 7 for the personal number and one less check digit. Yet some official travel documents are in the booklet format with a TD3 identity page.


The format of the first row for TD1 (credit card size) documents is:
The format of the first row for ID-1 (credit card size) documents is:
{| class="wikitable"
{| class="wikitable"
! Positions !! Length !! Chars !! Meaning
! Positions !! Length !! Chars !! Meaning
Line 76: Line 76:
| 1 || 1 || alpha || I, A or C
| 1 || 1 || alpha || I, A or C
|-
|-
| 2 || 1 || alpha+&lt; || Type, This is at the discretion of the issuing state or authority, but 1–2 should be AC for [[Crew Member Certificate]]s and V is not allowed as 2nd character. ID or I< are typically used for nationally issued ID cards and IP for passport cards.
| 2 || 1 || alpha+num+{{mono|&lt;}} || Type, This is at the discretion of the issuing state or authority, but 1–2 should be AC for [[Crew Member Certificate]]s and V is not allowed as 2nd character. ID or I< are typically used for nationally issued ID cards and IP for passport cards.
|-
|-
| 3–5 || 3 || alpha+&lt; || [[#Nationality codes|Issuing country or organization]] ([[ISO 3166-1 alpha-3]] code with modifications)
| 3–5 || 3 || alpha+{{mono|&lt;}} || [[#Nationality codes|Issuing country or organization]] ([[ISO 3166-1 alpha-3]] code with modifications)
|-
|-
| 6–14 || 9 || alpha+num+&lt; || Document number
| 6–14 || 9 || alpha+num+{{mono|&lt;}} || Document number
|-
|-
| 15 || 1 || num+&lt; || Check digit over digits 6–14
| 15 || 1 || num+{{mono|&lt;}} || Check digit over digits 6–14
|-
|-
| 16–30 || 15 || alpha+num+&lt; || Optional
| 16–30 || 15 || alpha+num+{{mono|&lt;}} || Optional
|}
|}


Line 95: Line 95:
| 7 || 1 || num || Check digit over digits 1–6
| 7 || 1 || num || Check digit over digits 1–6
|-
|-
| 8 || 1 || alpha+&lt; || Sex (M, F or &lt; for male, female or unspecified)
| 8 || 1 || alpha+{{mono|&lt;}} || Sex (M, F or {{mono|&lt;}} for male, female or unspecified)
|-
|-
| 9-14 || 6 || num || Expiration date of document (YYMMDD)
| 9-14 || 6 || num || Expiration date of document (YYMMDD)
Line 101: Line 101:
| 15 || 1 || num || Check digit over digits 9–14
| 15 || 1 || num || Check digit over digits 9–14
|-
|-
| 16–18 || 3 || alpha+&lt; || Nationality
| 16–18 || 3 || alpha+{{mono|&lt;}} || Nationality
|-
|-
| 19–29 || 11 || alpha+num+&lt; || Optional<sup>1</sup>
| 19–29 || 11 || alpha+num+{{mono|&lt;}} || Optional<sup>1</sup>
|-
|-
| 30 || 1 || num || Check digit over digits 6–30 (upper line), 1–7, 9–15, 19–29 (middle line)<ref>{{cite book|url=http://www.icao.int/publications/Documents/9303_p3_cons_en.pdf|title=Microsoft Word - Doc.9303.Part.03.7th.Edition.alltext.en.docx - 9303_p3_cons_en.pdf|work=Doc 9303: Machine Readable Travel Documents, Part 3: Specifications Common to all MRTDs|edition=Seventh|language=en|isbn=978-92-9249-792-7|publisher=[[International Civil Aviation Organization]]|access-date=2016-03-03|year=2015}}</ref>
| 30 || 1 || num || Check digit over digits 6–30 (upper line), 1–7, 9–15, 19–29 (middle line)<ref>{{cite book|url=http://www.icao.int/publications/Documents/9303_p3_cons_en.pdf|title=Doc 9303: Machine Readable Travel Documents, Part 3: Specifications Common to all MRTDs|edition=Eighth|language=en|isbn=978-92-9249-792-7|publisher=[[International Civil Aviation Organization]]|access-date=2016-03-03|year=2015}}</ref>
|}
|}
<small>1: [[United States Passport Card]]s, as of 2011, use this field for the application number that produced the card.</small>
<small>1: [[United States Passport Card]]s, as of 2011, use this field for the application number that produced the card. {{cn|date=May 2023}}</small>


The format of the third row is:
The format of the third row is:
Line 113: Line 113:
! Positions !! Length !! Chars !! Meaning
! Positions !! Length !! Chars !! Meaning
|-
|-
| 1–30 || 30 || alpha+&lt; || Surname, followed by two filler characters, followed by given names
| 1–30 || 30 || alpha+{{mono|&lt;}} || Surname, followed by two filler characters, followed by given names
|}
|}


The format of the first row for TD2<ref>https://www.doubango.org/SDKs/mrz/docs/MRZ_formats.html</ref> (medium size) documents is:
The format of the first row for ID-2<ref>{{cite web | url=https://www.doubango.org/SDKs/mrz/docs/MRZ_formats.html | title=MRZ formats — ultimateMRZ 2.9.0 documentation }}</ref> (medium size) documents is:


{| class="wikitable"
{| class="wikitable"
! Positions !! Length !! Chars !! Meaning
! Positions !! Length !! Chars !! Meaning
|-
|-
| 1 || 1 || alpha || I,P, A or C
| 1 || 1 || alpha || I, P, A or C
|-
|-
| 2 || 1 || alpha+&lt; || Type, This is at the discretion of the issuing state or authority, but 1–2 should be AC for [[Crew Member Certificate]]s and V is not allowed as 2nd character. ID or I< are typically used for nationally issued ID cards and IP for passport cards.
| 2 || 1 || alpha+{{mono|&lt;}} || Type, This is at the discretion of the issuing state or authority, but 1–2 should be AC for [[Crew Member Certificate]]s and V is not allowed as 2nd character. ID or I< are typically used for nationally issued ID cards and IP for passport cards.
|-
|-
| 3–5 || 3 || alpha+&lt; || [[#Nationality codes|Issuing country or organization]] ([[ISO 3166-1 alpha-3]] code with modifications)
| 3–5 || 3 || alpha+{{mono|&lt;}} || [[#Nationality codes|Issuing country or organization]] ([[ISO 3166-1 alpha-3]] code with modifications)
|-
| 6–36 || 30 || alpha+&lt; || Name and surname. If there is more than one name they are separated by single filler. Double filler indicates the end of the primary identifier.
|-
|-
| 6–36 || 30 || alpha+{{mono|&lt;}} || Name and surname. If there is more than one name they are separated by single filler. Double filler indicates the end of the primary identifier.
|}
|}


Line 139: Line 138:
| 10 || 1 || num || Check digit over document number
| 10 || 1 || num || Check digit over document number
|-
|-
| 11-13 || 3 || alpha+&lt; || Nationality
| 11-13 || 3 || alpha+{{mono|&lt;}} || Nationality
|-
|-
| 14-19 || 5 || num || Birthday (YYMMDD)
| 14-19 || 6 || num || Birthday (YYMMDD)
|-
|-
| 20 || 1 || num || Check digit for birthday
| 20 || 1 || num || Check digit for birthday
Line 147: Line 146:
| 21 || 1 || M or F|| Gender
| 21 || 1 || M or F|| Gender
|-
|-
| 21-27 || 6 || num || Expiration date (YYMMDD)
| 22-27 || 6 || num || Expiration date (YYMMDD)
|-
|-
| 28 || 1 || num || Check digit for expiration
| 28 || 1 || num || Check digit for expiration
|-
|-
| 29-35 || 7 || alpha+num+&lt;|| optional data
| 29-35 || 7 || alpha+num+{{mono|&lt;}}|| Optional data
|-
|-
| 35 || 1 || num || Check digit over optional data
| 35 || 1 || num || Check digit over optional data (not specified in ICAO 9303-6, may be used by issuing country regardless)
|-
|-
| 36 || 1 || num || Check digit over lower line
| 36 || 1 || num || Check digit over digits 1–10, 14–20, and 22–35

|}
|}


=== Machine-readable visas ===
=== Machine-readable visas ===
[[File:MRV-B Visa MRZ Construction.png|thumb|MRV-B Visa MRZ Construction]]
[[File:Chinese Visit Visa issued by Exit and Entry Administration of PSB (2019 version).jpg|thumb|Chinese visa (2019)]]
[[File:Chinese Visit Visa issued by Exit and Entry Administration of PSB (2019 version).jpg|thumb|Chinese visa (2019)]]
The ICAO Document 9303 part 7 describes machine-readable visas. They come in two different formats:
The ICAO Document 9303 part 7 describes machine-readable visas. They come in two different formats:
Line 171: Line 170:
| 1 || 1 || alpha || "V"
| 1 || 1 || alpha || "V"
|-
|-
| 2 || 1 || alpha+&lt; || Type, this is at the discretion of the issuing state or authority
| 2 || 1 || alpha+{{mono|&lt;}} || Type, this is at the discretion of the issuing state or authority
|-
|-
| 3–5 || 3 || alpha+&lt; || Issuing country or organization ([[ISO 3166-1 alpha-3]] code with modifications)
| 3–5 || 3 || alpha+{{mono|&lt;}} || Issuing country or organization ([[ISO 3166-1 alpha-3]] code with modifications)
|-
|-
| 6–44 || 39 || alpha+&lt; || Name in MRV-A
| 6–44 || 39 || alpha+{{mono|&lt;}} || Name in MRV-A
|-
|-
| 6–36 || 31 || alpha+&lt; || Name in MRV-B
| 6–36 || 31 || alpha+{{mono|&lt;}} || Name in MRV-B
|}
|}
The format of the second row is:
The format of the second row is:
Line 183: Line 182:
! Positions !! Length !! Chars !! Meaning
! Positions !! Length !! Chars !! Meaning
|-
|-
| 1-9 || 9 || alpha+num+&lt; || Passport or Visa number
| 1-9 || 9 || alpha+num+{{mono|&lt;}} || Passport or Visa number
|-
|-
| 10 || 1 || num || Check digit
| 10 || 1 || num || Check digit
|-
|-
| 11–13 || 3 || alpha+&lt; || Nationality
| 11–13 || 3 || alpha+{{mono|&lt;}} || Nationality
|-
|-
| 14–19 || 6 || num || Date of birth (YYMMDD)
| 14–19 || 6 || num || Date of birth (YYMMDD)
Line 193: Line 192:
| 20 || 1 || num || Check digit
| 20 || 1 || num || Check digit
|-
|-
| 21 || 1 || alpha+&lt; || Sex
| 21 || 1 || alpha+{{mono|&lt;}} || Sex
|-
|-
| 22-27 || 6 || num || Valid until (YYMMDD)
| 22-27 || 6 || num || Valid until (YYMMDD)
Line 199: Line 198:
| 28 || 1 || num || Check digit
| 28 || 1 || num || Check digit
|-
|-
| 29–44 || 16 || alpha+num+&lt; || Optional data in MRV-A
| 29–44 || 16 || alpha+num+{{mono|&lt;}} || Optional data in MRV-A
|-
|-
| 29–36 || 8 || alpha+num+&lt; || Optional data in MRV-B
| 29–36 || 8 || alpha+num+{{mono|&lt;}} || Optional data in MRV-B
|}
|}


Line 209: Line 208:
The dimensions of the effective reading zone (ERZ) is standardized at {{convert|17.0|mm|abbr=on}} in height with a margin of 3&nbsp;mm at the document edges and 3.2&nbsp;mm at the edge against the visual readable part. This is in order to allow use of a single machine reader.
The dimensions of the effective reading zone (ERZ) is standardized at {{convert|17.0|mm|abbr=on}} in height with a margin of 3&nbsp;mm at the document edges and 3.2&nbsp;mm at the edge against the visual readable part. This is in order to allow use of a single machine reader.


===Nationality / Citizenship codes===
Only characters A to Z (upper case), 0–9, and &lt; ([[angle bracket]]) are allowed. The typeface is [[OCR-B]].

===Nationality codes===
The nationality codes shall contain the [[ISO 3166-1 alpha-3]] code with modifications for all formats. The check digit calculation method is also the same for all formats.
The nationality codes shall contain the [[ISO 3166-1 alpha-3]] code with modifications for all formats. The check digit calculation method is also the same for all formats.


Some values that are different from ISO 3166-1 alpha-3 are used for the issuing country and nationality field:<ref>[http://www.icao.int/publications/Documents/9303_p3_cons_en.pdf Doc9303 Machine Readable Travel Documents Part3 Seventh Edition, 2015]</ref>
Some values that are different from ISO 3166-1 alpha-3 are used for the issuing country and nationality field:<ref>[http://www.icao.int/publications/Documents/9303_p3_cons_en.pdf Doc9303 Machine Readable Travel Documents Part3 Seventh Edition, 2015]</ref>
* BAH: [[Bahamas]] (erroneously used in some early [[Bahamian passport|Bahamian passports]]; corrected to BHS)
* D: [[Germany]]
* D: [[Germany]]
* EUE: [[European Union]]
* EUE: [[European Union]]
Line 236: Line 234:
* XXC: Refugee, other than defined above
* XXC: Refugee, other than defined above
* XXX: Unspecified nationality
* XXX: Unspecified nationality
* ZIM: [[Zimbabwe]] (erroneously used in some early [[Zimbabwean passport|Zimbabwean passports]]; corrected to ZWE)


Other values, which do not have broad acceptance internationally, include:
Other values, which do not have broad acceptance internationally, include:
Line 243: Line 242:
* XCT: [[Turkish Republic of Northern Cyprus]]
* XCT: [[Turkish Republic of Northern Cyprus]]


===Сhecksum calculation===
===Checksum calculation===
The check digit calculation is as follows: each position is assigned a value; for the digits 0 to 9 this is the value of the digits, for the letters A to Z this is 10 to 35, for the filler &lt; this is 0. The value of each position is then multiplied by its weight; the weight of the first position is 7, of the second it is 3, and of the third it is 1, and after that the weights repeat 7, 3, 1, and so on. All values are added together and the remainder of the final value divided by 10 is the check digit.
The check digit calculation is as follows: each position is assigned a value; for the digits 0 to 9 this is the value of the digits, for the letters A to Z this is 10 to 35, for the filler {{mono|&lt;}} this is 0. The value of each position is then multiplied by its weight; the weight of the first position is 7, of the second it is 3, and of the third it is 1, and after that the weights repeat 7, 3, 1, and so on. All values are added together and the remainder of the final value divided by 10 is the check digit.


===Names===
===Names===
Line 250: Line 249:


[[Apostrophe]]s and similar punctuation marks have to be omitted, but [[hyphen]]s and spaces should be replaced by an opening angle bracket.
[[Apostrophe]]s and similar punctuation marks have to be omitted, but [[hyphen]]s and spaces should be replaced by an opening angle bracket.
[[Diacritical mark]]s are not permitted in the MRZ. Even though they may be useful to distinguish names, the use of diacritical marks in the MRZ could confuse machine-reading equipment.


Section 6 of the 9303 part 3 document specifies transliteration of letters outside the A–Z range. It recommends that diacritical marks on [[Latin alphabet|Latin]] letters A-Z are simply omitted (ç → '''C''', ð → '''D''', ê → '''E''', ñ → '''N''' etc.), but it allows the following transliterations:
Section 6 of the 9303 part 3 document specifies transliteration of letters outside the A–Z range. It recommends that diacritical marks on [[Latin alphabet|Latin]] letters A-Z are simply omitted (ç → '''C''', ď → '''D''', ê → '''E''', ñ → '''N''' etc.), but it allows the following transliterations:
* å → '''AA'''
* [[å]] → '''AA'''
* ä → '''AE'''
* [[ä]] → '''AE'''
* ð → '''DH'''
* [[ð]] → '''DH'''
* [[IJ (digraph)|ij]] (Dutch letter; capital form: IJ, the J as part of the ligature being capitalized, too)→ '''IJ'''
* [[IJ (digraph)|ij]] (Dutch letter; capital form: IJ, the J as part of the ligature being capitalized, too)→ '''IJ'''
* ö → '''OE'''
* [[ö]] → '''OE'''
* ü → '''UE''' (German) or '''UXX''' (Spanish; not used in reality)
* [[ü]] → '''UE''' or '''UXX'''
* [[ñ]] → '''NXX''' (allowed<ref>https://www.icao.int/Meetings/TAG-MRTD/TagMrtd22/TAG-MRTD-22_WP03-rev.pdf</ref> but Spanish uses U and N for ü and ñ)
* ñ → '''NXX''' (not used in reality)
The following transliterations are mandatory:
* æ → '''AE'''
* ø, œ → '''OE'''
* ß → '''SS'''
* þ → '''TH'''


The following transliterations are mandatory:
In Germany, Austria, Switzerland, Hungary and Scandinavia it is standard to use the Å→AA, Ä or Æ→AE, Ö or Ø→OE, Ü→UE, and ß→SS mappings, so [[Müller (surname)|M'''ü'''ller'']] becomes M'''UE'''LLER, G'''öß'''mann becomes G'''OESS'''MANN, and [[Hämäläinen|H'''ä'''m'''ä'''l'''ä'''inen]] becomes H'''AE'''M'''AE'''L'''AE'''INEN. ð, ñ and ü occur in Iceland and Spain, but they write them as D, N and U.<!-- There are images of such passports in [[Icelandic passport]] and [[Spanish passport]]-->
* [[æ]] → '''AE'''
* [[œ]] → '''OE'''
* [[ß]] → '''SS'''
* [[þ]] → '''TH'''


In Germany, Austria, Switzerland and Scandinavia it is standard to use the Å→AA, Ä or Æ→AE, Ö or Ø→OE, Ü→UE, and ß→SS mappings, so [[Müller (surname)|M'''ü'''ller'']] becomes M'''UE'''LLER, G'''öß'''mann becomes G'''OESS'''MANN, and [[Hämäläinen|H'''ä'''m'''ä'''l'''ä'''inen]] becomes H'''AE'''M'''AE'''L'''AE'''INEN. ð, ñ and ü occur in Iceland and Spain, but they write them as D, N and U.<!-- There are images of such passports in [[Icelandic passport]] and [[Spanish passport]]-->
Austrian passports may (but do not always) contain a trilingual (in German, English, and French) explanation of the German [[Umlaut (linguistics)|umlauts]] and ß, e.g. 'ß' entspricht / is equal to / correspond à 'SS'.


Austrian passports may (but do not always) contain a trilingual (in German, English, and French) explanation of the German [[Umlaut (linguistics)|umlauts]] and ß.
There are also tables for the [[transliteration]] of names written using [[Cyrillic script|Cyrillic]] and [[Arabic alphabet|Arabic]] scripts, mainly based on transliteration rules into English. For example, the Russian surname Горбачёв ("Gorba'''tschow'''" in German, "Gorba'''tchov'''" in French, "Gorba'''chov'''" in Spanish, "Gorba'''czow'''" in Polish) is transcribed "Gorba'''chev'''" in both English and according to the ICAO 9303 rules.


Russian visas (and Russian internal passports since 2011) have a different transliteration into the machine-readable zone. As an example, the letter "ч" is usually transcribed as "ch" in Russian travel documents, however, Russian visas and internal passports use "3" in the machine-readable zone instead. Another example is "Alexei" (travel passport) => "Алексей" (Cyrillic version) => "ALEKSEQ" (machine readable version in an internal document). This makes it easier to transliterate the name back to Cyrillic.
Russian visas (and Russian internal passports since 2011) have a different transliteration of Cyrillic into the machine-readable zone. As an example, the letter "ч" is usually transcribed as "ch" in Russian travel documents, however, Russian visas and internal passports use "3" in the machine-readable zone instead. Another example is "Алексей" (Cyrillic version) "ALEKSEQ" (machine readable version in an internal document). This makes it easier to transliterate the name back to Cyrillic.


===First and given names===
===First and given names===
For airline tickets, visas and more, the advice is to only use the first name written in the passport. This is a problem for people who use their second name (as defined by the order in the passport) as their main name in daily speech. It is common, for example in Scandinavia, that the second or even third name is the one defined for daily usage. For example, the actor [[Hugh Laurie]], whose full name is James Hugh Calum Laurie. Swedish travel agents usually book people using the first and daily name if the first one is not their main name, despite advice to use only the first name. If this is too long, the spelling in the MRZ could be used.
For airline tickets, visas and more, the advice is to only use the first name written in the passport. This is a problem for people who use their second name (as defined by the order in the passport) as their main name in daily speech. It is common, for example in Scandinavia, that the second or even third name is the one defined for daily usage: for example, the actor [[Hugh Laurie]], whose full name is James Hugh Calum Laurie. Swedish travel agents usually book people using the first and daily name if the first one is not their main name, despite advice to use only the first name. If this is too long, the spelling in the MRZ could be used.


For people using a variant of their first name in daily speech, for example the former US president [[Bill Clinton]] whose full name is William Jefferson Clinton, the advice is to spell their name as in the passport.
For people using a variant of their first name in daily speech, for example the former US president [[Bill Clinton]] whose full name is William Jefferson Clinton, the advice is to spell their name as in the passport.


In Scandinavian legislation, middle name is a name placed between given and surname, and is usually a family name. Such names are written as extra surname in the passports. People have been stranded at airports since they entered this extra family name in the "middle name" field in airline booking form, which in English speaking tradition is a given name.
In Scandinavian legislation, a middle name is a name placed between the given name and surname, and is usually a family name. Such names are written as an extra surname in passports. People have been stranded at airports since they entered this extra family name in the "middle name" field in airline booking forms, which in English speaking tradition is a given name.


[[Chinese name|Chinese]], [[Japanese name|Japanese]], [[Korean name|Korean]] and [[Hungarian name]]s might pose a challenge too, since the family name is normally written first. Tickets should use given name and surname as indicated in passports.
[[Chinese name|Chinese]], [[Japanese name|Japanese]], [[Korean name|Korean]] and [[Hungarian name]]s might pose a challenge too, since the family name is normally written first. Tickets should use given name and surname as indicated in passports.


This name issue is also an issue for post-Brexit EU women under the Brexit settled status.{{Explain|date=September 2021}}<ref>{{Cite web|date=2021-06-26|title=Brexit: EU women fear losing jobs and housing over UK computer glitch|url=http://www.theguardian.com/money/2021/jun/26/brexit-eu-women-jobs-uk-settled-status|access-date=2021-08-15|website=the Guardian|language=en}}</ref>
This name issue is also an issue for post-Brexit EU women under the Brexit settled status (they have two family names, a birth and marriage name, but only the birth name was used by the passport MRZ and therefore used in the settlement application, although they have been using the married name in UK population register).{{Explain|date=September 2021}}<ref>{{Cite web|date=2021-06-26|title=Brexit: EU women fear losing jobs and housing over UK computer glitch|url=http://www.theguardian.com/money/2021/jun/26/brexit-eu-women-jobs-uk-settled-status|access-date=2021-08-15|website=the Guardian|language=en}}</ref>


==See also==
==See also==

Latest revision as of 16:08, 5 May 2024

A machine-readable passport (MRP) is a machine-readable travel document (MRTD) with the data on the identity page encoded in optical character recognition format. Many countries began to issue machine-readable travel documents in the 1980s. Most travel passports worldwide are MRPs. The International Civil Aviation Organization (ICAO) requires all ICAO member states to only issue MRPs as of April 1, 2010, and all non-MRP passports must expire by November 24, 2015.[1]

Machine-readable passports are standardized by the ICAO Document 9303 (endorsed by the International Organization for Standardization and the International Electrotechnical Commission as ISO/IEC 7501-1) and have a special machine-readable zone (MRZ), which is usually at the bottom of the identity page at the beginning of a passport. The ICAO 9303 describes three types of documents corresponding to the ISO/IEC 7810 sizes:

  • "Type 3" is typical of passport booklets. The MRZ consists of 2 lines × 44 characters.
  • "Type 2" is relatively rare with 2 lines × 36 characters.
  • "Type 1" is of a credit card-size with 3 lines × 30 characters.

The fixed format allows specification of document type, name, document number, nationality, date of birth, sex, and document expiration date. All these fields are required on a passport. There is room for optional, often country-dependent, supplementary information. There are also two sizes of machine-readable visas similarly defined.

Computers with a camera and suitable software can directly read the information on machine-readable passports. This enables faster processing of arriving passengers by immigration officials, and greater accuracy than manually-read passports, as well as faster data entry, more data to be read and better data matching against immigration databases and watchlists.

Apart from optically readable information, many passports contain an RFID chip which enables computers to read a higher amount of information, for example a photo of the bearer. These passports are called biometric passports and are also described by ICAO 9303.

Format[edit]

Passport booklets[edit]

Page of a passport with machine-readable zone in the red oval (US passport pictured)

Passport booklets have an identity page containing the identity data. This page is in the TD3 size of 125 × 88 mm (4.92 × 3.46 in).

The data of the machine-readable zone consists of two rows of 44 characters each. The only characters used are A–Z, 0–9 and the filler character <.

First row
Positions Length Characters Meaning
1 1 alpha P, indicating a passport
2 1 alpha+< Type (for countries that distinguish between different types of passports)
3–5 3 alpha Issuing country or organization (ISO 3166-1 alpha-3 code with modifications)
6–44 39 alpha+< Surname, followed by two filler characters, followed by given names. Given names are separated by single filler characters. Some countries do not differentiate between surname and given name (i.e. no two filler characters), such as the Malaysian Passport

In the name field, spaces, hyphens and other punctuation are represented by <, except apostrophes, which are skipped. If the names are too long, names are abbreviated to their most significant parts. In that case, the last position must contain an alphabetic character to indicate possible truncation, and if there is a given name, the two fillers and at least one character of it must be included.

Second row
Positions Length Characters Meaning
1–9 9 alpha+num+< Passport number
10 1 numeric Check digit over digits 1–9
11–13 3 alpha+< Nationality or Citizenship (ISO 3166-1 alpha-3 code with modifications)
14–19 6 numeric Date of birth (YYMMDD)
20 1 numeric Check digit over digits 14–19
21 1 alpha+< Sex (M, F or < for male, female or unspecified)
22–27 6 numeric Expiration date of passport (YYMMDD)
28 1 numeric Check digit over digits 22–27
29–42 14 alpha+num+< Personal number (may be used by the issuing country as it desires)
43 1 numeric+< Check digit over digits 29–42 (may be < if all characters are <)
44 1 numeric Check digit over digits 1–10, 14–20, and 22–43

Official travel documents[edit]

Hungarian identity card (2016)

Smaller documents such as identity and passport cards are usually in the ID-1 size, which is 85.6 × 54.0 mm (3.37 × 2.13 in), the same size as credit cards. The data of the machine-readable zone in a TD1 size card consists of three rows of 30 characters each. The only characters used are A–Z, 0–9 and the filler character <.

Some official travel documents are in the larger ID-2 size, 105.0 × 74.0 (4.13 × 2.91 in). They have a layout of the MRZ with two rows of 36 characters each, similar to the TD3 format, but with 31 characters for the name, 7 for the personal number and one less check digit. Yet some official travel documents are in the booklet format with a TD3 identity page.

The format of the first row for ID-1 (credit card size) documents is:

Positions Length Chars Meaning
1 1 alpha I, A or C
2 1 alpha+num+< Type, This is at the discretion of the issuing state or authority, but 1–2 should be AC for Crew Member Certificates and V is not allowed as 2nd character. ID or I< are typically used for nationally issued ID cards and IP for passport cards.
3–5 3 alpha+< Issuing country or organization (ISO 3166-1 alpha-3 code with modifications)
6–14 9 alpha+num+< Document number
15 1 num+< Check digit over digits 6–14
16–30 15 alpha+num+< Optional

The format of the second row is:

Positions Length Chars Meaning
1–6 6 num Date of birth (YYMMDD)
7 1 num Check digit over digits 1–6
8 1 alpha+< Sex (M, F or < for male, female or unspecified)
9-14 6 num Expiration date of document (YYMMDD)
15 1 num Check digit over digits 9–14
16–18 3 alpha+< Nationality
19–29 11 alpha+num+< Optional1
30 1 num Check digit over digits 6–30 (upper line), 1–7, 9–15, 19–29 (middle line)[2]

1: United States Passport Cards, as of 2011, use this field for the application number that produced the card. [citation needed]

The format of the third row is:

Positions Length Chars Meaning
1–30 30 alpha+< Surname, followed by two filler characters, followed by given names

The format of the first row for ID-2[3] (medium size) documents is:

Positions Length Chars Meaning
1 1 alpha I, P, A or C
2 1 alpha+< Type, This is at the discretion of the issuing state or authority, but 1–2 should be AC for Crew Member Certificates and V is not allowed as 2nd character. ID or I< are typically used for nationally issued ID cards and IP for passport cards.
3–5 3 alpha+< Issuing country or organization (ISO 3166-1 alpha-3 code with modifications)
6–36 30 alpha+< Name and surname. If there is more than one name they are separated by single filler. Double filler indicates the end of the primary identifier.

The format of the second row is:

Positions Length Chars Meaning
1–9 9 num Document, ID number
10 1 num Check digit over document number
11-13 3 alpha+< Nationality
14-19 6 num Birthday (YYMMDD)
20 1 num Check digit for birthday
21 1 M or F Gender
22-27 6 num Expiration date (YYMMDD)
28 1 num Check digit for expiration
29-35 7 alpha+num+< Optional data
35 1 num Check digit over optional data (not specified in ICAO 9303-6, may be used by issuing country regardless)
36 1 num Check digit over digits 1–10, 14–20, and 22–35

Machine-readable visas[edit]

MRV-B Visa MRZ Construction
Chinese visa (2019)

The ICAO Document 9303 part 7 describes machine-readable visas. They come in two different formats:

  • MRV-A - 80 mm × 120 mm (3.15 in × 4.72 in), 2 × 44 chars
  • MRV-B - 74 mm × 105 mm (2.91 in × 4.13 in), 2 × 36 chars

The format of the first row of the machine-readable zone is:

Positions Length Chars Meaning
1 1 alpha "V"
2 1 alpha+< Type, this is at the discretion of the issuing state or authority
3–5 3 alpha+< Issuing country or organization (ISO 3166-1 alpha-3 code with modifications)
6–44 39 alpha+< Name in MRV-A
6–36 31 alpha+< Name in MRV-B

The format of the second row is:

Positions Length Chars Meaning
1-9 9 alpha+num+< Passport or Visa number
10 1 num Check digit
11–13 3 alpha+< Nationality
14–19 6 num Date of birth (YYMMDD)
20 1 num Check digit
21 1 alpha+< Sex
22-27 6 num Valid until (YYMMDD)
28 1 num Check digit
29–44 16 alpha+num+< Optional data in MRV-A
29–36 8 alpha+num+< Optional data in MRV-B

Specifications common to all formats[edit]

The ICAO document 9303 part 3 describes specifications common to all Machine Readable Travel Documents.

The dimensions of the effective reading zone (ERZ) is standardized at 17.0 mm (0.67 in) in height with a margin of 3 mm at the document edges and 3.2 mm at the edge against the visual readable part. This is in order to allow use of a single machine reader.

Nationality / Citizenship codes[edit]

The nationality codes shall contain the ISO 3166-1 alpha-3 code with modifications for all formats. The check digit calculation method is also the same for all formats.

Some values that are different from ISO 3166-1 alpha-3 are used for the issuing country and nationality field:[4]

Other values, which do not have broad acceptance internationally, include:

Checksum calculation[edit]

The check digit calculation is as follows: each position is assigned a value; for the digits 0 to 9 this is the value of the digits, for the letters A to Z this is 10 to 35, for the filler < this is 0. The value of each position is then multiplied by its weight; the weight of the first position is 7, of the second it is 3, and of the third it is 1, and after that the weights repeat 7, 3, 1, and so on. All values are added together and the remainder of the final value divided by 10 is the check digit.

Names[edit]

Due to technical limits, characters inside the Machine Readable Zone (MRZ) need to be restricted to the 10 Arabic numerals, the 26 capital Latin letters A through Z, and the filler character <.

Apostrophes and similar punctuation marks have to be omitted, but hyphens and spaces should be replaced by an opening angle bracket.

Section 6 of the 9303 part 3 document specifies transliteration of letters outside the A–Z range. It recommends that diacritical marks on Latin letters A-Z are simply omitted (ç → C, ď → D, ê → E, ñ → N etc.), but it allows the following transliterations:

  • åAA
  • äAE
  • ðDH
  • ij (Dutch letter; capital form: IJ, the J as part of the ligature being capitalized, too)→ IJ
  • öOE
  • üUE or UXX
  • ñNXX (allowed[5] but Spanish uses U and N for ü and ñ)

The following transliterations are mandatory:

In Germany, Austria, Switzerland and Scandinavia it is standard to use the Å→AA, Ä or Æ→AE, Ö or Ø→OE, Ü→UE, and ß→SS mappings, so Müller becomes MUELLER, Gößmann becomes GOESSMANN, and Hämäläinen becomes HAEMAELAEINEN. ð, ñ and ü occur in Iceland and Spain, but they write them as D, N and U.

Austrian passports may (but do not always) contain a trilingual (in German, English, and French) explanation of the German umlauts and ß.

Russian visas (and Russian internal passports since 2011) have a different transliteration of Cyrillic into the machine-readable zone. As an example, the letter "ч" is usually transcribed as "ch" in Russian travel documents, however, Russian visas and internal passports use "3" in the machine-readable zone instead. Another example is "Алексей" (Cyrillic version) → "ALEKSEQ" (machine readable version in an internal document). This makes it easier to transliterate the name back to Cyrillic.

First and given names[edit]

For airline tickets, visas and more, the advice is to only use the first name written in the passport. This is a problem for people who use their second name (as defined by the order in the passport) as their main name in daily speech. It is common, for example in Scandinavia, that the second or even third name is the one defined for daily usage: for example, the actor Hugh Laurie, whose full name is James Hugh Calum Laurie. Swedish travel agents usually book people using the first and daily name if the first one is not their main name, despite advice to use only the first name. If this is too long, the spelling in the MRZ could be used.

For people using a variant of their first name in daily speech, for example the former US president Bill Clinton whose full name is William Jefferson Clinton, the advice is to spell their name as in the passport.

In Scandinavian legislation, a middle name is a name placed between the given name and surname, and is usually a family name. Such names are written as an extra surname in passports. People have been stranded at airports since they entered this extra family name in the "middle name" field in airline booking forms, which in English speaking tradition is a given name.

Chinese, Japanese, Korean and Hungarian names might pose a challenge too, since the family name is normally written first. Tickets should use given name and surname as indicated in passports.

This name issue is also an issue for post-Brexit EU women under the Brexit settled status (they have two family names, a birth and marriage name, but only the birth name was used by the passport MRZ and therefore used in the settlement application, although they have been using the married name in UK population register).[further explanation needed][6]

See also[edit]

References[edit]

  1. ^ "Last Week for States to Ensure Expiration of Non-Machine Readable Passports". ICAO. Montréal. 17 November 2015. Retrieved 11 March 2024.
  2. ^ Doc 9303: Machine Readable Travel Documents, Part 3: Specifications Common to all MRTDs (PDF) (Eighth ed.). International Civil Aviation Organization. 2015. ISBN 978-92-9249-792-7. Retrieved 2016-03-03.
  3. ^ "MRZ formats — ultimateMRZ 2.9.0 documentation".
  4. ^ Doc9303 Machine Readable Travel Documents Part3 Seventh Edition, 2015
  5. ^ https://www.icao.int/Meetings/TAG-MRTD/TagMrtd22/TAG-MRTD-22_WP03-rev.pdf
  6. ^ "Brexit: EU women fear losing jobs and housing over UK computer glitch". the Guardian. 2021-06-26. Retrieved 2021-08-15.

External links[edit]