Datatypes › Pakistan › Personally identifiable information

Pakistani national identity card number (CNIC)

ID pk_cnic

DatatypePersonal data (PII)identifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Number of the Computerised National Identity Card (CNIC), or Smart National Identity Card, that NADRA issues to citizens of Pakistan aged 18 or older. It has 13 digits, written as 5, 7 and 1 digits separated by hyphens: a five-digit locality code whose first digit is the province, a seven-digit serial number, and a last digit that is odd for men and even for women.

Categories
Personally identifiable information, Person related
Countries
Pakistan
Languages
Urdu, English
python-stdnum
stdnum.pk.cnic
Quality
95/100 · missing: translation
Metacrafter rules
no detection rule yet
Supported by tools
validator.js

Regular expression

^[1-7]\d{4}-?\d{7}-?[1-9]$

Python re syntax.

Test a value

Examples

ValueDescription
34201-0891231-8 Example from the python-stdnum documentation
42201-0397640-8 Example from the python-stdnum documentation
3420108912318 The first example without hyphens
34201-0891231-0 invalid Last digit 0 does not encode a gender
84201-0891231-8 invalid Unknown province digit 8

Sources

Use this record