Codice Fiscale Validator
ValidatorValidate Italian Codice Fiscale numbers. Checks format, recomputes the official check character, and decodes birth date, gender, and birthplace. Runs entirely in your browser.
About this tool
About Codice Fiscale Validator
This validator checks the structure of an Italian Codice Fiscale, decodes the embedded birth date, gender, and birthplace code, and recomputes the 16th check character to confirm the code is internally consistent.
The validator verifies the 16-character format, decodes the month letter back to a calendar month, detects gender from the day offset (+40 = female), looks up the birthplace code against a small set of major Italian cities when possible, and recalculates the official Modulo-26 check character to compare against the one provided.
Use this to verify a Codice Fiscale collected from a form before submitting it to an Italian tax or banking system, to debug why a code is being rejected, or to understand what each segment of a code represents.
Instant, fully client-side format and check-digit validation with no data ever leaving your browser. Note this checks structural validity only — it does not confirm the code is registered with the Agenzia delle Entrate.
Key Features
- Full 16-character format validation
- Decodes birth year, month, day, and gender
- Looks up birthplace name for major Italian cities
- Recomputes and compares the official check character
- Clear error messages for each failure mode
- 100% browser-based, no data ever transmitted
FAQ
Codice Fiscale Validator — Frequently Asked Questions
What does this validator actually check?
It checks that the code is 16 characters in the correct letter/digit pattern, that the month letter and day-of-birth are valid, and it recomputes the official Modulo-26 check character to confirm it matches the 16th character. This confirms the code is internally consistent, not that it belongs to a real registered person.
Does this check the Agenzia delle Entrate database?
No. This tool performs structural and check-digit validation entirely in your browser. To confirm a Codice Fiscale is actually issued and active, you would need to use the Agenzia delle Entrate's official verification service.
How is gender determined from the code?
The two digits in positions 10–11 encode the day of birth. For males, this is the day as-is (01–31). For females, 40 is added to the day (41–71). The validator subtracts 40 automatically when it detects a value above 40 and flags the record as female.
Why does the birthplace sometimes show only a code, not a name?
This tool includes a small set of verified birthplace codes for major Italian cities. For any comune not in that list, the raw 4-character Belfiore code is still decoded and shown — you can look up the corresponding comune using an official cadastral code table.
Tips
- The Codice Fiscale is case-insensitive in practice but always written uppercase — the validator normalises input automatically
- A check-character mismatch almost always means a typo somewhere in the code
- Cross-check the decoded birth date against the person's known birth date to catch data-entry errors
- Use the Codice Fiscale Generator to see a correctly formed example
Explore more
Related Tools
Other tools that might be useful for your workflow