Datatypes

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
85/100 · missing: translation, detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

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

Python re syntax.

Examples

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

Sources

Use this record