International · Italy
Italian codice fiscale validator.
Check the 16-character Italian tax code of a person and read back the birth month, day and sex it encodes. Everything runs in your browser.
How it works: the first 15 characters are converted to numbers with one table for odd positions and another for even positions, added up, and divided by 26. The remainder (0 to 25) becomes the 16th character, A to Z.
Inputs
Result
Enter a codice fiscale and press Check.
How the codice fiscale is built
The personal codice fiscale is 16 characters: 3 letters from the surname, 3 from the given name, 2 digits of birth year, a letter for the birth month, 2 digits for the birth day (plus 40 for women), a 4-character place code (a letter and three digits) and a final check letter. Only the check letter, the month letter and the day are verified here; the surname and name letters need the person's actual name, which this tool never asks for.
| Step | What happens |
|---|---|
| 1 | Take the first 15 characters. Characters in positions 1, 3, 5 … 15 use the odd table; positions 2, 4, 6 … 14 use the even table |
| 2 | Even table: digits 0-9 are worth 0-9 and letters A-Z are worth 0-25 |
| 3 | Odd table: 0/A=1, 1/B=0, 2/C=5, 3/D=7, 4/E=9, 5/F=13, 6/G=15, 7/H=17, 8/I=19, 9/J=21, K=2, L=4, M=18, N=20, O=11, P=3, Q=6, R=8, S=12, T=14, U=16, V=10, W=22, X=25, Y=24, Z=23 |
| 4 | Add all 15 values, divide by 26, and turn the remainder into a letter (0=A … 25=Z) |
Month letters are A January, B February, C March, D April, E May, H June, L July, M August, P September, R October, S November, T December. The widely published example RSSMRA80A01H501U gives a sum of 98, remainder 20, letter U.
Omocodia
When two people would get the same code, the decree lets the digits in positions 7, 8, 10, 11, 13, 14 and 15 be replaced by the letters L M N P Q R S T U V (0 to 9). The check letter is then computed on the substituted characters. This tool accepts and decodes those variants.
What this does not do
The two-digit year does not say which century, so no age is shown. The place code is displayed as written; it is not translated to a municipality name because we did not verify a full official table. A code starting with Z is a foreign state. A passing result means the code is internally consistent, not that it was issued to anyone.
Sources
Ministero delle Finanze, Decreto Ministeriale 23 dicembre 1976, “Sistemi di codificazione dei soggetti da iscrivere all’anagrafe tributaria” (Gazzetta Ufficiale n. 345, 29 December 1976, supplemento ordinario), articles 5, 6 and 7. Text checked against nonsolocap.it and dossier.net, which agree.
Checksum only — not an Agenzia delle Entrate lookup
This tool checks the check letter entirely in your browser. A checksum-valid result is not proof the code was ever issued. Nothing you type is transmitted, stored, or logged.
Che cos’è il codice fiscale / What the code is
The Italian codice fiscale is the tax code of a person. For individuals it is 16 characters long and, unlike a random number, it is derived from personal data according to rules set out in the Decreto Ministeriale of 23 December 1976 (articles 3 to 7). That is why a checker can read some of it back. It also explains the questions people type into search engines: “codice controllo codice fiscale” is the sixteenth character, “associazione codice fiscale” is how the letters map to a name, a date and a place, and “codice fiscale scaduto” is a common worry that has a simple answer in the FAQ below.
Reading the 16 characters
| Characters | Meaning (per the 1976 decree) | In RSSMRA80A01H501U |
|---|---|---|
| 1–3 | Surname: the first three consonants; with only two consonants, both plus the first vowel; short surnames are padded with X | RSS (Rossi) |
| 4–6 | Given name: same logic, except that with four or more consonants the 1st, 3rd and 4th are taken | MRA (Mario: M, R, then the first vowel A) |
| 7–8 | Last two digits of the birth year | 80 |
| 9 | Month letter: A Jan, B Feb, C Mar, D Apr, E May, H Jun, L Jul, M Aug, P Sep, R Oct, S Nov, T Dec | A (January) |
| 10–11 | Day of birth; for women, 40 is added so the range is 41–71 | 01 (a man born on the 1st) |
| 12–15 | Place code: one letter and three digits taken from the official lists of municipalities and foreign states | H501 |
| 16 | Control character (check letter) | U |
Worked check-letter calculation
Article 7 converts the first 15 characters to numbers with two tables, an odd table for positions 1, 3, 5 … 15 and an even table for positions 2, 4, 6 … 14, adds the values, divides by 26 and turns the remainder into a letter (0 is A, 25 is Z). Using the odd and even tables listed earlier on this page for RSSMRA80A01H501:
| Position | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Character | R | S | S | M | R | A | 8 | 0 | A | 0 | 1 | H | 5 | 0 | 1 |
| Table | odd | even | odd | even | odd | even | odd | even | odd | even | odd | even | odd | even | odd |
| Value | 8 | 18 | 12 | 12 | 8 | 0 | 19 | 0 | 1 | 0 | 0 | 7 | 13 | 0 | 0 |
The values add up to 98. 98 divided by 26 leaves 20 (26 × 3 = 78), and the letter for 20 is U, so the control character is U and the code ends correctly. Change any earlier character, for instance the day from 01 to 02, and the sum moves so the letter U no longer fits.
Omocodia: when two people get the same code
Because the first 15 characters come from a name, a date and a place, two people can end up with the same ones. Article 6 of the decree resolves this by replacing digits with letters, starting from the rightmost digit: 0 becomes L, 1 becomes M, 2 N, 3 P, 4 Q, 5 R, 6 S, 7 T, 8 U and 9 V. Only the seven numeric positions can be substituted. The check character is then recalculated on the substituted characters. As an illustration, replacing the last digit of the example (the 1 in position 15) with M gives RSSMRA80A01H50M, whose sum is 116, remainder 12 and check letter M. This tool accepts these substituted forms and decodes the digits underneath.
What this tool cannot do
- It cannot tell whether a code is genuine. A correct control character means the code is internally consistent, not that it was ever issued.
- It does not verify the name letters. That needs the person’s real name, which the tool never asks for.
- It cannot say how old someone is. The code holds only two digits of the birth year.
- It does not name the municipality. The place code is shown as written because a complete official table was not verified for this page.
- It does not cover company codes. Those are 11-digit numbers; see the EU VAT validator for the Partita IVA checksum.
Related checkers: the NHS number validator and all ID validators.
Frequently asked questions
Come si verifica un codice fiscale? / How do I verify a codice fiscale?
Enter the 16 characters above. The tool recalculates the control character from the first 15 using the odd and even tables of the 1976 decree, compares it with the sixteenth, and decodes the birth month, day and sex from the middle characters.
What is the 16th character of the codice fiscale?
It is the control character. The first 15 characters are converted to numbers with two tables, the values are added, the sum is divided by 26 and the remainder is turned into a letter from A (0) to Z (25).
Does a codice fiscale expire (codice fiscale scaduto)?
Nothing in the rules for building the code involves an expiry date, because it is derived from the name, the birth date and the place of birth. What can expire is a card that displays it, which is a separate matter for the issuer of that card.
What is omocodia?
It is the situation where two people would receive the same code. The decree resolves it by replacing digits with letters (0 to L, 1 to M, 2 to N, 3 to P, 4 to Q, 5 to R, 6 to S, 7 to T, 8 to U, 9 to V), starting from the rightmost digit, and the control letter is recalculated.
How can I tell the sex from a codice fiscale?
The day of birth occupies characters 10 and 11. For men it is written as is (01 to 31); for women 40 is added, so it falls between 41 and 71.
Which letter stands for which month?
A January, B February, C March, D April, E May, H June, L July, M August, P September, R October, S November and T December.
Can this tool find a person from their codice fiscale?
No. It runs in your browser, queries no register, and a valid result does not show that the code was issued to anyone. Only the tax authorities can confirm that.