{"inline_business":{"italy-codice-fiscale-calculator":{"tab_calc":"Calculate","tab_verify":"Check a code","inputs":"Personal details","surname":"Surname (cognome)","name":"First name (nome)","sex":"Sex","male":"Male","female":"Female","birth":"Date of birth","belfiore":"Cadastral code of the birth municipality (Belfiore)","belfiore_hint":"One letter and 3 digits: H501 for Rome, F205 for Milan. ISTAT's list of municipalities (column “Codice Catastale”) gives each one; born abroad: Z followed by the country code.","result":"Calculated codice fiscale","part_surname":"Surname","part_name":"First name","part_date":"Year, month, day and sex","part_place":"Municipality or country of birth","part_check":"Check character","omo_title":"Variants in case of omocodia","omo_hint":"If someone else already has this code, the Agenzia delle Entrate replaces digits with letters starting from the right. These are the first three possible variants; only the Agenzia knows which one you were given.","err_names":"Enter a surname and a first name with at least one letter.","err_date":"Enter a date of birth.","err_belfiore":"The cadastral code must be one letter followed by 3 digits (e.g. H501).","verify_title":"Code to check","code_input":"Codice fiscale (16 characters)","code_hint":"Upper case, lower case and spaces are accepted.","valid":"Structure and check character are correct","invalid":"Invalid code","dec_birth":"Date of birth","abroad":"born abroad","omo_label":"Omocodia","omo_yes":"Yes, {{n}} digit(s) replaced by a letter","omo_no":"No, base code","omo_base":"Matching base code before substitution: {{code}}","century_note":"The code only holds the last two digits of the year: the tool assumes {{y}}, the most recent year that is not in the future.","date_warn":"Warning: this date does not exist in the calendar (e.g. 31 April), even though the check character is correct.","err_length":"Wrong length: {{len}} characters instead of 16.","err_char":"Character “{{ch}}” is not allowed at position {{pos}} (a letter or a digit is expected depending on the position).","err_month":"Month letter “{{ch}}” does not exist (allowed: A B C D E H L M P R S T).","err_day":"Day “{{day}}” is impossible: 01 to 31 for a man, 41 to 71 for a woman.","err_check":"Wrong check character: {{expected}} expected, {{got}} entered.","note":"The only valid codice fiscale is the one issued by the Agenzia delle Entrate (it is printed on the tessera sanitaria). In case of omocodia it may differ from the code calculated here, which has no official value."}},"docs_business":{"tools":{"italy-codice-fiscale-calculator":{"content":{"title":"How the codice fiscale is calculated in Italy","intro":"In Italy, a person's codice fiscale has 16 characters: 3 letters from the surname, 3 from the first name, the year, a month letter, the day (plus 40 for women), the cadastral code of the birth municipality and a check character. Reference example: Mario Rossi, born in Rome on 01/01/1980, gives RSSMRA80A01H501U.","details":"

The rules of the decree of 23/12/1976

Worked example

Mario Rossi, male, born on 01/01/1980 in Rome (H501): RSS + MRA + 80 + A + 01 + H501 = RSSMRA80A01H501, check sum 98, remainder 20, i.e. the letter U. Maria Rossi, born the same day in the same place, gets RSSMRA80A41H501Y.

Omocodia

When two people get the same code, the Agenzia delle Entrate replaces digits with letters (0 → L, 1 → M … 9 → V) from the right and recomputes the check character: RSSMRA80A01H50MM is the first variant of Mario Rossi's code. The checker recognises such codes and recovers the base code, date and sex.

A calculated code has no official value: only the one issued by the Agenzia delle Entrate counts.

Sources and dates: Ministerial decree of 23/12/1976 (calculation rules, cited in text); Agenzia delle Entrate, codice fiscale FAQ (omocodia, value of codes calculated online); ISTAT, list of Italian municipalities (checked on 15/10/2026).

"},"faqs":[{"question":"How do foreigners get an Italian codice fiscale?","answer":"It is issued free of charge by the Agenzia delle Entrate, at one of its offices in Italy or through the Italian consulate in your country of residence. For people born outside Italy, the place code starts with Z followed by 3 digits identifying the country."},{"question":"Why doesn't my codice fiscale match the calculated code?","answer":"The most common reason is omocodia: if someone else already had the same code, the Agenzia delle Entrate replaced one or more digits with letters, starting from the right, and recomputed the final letter. A registry difference (double first name, married name, municipality) also changes the code. Only the code issued by the Agenzia counts."},{"question":"How can you tell from a codice fiscale whether it belongs to a man or a woman?","answer":"Look at characters 10 and 11: 01 to 31 means a man; 41 to 71 means a woman, since 40 is added to the day of birth. A code reading 41 therefore belongs to a woman born on the 1st of the month."},{"question":"What does the last letter of a codice fiscale mean?","answer":"It is a check character computed from the first 15 characters, which catches a single mistyped character. The checker shows the expected letter when it differs from the one entered."}]}}}}