Skip to contentRedact PII for your data. Get a quote

Coverage · Indonesia

Indonesian NIK detection and redaction

OpenAnonymizer finds the Indonesian NIK 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
Indonesia ID
Format
NIKNomor Induk Kependudukan
Placeholder
ID_NIK1Each distinct value gets its own number: ID_NIK_1, ID_NIK_2, and so on.
How it is confirmed
LabelOfficial label
Used for
Identifying Indonesian citizens. It is the number on the identity card (KTP).

About the NIK

The NIK is 16 digits: six for province, city and district, the date of birth as DDMMYY (with 40 added to the day for women), and four digits that make it unique.

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