Pakistan CNIC Validator & Decoder

Check a 13-digit Pakistani CNIC and read its province and gender digit.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Pakistan CNIC validator and decoder

Validate a 13-digit Pakistani CNIC (Computerised National Identity Card, issued by NADRA) and read the information encoded in it. The tool confirms the length, reads the province/region from the leading digit, shows the locality codes, and works out the gender from the final digit. It is useful for checking that a number is well-formed before submitting a form, or for understanding what an existing CNIC encodes.

How it works

The CNIC packs several fields into its 13 digits. The tool strips any dashes and spaces, checks the length, then reads each segment:

DigitsMeaning
1Province / region code (1–7)
2–3Division / district
4–5Tehsil / local area
6–12Family / serial number (unique in the locality)
13Gender digit — odd = male, even = female

The leading digit is mapped to a province name; an unrecognised value (0, 8, 9) is flagged. The final digit’s parity sets the gender. NADRA publishes no public check-digit algorithm, so the tool validates this deterministic structure rather than a checksum, and never confirms the number against any government database.

Example

For the sample CNIC 42101-1234567-1:

  • Leading digit 4 → province Sindh
  • Division/area codes 21 and 01
  • Serial 1234567
  • Final digit 1 is odd → Male
  • Length is 13 → valid structure

Everything runs locally — the number never leaves your browser.

Ad placeholder (rectangle)