Developer and Text Tools

Reading a Pakistani CNIC Number: Region, Locality, Family Number and Gender Digit

What each part of a Pakistan CNIC number means, how the region digit and the gender digit work and what a format check can and cannot tell you.

Saizul Amin
Saizul Amin23 Oct 2026 · 3 min read
Reading a Pakistani CNIC Number: Region, Locality, Family Number and Gender Digit

Reading a Pakistani CNIC Number

Every adult in Pakistan has a 13-digit Computerised National Identity Card number, usually written like 35202-1234567-1. It is the key to banking, SIM registration, voting and many services. Many forms fail because of a typing error or a wrong format. The CNIC Number Format Checker tests the format and shows what the digits say.

The three groups

A CNIC has three groups of digits. The first group has five digits. The first digit shows the region where the locality code was assigned: 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. The next four digits identify the locality, such as a district or tehsil. The second group has seven digits that identify the family, and people of one family often share the first digits. The last group is a single digit: odd for a man and even for a woman.

What the tool does

Type or paste CNIC numbers, with or without dashes. The tool removes the dashes and spaces and checks that there are 13 digits. It checks the first digit against the known region digits. It then writes the number in the standard format with dashes and shows the region, the locality code, the family number and the gender digit. For a number that does not pass, it explains why: letters in the number, the wrong length or an unknown region digit. You can download the results as a spreadsheet.

What it cannot do

There is no public check digit in the CNIC, so no tool can say that a number is real. A passing number may be unissued, or it may belong to someone else. The tool cannot look up a name, a photograph or an address. Official verification is done by NADRA and by organisations that have access to its services, with the consent of the holder. Never use a format checker to look for another person's data.

Where the region comes from

The region digit shows where the family record was first registered, which may be different from where a person lives now. Families who moved in the past may carry a locality code from another district. Do not draw conclusions about a person's origin from the digits. The tool states the region only as information.

Common mistakes in forms

People paste a number with dashes into a field that expects 13 plain digits, or the reverse. They drop a digit or swap two. The tool gives the clean version, and you can copy the plain digits without dashes. Always check the number against the card itself, and for a child, against the B-form.

A worked example

35202-1234567-1 passes: region 3 (Punjab), locality code 35202, family number 1234567, last digit 1 so the holder is male. 42101-9876543-2 passes as a woman registered in Sindh. 12345-1234567 has 12 digits. 95202-1234567-1 fails because 9 is not a region digit used in the tool.

Protect your CNIC

Do not post pictures of your card on social media. Give a copy only to organisations that need it, and write the purpose and date on the copy. Be careful about messages that ask for your CNIC and an SMS code, because they are likely to be fraud.

Quick answers

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.

Limits

Format only. This tool does not verify identity and is not legal advice.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages