Skip to content

German social insurance number (Rentenversicherungsnummer): anonymize it before ChatGPT or sharing

The German social insurance number (Rentenversicherungsnummer) (Germany) is the Sozialversicherungsnummer (RVNR) of everyone who has worked in Germany. It turns up in documents people want to share or give to an AI assistant, and it should never go out as it is.

12 characters: area number, date of birth (DDMMYY), the first letter of the birth surname, a serial number that encodes sex, and a check digit (12 150380 M 122).

Date of birth, the initial of the birth name and sex.

Payslips, social insurance notices, HR files, pension statements.

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.

With Synthesize, a fake with the same shape and separators, 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.