International · Pakistan
Pakistan CNIC number checker.
Check the format of a 13-digit CNIC (XXXXX-XXXXXXX-X) and read its province digit and gender digit. Browser only.
How it works: A CNIC has 13 digits written 5-7-1. The first digit is the province or territory (1 Khyber Pakhtunkhwa, 3 Punjab, 4 Sindh, 5 Balochistan, 6 Islamabad, 7 Gilgit-Baltistan), the middle seven are a family number, and the last digit is odd for males and even for females. No check digit has been published.
Inputs
Test values (not real people’s numbers):
Result
Enter a number and press Check.
How the Pakistan CNIC check works
A CNIC has 13 digits written 5-7-1. The first digit is the province or territory (1 Khyber Pakhtunkhwa, 3 Punjab, 4 Sindh, 5 Balochistan, 6 Islamabad, 7 Gilgit-Baltistan), the middle seven are a family number, and the last digit is odd for males and even for females. No check digit has been published.
| Digits | Meaning |
|---|---|
| 1 | Province or territory: 1 Khyber Pakhtunkhwa, 2 FATA (merged into Khyber Pakhtunkhwa in 2018), 3 Punjab, 4 Sindh, 5 Balochistan, 6 Islamabad, 7 Gilgit-Baltistan |
| 2-5 | Locality codes (division, district and similar). NADRA does not publish the code list, so this tool does not decode them |
| 6-12 | Family number |
| 13 | Odd for male, even for female |
Worked example, 42201-0397640-8: the first digit 4 is Sindh, 2201 is a locality block that this tool leaves undecoded, 0397640 is the family number, and the last digit 8 is even, so the gender digit reads female.
What this tool cannot tell you
Only NADRA can confirm that a CNIC exists and who holds it. This tool never contacts NADRA. A passing result means the number is well formed. It does not mean it was issued, is current, or belongs to anyone. Official sources to use instead: National Database and Registration Authority (NADRA).
Where each rule comes from
Not every issuer publishes its check rules. This table says, for each rule used here, who documents it and how firmly.
| Rule | Source | Status |
|---|---|---|
| 13-digit 5-7-1 layout, province digit table, odd/even gender digit | python-stdnum pk/cnic (which cites NADRA and Wikipedia) and Wikipedia, CNIC (Pakistan). NADRA's own site returned HTTP 403 to automated retrieval, so the structure could not be confirmed against NADRA directly. | Documented by third parties, cross-checked |
| Locality digits (division, district) | Secondary sources disagree, so they are not decoded | Documented by third parties, cross-checked |
| No check digit | None is described by NADRA or by the cross-checked implementations | Documented by third parties, cross-checked |
Frequently asked questions
What do the digits of a CNIC mean?
The first digit is the province or territory, the middle seven digits are a family number, and the last digit is odd for males and even for females. NADRA does not publish the meaning of the locality digits, so they are not decoded here.
Does a CNIC have a check digit?
None has been published. The last digit encodes gender, so do not treat it as a check digit.
Can I verify a CNIC here?
No. This tool checks format only. Verification of a CNIC is done by NADRA or institutions it authorises.
Is it safe to enter a CNIC here?
The check runs in your browser and nothing is sent, stored or logged. Only enter numbers you are entitled to use.
Sources
- python-stdnum, stdnum/pk/cnic.py (retrieved 15 October 2026)
- Wikipedia, CNIC (Pakistan) (retrieved 15 October 2026)
- NADRA, CNIC information page (retrieved 15 October 2026)
Format check only — not an official verification
This tool checks structure and, where a public algorithm exists, a check digit, entirely in your browser. It does not query any government register, and it cannot confirm that a number was issued or to whom. Nothing you type is transmitted, stored or logged.