Generate a test Italy Codice Fiscale
An Italian Codice Fiscale is a 16-character alphanumeric tax code derived from name, date of birth, sex, and place of birth, ending in a check character. These test values have a valid check character but are synthetic.
Synthetic Codice Fiscale (valid check character). The code is derived from personal data, so use only for testing.
Format specification
| Identifier | Codice Fiscale |
|---|---|
| Country | 🇮🇹 Italy |
| Format | AAAAAA00A00A000A |
| Length | 16 characters |
| Checksum | CF check character |
| Example | HYCJRI30L51Z442A |
| Safe strategy | Synthetic |
| Data quality | Verified against sources |
Validation regex
Matches the canonical value — strip separators and uppercase first: value.replace(/[^A-Za-z0-9]/g, '').toUpperCase()
^[A-Z]{6}\d{2}[A-Z]\d{2}[A-Z]\d{3}[A-Z]$ References
Common questions
Will these pass my validation?
Yes — they are well-formed Codice Fiscale values (AAAAAA00A00A000A) and pass standard format checks, including the CF check character checksum.
Could one belong to a real person?
These are synthetic values. They are format-valid but not drawn from a guaranteed reserved range, so use them only for testing.
Can I generate many at once?
Increase the count, or use the free API and CSV/JSON export for large datasets.