Italian Codice fiscale: anonymize it before ChatGPT or sharing
The Italian Codice fiscale (Italy) is the tax code of every person in Italy. It turns up in documents people want to share or give to an AI assistant, and it should never go out as it is.
Format
Section titled “Format”16 letters and digits: 3 from the surname, 3 from the name, year, month letter, day (plus 40 for women), the code of the place of birth and a check character (RSSMRA85T10A562S).
What it reveals
Section titled “What it reveals”Surname and name consonants, date of birth, sex and place of birth: almost the whole identity.
Where you’ll find it
Section titled “Where you’ll find it”Contracts, invoices, payslips, the tessera sanitaria, medical prescriptions, school documents.
How Piixie finds it
Section titled “How Piixie finds it”Piixie has a dedicated rule for it, in every model including Lite: it matches the format and checks the control digits, so random numbers of the same length aren’t flagged and real ones aren’t missed. The local LLM also reads the context around it.
What it becomes
Section titled “What it becomes”With Synthesize, a fake of the same kind with correct check digits, consistent everywhere the same number appears. With Redact, a black box or [REDACTED]; with Replace, a placeholder such as [ID_1].
All of it happens on your computer: the document is never uploaded to find the numbers. See why a local LLM.