Skip to content

Dutch BSN (burgerservicenummer): anonymize it before ChatGPT or sharing

The Dutch BSN (burgerservicenummer) (Netherlands) is the citizen service number of everyone registered in the Netherlands. It turns up in documents people want to share or give to an AI assistant, and it should never go out as it is.

9 digits that pass the elfproef (a weighted modulo 11 check): 123456782.

Nothing by itself, but it is the key to a person in tax, health, municipal and employer records.

Payslips (loonstrook), employment contracts, health insurance, tax returns, municipal documents.

Piixie’s local LLM models (Small, Medium, Large) and Piixie Cloud find it from its context and label. Lite (rules plus a compact model) has no dedicated rule for it yet: for documents full of these numbers, choose an LLM model, and check the result in the editor.

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.