Spanish Social Security number (NSS / NAF): anonymize it before ChatGPT or sharing
The Spanish Social Security number (NSS / NAF) (Spain) is the Social Security affiliation number every worker in Spain has. 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”12 digits: 2 for the province, 8 for the person and 2 control digits (often written 28/12345678/40).
What it reveals
Section titled “What it reveals”The province where the person first registered, and it links them to their employment and benefits history.
Where you’ll find it
Section titled “Where you’ll find it”Payslips, employment contracts, sick-leave forms, TC2 and RNT reports, HR files.
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.