Pakistan CNIC Number Format Checker and Region Decoder
Type a CNIC number to see if the format is valid and what the first and last digits say.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Type the number
Enter the CNIC with or without dashes.
- 2Read the result
See if the format is valid.
- 3Read the parts
Check the region, locality, family number and gender digit.
- 4Fix failures
Read why a number failed.
- 5Keep it private
Do not share your CNIC in public.
About this tool
A Computerised National Identity Card (CNIC) number in Pakistan has 13 digits, usually written as 12345-1234567-1. The first five digits are a locality code, and the first of them points to the province or region. The next seven digits are a family number and the last digit shows gender: odd for a man and even for a woman. This checker accepts numbers with or without dashes, tests the length and the region digit and shows the parts. It cannot tell if a number was issued or whose it is. Only NADRA can confirm that.
Who this is for
Developers and administrators who validate forms, bank and telecom staff who catch typing errors, HR teams who collect CNICs, and anyone who wants to understand the number.
The structure
The CNIC has three groups. The first group has five digits: the first digit shows the region, for example 1 for Khyber Pakhtunkhwa, 3 for Punjab, 4 for Sindh, 5 for Balochistan, 6 for Islamabad, 7 for Gilgit-Baltistan and 8 for Azad Kashmir, and the next four digits are a code for the locality of registration. The second group has seven digits: a family number. The last group is one digit, which is odd for male and even for female.
What the tool checks
It removes dashes and spaces and checks that only digits remain. It checks that there are exactly 13 of them and that the first digit is a known region digit. It then shows the formatted number with dashes, the region, the locality code, the family number and the gender. If the number is not valid, it tells you which test failed. You can paste a list and download the results.
What it cannot do
There is no public check digit, so a number that passes may not exist. The tool cannot find the owner of a number, and it cannot be used to confirm identity. NADRA's verification services work with the holder's consent. The region digit and the locality code show where the first registration took place, which may be different from where a person lives now.
Why people mistype
Dashes in the wrong place, a missing digit and a switched pair of digits are common. A form that expects 13 digits without dashes may fail if you paste a number with dashes, and the other way round. Use the clean format from the tool.
Worked example
35202-1234567-1 passes: region 3 (Punjab), locality 35202, family number 1234567, last digit 1 so male. 42101-9876543-2 passes with the last digit 2 for a woman in Sindh. 12345-1234567 has 12 digits and fails. 95202-1234567-1 fails because 9 is not a region digit used in the tool.
Privacy
CNIC numbers are personal data. The check runs in your browser and nothing is sent or saved. Do not share your CNIC on social media or with people you do not know.
Limits
Format only. It does not prove identity, and it is not legal advice.
Worked example
35202-1234567-1 passes the format check: region 3 (Punjab), locality code 35202 and last digit 1, which indicates a man.
Quick facts
- Category: Legal & Government
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: NADRA (CNIC number structure)
Frequently asked questions
How many digits does a CNIC have?
13 digits, written as 5 digits, 7 digits and 1 digit.
What does the last digit mean?
An odd digit means male, an even digit means female.
What does the first digit mean?
The region of the locality code, for example 3 for Punjab and 4 for Sindh.
Can this tool verify a CNIC?
No. It checks the format only. NADRA verifies identity.
Can I check a list?
Yes. Paste one number per line.
Is my data stored?
No. It stays in your browser.
