InputTestHub

CNIC Format Checker

Checks the format of a Pakistani CNIC and reads the province and sex it encodes — it has no check digit.

Security Nothing uploaded No sign-up Free, unlimited
Security tool
Enter something above.
In short A Pakistani CNIC is thirteen digits and — this is the part every other tool gets wrong — it has no check digit. Nothing in the number verifies the rest of it, so no offline tool can tell a real CNIC from thirteen plausible digits, and any site showing you a green tick is overstating what it knows. What can be read is structure: the first digit is the issuing region (1 Khyber Pakhtunkhwa, 2 the former FATA, 3 Punjab, 4 Sindh, 5 Balochistan, 6 Islamabad, 7 Gilgit-Baltistan), the first five digits together give the locality, the next seven are the family record, and the last digit encodes sex — odd for male, even for female. Only NADRA can confirm a CNIC exists.

How to use the CNIC Format Checker

  1. Paste the number — punctuation and spaces are ignored.
  2. Read the verdict and, where the number encodes anything, what it decodes to.
  3. Treat a pass as "typed correctly", not as "confirmed by the authority".

About the CNIC Format Checker

A Pakistani CNIC is thirteen digits and — this is the part every other tool gets wrong — it has no check digit. Nothing in the number verifies the rest of it, so no offline tool can tell a real CNIC from thirteen plausible digits, and any site showing you a green tick is overstating what it knows. What can be read is structure: the first digit is the issuing region (1 Khyber Pakhtunkhwa, 2 the former FATA, 3 Punjab, 4 Sindh, 5 Balochistan, 6 Islamabad, 7 Gilgit-Baltistan), the first five digits together give the locality, the next seven are the family record, and the last digit encodes sex — odd for male, even for female. Only NADRA can confirm a CNIC exists.

What people use it for

  • Catching a mistyped number in a form before it reaches a database.
  • Cleaning an imported list and finding the rows that cannot be right.
  • Understanding what the number encodes and what it does not.

Details

Length13 digits, usually written 12345-1234567-1
Check digitNone. There is nothing in the number that verifies the rest
First digit1 KP · 2 former FATA · 3 Punjab · 4 Sindh · 5 Balochistan · 6 Islamabad · 7 Gilgit-Baltistan
Last digitOdd for male, even for female
VerificationOnly NADRA can confirm a CNIC — no offline tool can
This page will never show a green "valid" tick, because for a CNIC that would be a lie. It reports what the format allows it to report and says plainly what it cannot establish. Nothing you paste is transmitted — the check runs entirely in your browser.

Where this tool stops

Format and encoded fields only. There is no check digit, so validity genuinely cannot be established offline — only NADRA can confirm a CNIC.

Frequently asked questions

Can a website check whether my CNIC is real?
No, and be wary of any that claims to. The CNIC contains no check digit, so there is no arithmetic that distinguishes a genuine number from thirteen invented digits. Only NADRA holds the record. What a tool can honestly check is the length, the region digit and the sex digit — which is what this page does.
What does the first digit mean?
The issuing region: 1 is Khyber Pakhtunkhwa, 2 the former FATA areas now merged into KP, 3 Punjab, 4 Sindh, 5 Balochistan, 6 Islamabad Capital Territory and 7 Gilgit-Baltistan. The first five digits together identify a smaller locality within that region.
Why do some CNIC numbers have dashes?
Purely for readability: 12345-1234567-1 groups the locality, the family record and the sex digit. The dashes carry no information and this checker ignores them.
Is anything I paste sent anywhere?
No. The arithmetic runs in this browser tab and no request is made — open your Network tab and watch while you type. That matters more for an identity number than for almost anything else on this site, which is why there is no server side to this tool at all.
Does this replace an official check?
No, and it cannot. Every scheme here proves at most that the digits are internally consistent. Only the issuing authority can confirm a number exists, is active, and belongs to a particular person.
Is the CNIC Format Checker free?
It is free, with no account, no trial and no daily cap. Every security tool on inputtesthub.com works the same way: open the page and use it.
Can you see what I put into this page?
No. The CNIC Format Checker runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
Who is the CNIC Format Checker for?
The most common reasons people reach for it: catching a mistyped number in a form before it reaches a database. Cleaning an imported list and finding the rows that cannot be right. Understanding what the number encodes and what it does not. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
What are the limits of the CNIC Format Checker?
Format and encoded fields only. There is no check digit, so validity genuinely cannot be established offline — only NADRA can confirm a CNIC. Knowing where a tool stops being trustworthy matters more than the cases where it works.
What are the reference figures here?
Length is 13 digits, usually written 12345-1234567-1. Check digit is None. There is nothing in the number that verifies the rest. First digit is 1 KP · 2 former FATA · 3 Punjab · 4 Sindh · 5 Balochistan · 6 Islamabad · 7 Gilgit-Baltistan. These are printed on the page itself, so you do not have to take them on trust.
Can I use the CNIC Format Checker on mobile?
Yes. The page is responsive and the page works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related security tools

All 100
01

Password Strength Checker

Estimates password entropy and crack time, and identifies the specific weaknesses in what you…

02

Hash Generator

Generates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text, all at once.

03

MD5 Hash Generator

Generates an MD5 hash of any text or string, with optional HMAC and uppercase output.

05

SHA-1 Hash Generator

Generates SHA-1 hashes, still required by some legacy systems and Git object addressing.

06

SHA-512 Hash Generator

Generates SHA-512 hashes for checksums, signatures and archival fingerprints. Runs in your…

09

AES Text Encryption

Encrypts and decrypts text with AES-GCM 256-bit using a password, entirely in your browser.

10

XOR Cipher Tool

Applies a repeating-key XOR to text or hex, the operation behind many simple obfuscation…