Search for a tool
European ID Card

Tool to understand and calculate numbers and information on European ID cards, including character lines at the bottom of the card.

Results

European ID Card -

Tag(s) : Fun/Miscellaneous

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'European ID Card' tool for free! Thank you!

European ID Card

Card Code Generator (3 Lines)






//
//

ID Card Checker




Checksum Calculator


See also: IBAN Number

Answers to Questions (FAQ)

What is the Europe ID card code? (Definition)

At the bottom of the European identity card is an optically readable strip written in black on a white background (MRZ machine-readable zone), which presents all the information of the card in a structured format.

What does the European ID card code mean? (2021 version)

The European version 2021 of the European identity card consists of three lines of 30 characters each, making a total of 90 characters. The first line starts with the 2 letters ID, followed by the country code, here is in detail:

PositionMeaning of content
1-2Always the 2 letters ID (for IDentity)
3-53-letter (ISO3166) country code
6-14Official card number (composed of 9 alphanumeric characters A-Z0-9)
15Checksum digit for Card number
16-30Empty/Reserved/Not used (filled with <)

Example: ID FRA 123456789 X ‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹

The date of birth is the first information on the second line, followed by the sex and the expiry date.

PositionMeaning of content
1-2Year (2 digits) of birth
3-4Month (2 digits) of birth
5-6Day (2 digits) of birth
7Checksum for 6-digit birthdate
8Sex (M or F)
9-10Year (2 digits) of expiry of the card
11-12Month (2 digits) of expiry
13-14Day (2 digits) of expiry
15Expiry date checksum
16-18Nationality of the holder on 3 letters
19-29Empty/Reserved/Not used (filled with <)
30Checksum of Card number concatenated with date of birth and date of expiration (including checksums)

Example: 990130 X M 490101 X FRA ‹‹‹‹‹‹‹‹‹‹ X

The cardholder's name appears on the third line:

PositionMeaning of content
1-30Last name and first names written in capital letters without accent, and any non-alphabetic character is replaced by the symbol ‹. First names are separated from the family name by a double chevron ‹‹.

Example: DUPONT‹‹MICHEL‹JEAN‹‹‹‹‹‹‹‹‹‹‹

What is the number of the Europe ID card?

The identity card number consists of 9 alphanumeric characters and corresponds to the characters located between the 6th and the 14th position of the first line.

Example: DOCUMENT NUMBER XXXXXXXXXX

How to calculate checksums?

To calculate the checksum, each character is associated with a numerical value ranging from 0 for the character , 1 for 1 to 9 for 9, 10 for A , 11 for B, and so on up to 35 for Z.

Each character must be multiplied by a factor chosen from three values: 7 for the first character, 3 for the second, 1 for the third, 7 for the fourth, 3 for the fifth, and and so on.

Add all the numbers obtained and retain the last digit corresponding to the units of the result. This number is the control key (checksum).

Example: Calculate the checksum key for DCODE1<, the sum is calculated 91+36+24+91+42+1+0=285 and then the key is 5 :

D13*7=91Σ=91
C12*3=36Σ=127
O24*1=24Σ=151
D13*7=91Σ=242
E14*3=42Σ=284
11*1=1Σ=285
0*7=0Σ=285

How to generate a fake ID card?

The dCode generator only uses public data, without internal numbers and codes provided by the administration. It should be remembered that the use of a false document, fake identity papers, or a fake identity card is punishable by a prison sentence of 5 years and a minimum fine of 75000€.

How to check an ID card?

The dCode checker allows you to check if the MRZ code (the 3 black lines on a white background) of an ID card is valid.

However, in no case can the software check if the card is valid, only government software can do that.

Source code

dCode retains ownership of the "European ID Card" source code. Except explicit open source licence (indicated Creative Commons / free), the "European ID Card" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "European ID Card" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "European ID Card" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

Cite dCode

The copy-paste of the page "European ID Card" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
European ID Card on dCode.fr [online website], retrieved on 2024-12-21, https://www.dcode.fr/european-id-card

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'European ID Card' tool for free! Thank you!


https://www.dcode.fr/european-id-card
© 2024 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
 
Feedback