Italy Codice Fiscale decoder
The Codice Fiscale is the 16-character tax code assigned to everyone in Italy. It is not random: it encodes letters from your name, your date of birth, your gender, and your comune of birth, finished with a self-checking control character. This decoder reads all of that back out and verifies the check character, which is useful for HR, accounting, and anyone spotting a typo in a CF.
How it works
The 16 characters are read as [SSS][NNN][YY][M][DD][CCCC][X]:
- SSS / NNN — three letters from the surname, three from the first name.
- YY — last two digits of the birth year (century inferred from today’s date).
- M — 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.
- DD — birth day; for women 40 is added, so 41–71 means female and the real day is that minus 40.
- CCCC — the four-character Belfiore comune code.
- X — the control character.
Before reading the numeric fields the tool un-maps omocodia substitutions (L=0 … V=9). The check character is recomputed from the first 15 characters using the official odd-position and even-position value tables, summed modulo 26, and mapped to a letter — a mismatch flags a typo.
Example
Decode RSSMRA85T10A562S:
| Field | Value | Decoded |
|---|---|---|
| Surname / name | RSS / MRA | name-letter codes |
| Year | 85 | 1985 |
| Month | T | December |
| Day | 10 | 10th (male, ≤ 40) |
| Comune | A562 | Belfiore code |
| Check | S | recomputed → S, valid ✓ |
So this code is a male born 10 December 1985, with a matching check character.
Privacy: your Codice Fiscale is processed entirely in your browser — nothing is uploaded or sent to any server, and the tool does not query any government registry.