Skip to contentRedact PII for your data. Get a quote

Coverage · Saudi Arabia

Saudi national ID and Iqama detection and redaction

OpenAnonymizer finds the Saudi national ID / Iqama number in text and replaces it with a placeholder. The number is confirmed by its official label and its check digits are verified. It runs on a CPU, with no GPU and no API calls.

At a glance

Country
Saudi Arabia SA
Format
national ID / Iqama number
Placeholder
SA_NATIONAL_ID1Each distinct value gets its own number: SA_NATIONAL_ID_1, SA_NATIONAL_ID_2, and so on.
How it is confirmed
ChecksumOfficial label and checksum
Used for
Identifying Saudi citizens (national ID) and foreign residents (Iqama) in Saudi Arabia.

About the national ID / Iqama number

The number is 10 digits. It starts with 1 for a Saudi citizen and 2 for a resident, and the last digit is a check digit.

ExampleThe engine's real output for this input, in Fast mode (the default). The number is a test value.
In
Saudi national ID: 1000000008
Out
Saudi national ID: SA_NATIONAL_ID1

How OpenAnonymizer handles it

Checked by checksum. The format's check digits are verified, so most mistyped or made-up numbers fail. A number with the right label and shape is still masked when its checksum fails, so a typo doesn't let it through.

  • 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