Skip to contentRedact PII for your data. Get a quote

Coverage · Malaysia

Malaysian NRIC / MyKad detection and redaction

OpenAnonymizer finds the Malaysian NRIC 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
Malaysia MY
Format
NRICNational Registration Identity Card number
Placeholder
MY_NRIC1Each distinct value gets its own number: MY_NRIC_1, MY_NRIC_2, and so on.
How it is confirmed
LabelOfficial label
Used for
Identifying Malaysian citizens and permanent residents. It is the number on the MyKad.

About the NRIC

The number is 12 digits, written YYMMDD-PB-###G: the date of birth, a two-digit place-of-birth code, and four digits. The last digit is odd for men and even for women.

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