MRZ checker

Paste the lines of the MRZ, the band of <<< characters at the bottom of a passport or on the back of an ID card. The tool recognises the format and checks every check digit. Everything runs in your browser: nothing is sent anywhere.

The calculation runs in your browser: the number you type is not sent to any server.

What is the MRZ?

The MRZ (machine readable zone) repeats the document's key data in a form machines can read: document type, country, name, number, date of birth, sex, expiry date. Its format is set by the international standard ICAO 9303.

Several fields are followed by a check digit computed from that field, and a final digit checks the whole. A copying mistake or a clumsy edit breaks them.

Supported formats

How a check digit is computed

What the check proves, and what it does not

Wrong digits on a digital document are a strong signal: the MRZ was mistyped or edited. On a photo or a scan, first make sure you read every character right: 0 and O, or 8 and B, are easy to confuse.

Right digits do not prove the document is genuine: the algorithm is public. The most useful check is to compare the MRZ with the printed part: name, date of birth and expiry date must match. A forger who edits the printed name or date often forgets the MRZ.

Other tools

IBAN checker: validate the check digits and the length

Free IBAN checker: validates the mod-97 check digits, the expected length for the country and, for French IBANs, the RIB key. Everything runs in your browser.

Open the tool →

French RIB Key Calculator and RIB Checker

Compute the key of a French RIB from its bank, branch and account codes, or check a full RIB and get the matching IBAN. Free; the calculation stays in your browser.

Open the tool →

SIRET checker: Luhn check digit and the La Poste rule

Free SIRET checker: validates the 14-digit French establishment number with the Luhn formula, including the special rule for La Poste establishments. Runs locally.

Open the tool →

SIREN checker: Luhn check and matching French VAT number

Free SIREN checker: validates the 9-digit French company number with the Luhn formula and derives the intra-EU VAT number it implies. Runs in your browser, nothing is sent.

Open the tool →

French VAT number checker: key and SIREN consistency

Free French VAT number checker: validates the two-digit key against the SIREN it precedes and the SIREN's own Luhn digit. Runs in your browser; use VIES for registration.

Open the tool →

French social security number (NIR) key checker

Check the two-digit key of a French social security number (13 digits plus key, Corsica's 2A/2B included). The number stays in your browser: nothing is sent anywhere.

Open the tool →

More guides

How to Verify an ID Card or Passport Copy

An ID card or passport copy in an application: the MRZ and its check digits, consistency with the printed data, validity dates, edits to the file.

Read the guide →

How to Spot a Fake Rental Application in France

Pay slips, tax notice, ID: how to check a French rental application document by document, and the papers a landlord is not allowed to ask for.

Read the guide →

Analyse a document for free