en

Codice Fiscale

Calculate the Italian Codice Fiscale from name, birthdate and place of birth, or verify an existing code - locally in your browser, with no upload.

Running locally on your device ...

This tool performs only a mathematical checksum/format check. It is not an official identity, existence, or registry verification and not a request to any authority. Any additional information derived from the number's structure is based solely on the publicly documented encoding logic of the issuing authority. In addition: the only official Codice Fiscale is the one issued by the Agenzia delle Entrate; this tool only recalculates it. The 4-character municipality code must be entered by you, and the birth century is not unambiguous from two digits alone - both possible years are shown honestly.
Mode
  • Verify (paste a code)
  • Calculate (enter details)

Running locally on your device ...

0%

Is my file uploaded?

No. Everything runs in your browser - your file never leaves your device. How this is verifiable

No upload100% local
Your content stays with youno third-party access
Hosted in GermanyGlobal Content Delivery
Independently auditedTLS A+ · HTTP headers A+

The Codice Fiscale is the Italian tax code: 16 alphanumeric characters built by the Agenzia delle Entrate (tax authority) via a publicly documented formula from surname, first name, birthdate, sex and a 4-character municipality code (Belfiore code). This tool does both directions: calculate a code from the details ("Calculate" mode) or verify an existing code and show the details it encodes ("Verify" mode).

The formula takes three letters each from the surname and first name (a first name with more than three consonants specifically uses the 1st, 3rd and 4th consonant), encodes the birth year, month (as a letter) and day (+40 for women), then appends the official municipality or country code. A final check character is computed from fixed odd/even-position value tables. The 4-character municipality code (e.g. F205 for Milan, Z404 for the USA) must be entered by you - the tool does not guess it and does not ship a full municipality directory, so as not to fake a complete or up-to-date list.

The whole calculation runs entirely locally in your browser in pure JavaScript - name, birthdate and code are not uploaded, not stored, and no foreign library is loaded from a CDN. You can download the result as a JSON file or read it directly.

Specifications

Specifications
Input formatsText input
Output formatJSON
Batch processingNo
ProcessingLocally in your browser (JavaScript)
File uploadNone

In 3 steps

  1. Choose a mode: verify (paste a code) or calculate (enter details).
  2. In calculate mode, enter surname, first name, sex, birthdate and municipality code.
  3. Read the result or download it as JSON.

Limitations: This tool performs only a mathematical checksum/format check. It is not an official identity, existence, or registry verification and not a request to any authority. Any additional information derived from the number's structure is based solely on the publicly documented encoding logic of the issuing authority. In addition: the only official Codice Fiscale is the one issued by the Agenzia delle Entrate; this tool only recalculates it. The 4-character municipality code must be entered by you, and the birth century is not unambiguous from two digits alone - both possible years are shown honestly.

FAQ

Is the calculated code officially valid?

The only official code is the one issued by the Agenzia delle Entrate. This tool applies the same publicly documented formula, but does not replace an official issuance.

Where do I get the 4-character municipality (Belfiore) code?

It is printed on any Italian ID document or the Codice Fiscale card itself. This tool deliberately does not ship a full municipality directory, so as not to fake an up-to-date list.

Are the name and birthdate uploaded?

No. The calculation runs entirely locally in your browser; your details never leave your device and are not stored.

What does verify mode show for an existing code?

Whether the check character matches, plus the details encoded in the code itself (birth month, day, sex, municipality code) - no registry lookup, only the publicly documented encoding logic.

Why does the result show two possible birth years?

Because the code only carries the year as two digits - the century is not unambiguously derivable from that alone. The tool honestly shows both readings instead of guessing one.

Related tools

Calculate a checksum · Calculate an HMAC · UUID generator · Net Salary Italy (RAL)