Codice fiscale generatorGeneratore codice fiscale

Valid test Italian tax code numbers (Codice fiscale) for Italy, with the correct structure and check digits. Generate up to 100 at once, copy them or download a CSV, and check any Codice fiscale against the rules. Everything runs in your browser.

  1. CSTGRG60A50D612Z
  2. SPSLNZ64B11F839H
  3. CLMLCA68C52L736E
  4. FRRMTT72D13H501H
  5. CNTLCA76E54A944Y
  6. GRCMRC80H15C351T
  7. CNTGLI84L56A944B
  8. SPSLSN88M17D612G
  9. BRNSFO92P58L781M
  10. GRCFNC96A10H501K
Type or paste a number

Checked in your browser against the published rules. Nothing is sent anywhere, and a valid result does not mean the number was ever issued.

Synthetic test values for software testing. Not issued by any authority and not linked to any person or company.

How a Codice fiscale is built

Pattern: RSSMRA80A01H501U

Three letters from the surname, three from the given name, year, month letter, day (+40 for women), the Belfiore code of the birthplace and a check letter.

The number encodes the holder’s date of birth and sex. Set them in the tool to get a number that matches a test profile, or leave them empty for random values.

Valid and invalid example

ValueResult
CSTGRG60A50D612ZValid
CSTGRG60A50D612AInvalid last character changed

About the Codice fiscale

Italy’s Agenzia delle Entrate assigns a 16-character codice fiscale built from surname, given name, date of birth, sex and the cadastral (Belfiore) code of the birthplace, ending with a check letter. The tool uses the generated person’s name, birth date and sex.

Typical test cases: Italian checkout, banking, health system (tessera sanitaria) and HR forms.

More sample Codice fiscale numbers

SPSLNZ64B11F839H · CLMLCA68C52L736E · FRRMTT72D13H501H · CNTLCA76E54A944Y · GRCMRC80H15C351T · CNTGLI84L56A944B · SPSLSN88M17D612G · BRNSFO92P58L781M · GRCFNC96A10H501K

Common questions

How is the day of birth encoded for women?
Women’s day of birth has 40 added, so a woman born on the 5th has 45 in positions 10–11.
Are these real Codice fiscale numbers?
They follow the published structure and pass the check-digit rule, so validators accept them. They are generated at random and are not taken from any register. A random value can still coincide with a number issued to someone, so use them only in test systems.
Can I use a generated Codice fiscale on a real application?
No. Using an identity or tax number that is not yours on a real application, tax return or bank form is fraud in most countries. These values are for developers and testers working on their own systems.

Related tools

Other personal ID formats

SSN (US) · ITIN (US) · DNI (ES) · NIE (ES) · NINO (GB) · SIN (CA) · CPF (BR) · CURP (MX) · RFC (MX) · NIR (FR) · Steuer-ID (DE) · BSN (NL) · Rijksregisternummer (BE) · NIF (PT) · all formats

Sample profiles with a Codice fiscale

Each Codice fiscale below is built from the person’s own date of birth and sex, as the format requires.

  • Lelia MasieroFemale, 19 · born 2006-11-11Isola Dovarese, CRCodice fiscale MSRLLE06S51F205Glelia_masiero@example.org
  • Teodolinda PassuelloFemale, 23 · born 2003-02-18Cambiasca, VBCodice fiscale PSSTLN03B58D612Rteodolinda_passuello@example.org
  • Mia GiulianoFemale, 57 · born 1969-02-02Scalenghe, TOCodice fiscale GLNMIA69B42L736Agiuliano.mia@example.net
  • Anita Di CioccoFemale, 41 · born 1984-10-16Rettifilo, SACodice fiscale DCCNTA84R56A944Wanitadiciocco@example.net

Synthetic people with drawn pictures: not real individuals. Generate more profiles.