Home CNIC number Pakistan

Pakistan CNIC number validator

How the CNIC number format works

Format
13 digits, shown 5-7-1 (XXXXX-XXXXXXX-X): 5-digit locality/district code + 7-digit family/serial number + 1-digit gender indicator (odd = male, even = female)
Example
12345-1234567-1

Things to watch for

  • Format-only check — does not confirm the CNIC was actually issued or belongs to a real person
  • The final digit indicates gender (odd = male, even = female) rather than being a computed checksum — this checker validates the 13-digit shape only
  • Runs entirely in your browser — the number you enter is never transmitted or stored
Regex for CNIC number
^[0-9]{13}$

Pakistan’s CNIC (Computerized National Identity Card) number is the 13-digit number the National Database and Registration Authority (NADRA) issues to every citizen aged 18 and over, shown in three groups as 5-7-1 — for example 12345-1234567-1. The first 5 digits are a locality or district code tied to where the holder registered, the next 7 digits are a family or individual serial number, and the final single digit is a gender indicator: odd for male, even for female.

That last digit is worth calling out specifically, because it’s easy to mistake for a checksum given where it sits. It isn’t one — NADRA doesn’t compute it from the preceding 12 digits with any published formula. It simply encodes gender, so this checker treats it as a required digit in the right position rather than a value to verify mathematically.

What this checker verifies

This tool confirms the input is exactly 13 digits. It doesn’t decode the locality code, and it doesn’t — because it can’t — verify the final digit as a checksum; it only confirms a digit is present there.

What a pass doesn’t confirm

A pass doesn’t mean NADRA actually issued that CNIC or that it belongs to a real person.

Scope: format-only validation, running entirely in your browser — nothing you type is transmitted or stored.

Content last reviewed 2026-08-09.

CNIC number FAQ

What do the digits of a Pakistani CNIC mean?

13 digits, shown 5-7-1 (XXXXX-XXXXXXX-X): a 5-digit locality/district code, a 7-digit family/serial number, and a 1-digit gender indicator where odd means male and even means female.

Is that final digit a checksum this tool validates?

No. It's a gender indicator, not a computed check digit — there's no arithmetic formula to verify it against. This checker confirms it's a single digit in the right position, not that it's 'correct' in a checksum sense.

Does a correctly formatted CNIC confirm it was actually issued?

No. It only confirms the input is 13 digits in the 5-7-1 shape — it can't confirm NADRA actually issued that specific number to a real person.

← More CNIC number validators