Skip to contentRedact PII for your data. Get a quote

Coverage · Germany

German Steuernummer detection and redaction

OpenAnonymizer finds the German Steuernummer in text and replaces it with a placeholder when its official label confirms it. It runs on a CPU, with no GPU and no API calls.

At a glance

Country
Germany DE
Format
Steuernummer
Placeholder
TAX_ID1Each distinct value gets its own number: TAX_ID_1, TAX_ID_2, and so on. Formats from other countries use the TAX_ID placeholder too.
How it is confirmed
LabelOfficial label
Used for
Identifying taxpayers at their local tax office (Finanzamt), for example the self-employed and businesses on their returns and invoices.

About the Steuernummer

The number is assigned by the regional tax office. It has 10 or 11 digits in the regional form and 13 digits in the nationwide form, and includes the tax office number and a check digit.

How OpenAnonymizer handles it

Confirmed by its label. The library does not verify a check digit for this format, even where one exists. The number is masked when its official label is in the text, in the local language and script.

  • It runs locally on a CPU, with no GPU and no API calls, so the text never leaves your machine.
  • Every package ships every detector, so this format is covered in each of them.
  • It covers 34 languages.
How a match is decided