Home Codice Fiscale Italy
Italy Codice Fiscale validator
How the Codice Fiscale format works
- Format
- 16 characters (6 letters + 2 digits + 1 letter + 2 digits + 1 letter + 3 digits + 1 check letter)
- Example
- RSSMRA85M01H501Q
Things to watch for
- 16 characters, ending in a control letter computed from a weighted odd/even table over the first 15
- The first 15 characters encode surname, first name, birth date, sex, and birthplace — validation happens entirely in your browser and nothing you enter is stored
- "Omocodia" substitutes letters for some digits when two people would otherwise share the same 15-character code — this validator covers the standard (non-omocodia) form
^[A-Z]{6}[0-9]{2}[A-Z][0-9]{2}[A-Z][0-9]{3}[A-Z]$A Codice Fiscale is the 16-character tax code the Agenzia delle Entrate assigns to anyone with a tax relationship in Italy — not just citizens, but foreign residents, property owners, and anyone opening a bank account or signing an employment contract there. It’s used for tax filings, the national health card (tessera sanitaria), school enrollment, and most contracts.
Unlike a random string, most of a Codice Fiscale is derived directly from personal details: three consonants from the surname, three from the first name, two digits for birth year, a letter for birth month, and two digits for day of birth (with 40 added if the holder is female). A code for birthplace or country follows, and the 16th and final character is a control letter, computed from a weighted odd/even position table over the first 15 characters.
How this validator works
This tool checks the 16-character pattern and recomputes the control letter from the first 15 characters using the standard odd/even weighting tables, entirely in your browser — nothing you enter is sent to a server or stored, even though the code encodes a birth date and gender.
What a pass doesn’t tell you
A matching control letter confirms the code is internally consistent — not that it was actually issued or belongs to a real person. It also doesn’t cover “omocodia”: when two people would otherwise share an identical first-15-character code, Italy substitutes letters for certain digits to keep them unique. This validator checks the standard, non-omocodia form only.
Scope: this page covers Codice Fiscale format and control-letter validation only — not registration lookups or the omocodia variant.
Content last reviewed 2026-07-23.
Codice Fiscale FAQ
What personal information does a Codice Fiscale encode?
Three consonants from the surname, three from the first name, the birth year, a letter for birth month, the day of birth (with 40 added for women), a code for birthplace or country, and a final control letter.
What is omocodia, and does this tool handle it?
Omocodia is the substitution Italy uses when two people would otherwise generate an identical 15-character code — certain digits are replaced with letters to keep every code unique. This validator checks the standard, non-omocodia form only.
Does a valid control letter mean the Codice Fiscale is officially issued?
No. It confirms the 16 characters are mathematically consistent with each other, not that the Agenzia delle Entrate has actually issued that code to a real person.