Check a Codice Fiscale

Codice Fiscale Checker

Check the formal validity of a codice fiscale for free: structure, date, homocody and check character

Single check

If the code is not valid, we tell you exactly which check fails (length, month, day or check character).

Multiple check (batch)

Paste several codes, one per line (or separated by spaces or commas): we check them all and you can download the results as CSV.

Formal check of the code’s structure: it does not replace the verification services of the Agenzia delle Entrate. Calculate a codice fiscale · Reverse codice fiscale · How homocody works

🔒 Privacy: the data you enter is never saved or sent to our servers: the calculation runs entirely in your browser.

VERIFICATION REPORT — CODICEFISCALECALCOLA.COM
Date and time of the check:
Formal check of the codice fiscale structure generated by codicefiscalecalcola.com: it does not replace the services of the Agenzia delle Entrate and does not certify the existence or assignment of the code.

Paste any codice fiscale into the checker and it tests the code’s formal validity in one pass: the 16-character structure and the final check letter that ties the whole code together. It also decodes the birth data and place stored inside the code and, when something fails, tells you exactly which test failed, so you can find the mistake instead of guessing.

Keep one distinction in mind: a pass means the code is well formed, not that it exists. Formal validity says nothing about whether the code is registered in the Anagrafe Tributaria or belongs to a particular person. Only the Agenzia delle Entrate (Italian Revenue Agency) can confirm that, through its official verification service.

What this checker verifies

The checker runs the same formal tests that administrative software applies whenever a codice fiscale is typed into a form. It looks only at the code itself, at its shape and its internal consistency:

  • Length: the code is exactly 16 characters long.
  • Pattern: letters and digits sit in the positions the format requires, with letters for the name parts, the month and the check character, and digits for the year and the day.
  • Month letter: the ninth character is one of the twelve official month letters (A, B, C, D, E, H, L, M, P, R, S or T).
  • Day value: the day digits fall inside the valid ranges, 01 to 31 for men and 41 to 71 for women.
  • Homocody: letters appearing in digit positions are recognised as possible official substitutions and are converted back to the base code before the other tests run.
  • Check character: the final letter equals the value computed from the first fifteen characters, using the official odd and even position tables and the remainder after division by 26.

A code that passes every test is formally valid. A code that fails even one is certainly wrong somewhere, and the result names the failed test so you know where to start looking.

The most common errors

Almost every failure comes down to a copying mistake rather than a genuinely broken code. These are the errors the checker reports most often, and what each one usually means:

ErrorWhat it usually means
Wrong check characterA character earlier in the code was mistyped. The check letter is computed from all fifteen others, so a typo anywhere in the code makes this test fail.
Wrong lengthA character was dropped or duplicated while copying, or a space crept into the code.
Invalid month letterThe ninth character is not one of the twelve month letters, often a misread letter from a card or a scan.
Day out of rangeThe day digits fall outside 01 to 31 and 41 to 71; the day and month may have been swapped, or a digit misread.
Letters where digits are expectedOften not an error at all: the Agenzia delle Entrate replaces digits with letters in official homocody variants.
Look-alike charactersThe letter O read as zero, or the letter I read as the digit 1, when copying from a card, a scan or handwriting.

Before concluding that a code is wrong, retype it slowly from the original document and run the check again. In practice, most failures disappear at the second attempt.

Formally valid, but is it real?

A passed check proves only that a code is well formed. It does not prove that the code was ever issued, that it is registered in the Anagrafe Tributaria, or that it belongs to the person who presented it. Anyone can assemble a string of characters that passes every formal test, including the check letter, without that code belonging to anybody at all.

When certainty matters, employers, banks and public offices use the verification service of the Agenzia delle Entrate, which compares the code against the tax registry itself. Treat this checker as a fast first filter, ideal for catching typos on contracts, invoices and application forms before they turn into rejected filings. Pair it with our reverse lookup to see whether the birth data inside the code matches the person it is supposed to describe.

What to do if a code fails

Start with the copy, not with the code. Retype the code directly from the original document, watching the classic traps: the letter O against zero, the letter I against the digit 1, and letters in digit positions that belong to an official homocody variant. If you know the holder’s name, date of birth and place of birth, run them through the codice fiscale calculator and compare its result with the failing code position by position; the first difference usually marks the copying error.

If the code still fails while copied exactly as printed on an official card or certificate, do not improvise a correction. Changing characters until the check passes can produce a formally valid code that points to a different person’s registration. The holder should instead ask the Agenzia delle Entrate to verify the registration, or the ASL, the local health authority, if the problem appears on a health card.

Frequently asked questions

If a code passes this check, does it mean it really exists?

No. Passing means the structure and the check letter are correct, nothing more. Whether the code exists in the Anagrafe Tributaria and belongs to a specific person can only be confirmed through the official verification service of the Agenzia delle Entrate.

Why does an official code fail the check?

Almost always because of transcription: a character copied wrongly from the card, the letter O read as zero or the letter I read as 1, or a homocody letter misread. Retype the code carefully from the original document. This checker recognises official homocody variants, so a genuine code typed exactly as printed should pass.

Can I check someone else’s codice fiscale?

You can run a formal check on any code you legitimately hold, for example as an employer, accountant or administrator processing a form. The result concerns only the code’s structure, not the person’s records. A codice fiscale is personal data, so handle and store it with the same care as any other identifier.

What does “wrong check character” mean?

It means the final letter does not match the value computed from the first fifteen characters. The faulty character is usually not the check letter itself but a mistyped character earlier in the code, because the check letter is calculated from all of them and exposes any inconsistency among them.

How do the batch check and the CSV export work?

Paste several codes into the batch box, one per line or separated by spaces or commas, and the checker tests them all in a single run, reporting the result for each code. You can then download the full results as a CSV file, which is handy for cleaning up lists of clients, employees or tenants before filing.

Is the code I enter stored anywhere?

No. The check runs entirely in your browser: the code you type is not sent to a server and is not stored anywhere. Once you close or refresh the page, nothing of what you entered remains.

How do I check the validity of an Italian tax code online?

Type or paste the 16-character code into the checker on this page: it verifies the structure of the code, its check character and the birth data encoded in it, entirely in your browser. This confirms that the code is formally correct; only the Agenzia delle Entrate can officially confirm that a code exists and belongs to a specific person.

Keep exploring

To work out the code a person should have, use the codice fiscale calculator; to read the data inside an existing code, try the reverse lookup; and to find the place code of any Italian town, search the Belfiore codes list. New to the topic? Start from our English guide to the codice fiscale or the guide for foreigners getting a codice fiscale.