Coverage · Pakistan
Pakistani CNIC detection and redaction
OpenAnonymizer finds the Pakistani CNIC 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
- Pakistan PK
- Format
- CNICComputerised National Identity Card number
- Placeholder
- Each distinct value gets its own number: PK_CNIC_1, PK_CNIC_2, and so on.
- How it is confirmed
- Official label
- Used for
- Identifying Pakistani citizens aged 18 and over, for voting, banking, mobile SIMs and public services.
About the CNIC
The CNIC is issued by NADRA, the National Database and Registration Authority.
The number is 13 digits, written XXXXX-XXXXXXX-X. 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.
Related formats
The same country, or the same kind of number elsewhere.