Skip to content
Toova
All Tools

Italian Codice Fiscale Generator

Private by design — runs entirely in your browser

A Codice Fiscale is the Italy 16-character alphanumeric tax ID. Toova generates syntactically valid Codice Fiscales in your browser — perfect for testing, fixtures, and demo data. The generated values pass front-end validators but are not registered with any official authority.

What it is

The Codice Fiscale is Italy's tax ID — 16 alphanumeric characters that encode the surname, given name, year/month/day of birth, sex, place of birth, and a check character. Generated for every Italian resident at birth or arrival. Toova produces syntactically valid Codice Fiscale codes.

How the algorithm works

Positions 1-15 follow strict rules: 3 surname consonants, 3 given-name consonants, 2-digit year, 1-letter month code (A-T with gaps), 2-digit day (women add 40), 4-character place-of-birth code. Position 16 is the check character: odd positions use one numeric mapping, even positions use another, sum modulo 26 gives a letter A-Z. Toova random-fills the name and place fields and computes the correct check.

Frequently Asked Questions

Are these Codice Fiscale numbers real?
No. They satisfy the official algorithm but are not registered in any Italy authority's database. Front-end validators accept them; an official lookup would reject them.
Can I use a generated Codice Fiscale in production?
Only for testing — fixtures, demo screens, form validators. Using a generated Codice Fiscale to impersonate someone or evade tax law is fraud.
Why does my validator accept these?
Because most Codice Fiscale validators check the mathematical formula (or format for prefix-based IDs), not the registry. Toova's outputs pass the math.
Does Toova store or log the Codice Fiscales I generate?
No. All generation runs in your browser via crypto.getRandomValues. There are no outbound requests.