Checking the MRZ strip of a French electronic identity card

3 Jun 2024 | Document verification, France, Identity documents

The MRZ stripe is an important element in the security of an electronic identity card: it contains the most critical information, and enables in-depth control of the authenticity of this information, preventing it from being falsified.

In this article, we’ll look at the most common cases of fraud involving electronic ID cards, and how to avoid them.
Let’s get started!

Professionals, do you need to integrate proof of identity validation into one of your business processes, including all European identity cards and global passports? Discover our API with web application to validate the authenticity of an identity document in less than 10s!

Small structures and individuals, do you simply need to verify one or more proof of identity via a web application? Discover our identity web suite!

What information is contained in the MRZ electronic identity card strip?

specimen electronic identity card

We have written a comprehensive article on the information contained in the MRZ strip of a 1995 version of a French identity card, which you can find at Check the MRZ strip of an electronic identity card.

Enjoy your reading!

Controls on the first MRZ ID card line 2021

The first 5 characters are always the same: IDFRA.

They are followed by the card number on 9 characters: we can therefore check that there are 9 characters precisely.

Finally, the document number control key, which can be checked with our service.

Controls on the second line of the MRZ ID card strip

The second line begins with the holder’s 6-digit date of birth, in YYMMDD format: you can check that this corresponds to the date of birth shown on the front of the document.

Then the date of birth control key, which can be checked with our service.

Then the holder’s gender, which is either “M” for a man, or “F” for a woman.

You’ll then find the document’s 6-digit expiry date, in YYMMDD format: you can check that this corresponds to the expiry date indicated on the document.

Then the expiration date control key, verifiable with our service.

Then the 3-character country code, using the ISO 3166 code (“FRA” logically for a French ID card).

Then chevrons to complete the line, 11 in all.

Finally, the control key for lines 1 and 2, again verifiable with our service.

Controls on the third line

The third line begins with the holder’s surname and first names, separated by two chevrons between the surname and first names, and a single chevron between the first names, completed by chevrons at the end of the line.

Practical work

Case n°1

specimen electronic identity card

Can you detect the problem(s) on the map above?

Answer

Everything seems to be in order, but there’s one thing that’s not right!

– the document number has 8 characters instead of 9!

Case n°2

specimen electronic identity card

Can you detect the problem(s) on the map above?

Answer

Everything seems to be in order compared to the error reported in case n°1, but there is an error!

– the expiry date control key is incorrect (3 instead of 9)

This type of inconsistency is detectable with our service!

Case n°3

specimen electronic identity card

Can you detect the problem(s) on the map above?

Answer

Everything seems to be in order compared to the errors reported in case n°2, but there’s still an error!

– the document’s global control key is incorrect!
(0 instead of 6)

This type of inconsistency is detectable with our service!

Conclusion

You’ll now be able to identify the main changes on the MRZ strip of an electronic identity card!

We advise you to use our service, which will check your parts completely in just a few minutes!

Articles de la catégorie