CNIC Format Validator in Pakistan
Check whether a CNIC number has the correct format — XXXXX-XXXXXXX-X — without storing it.
Output
🔒 Runs in your browser. Nothing uploaded.
How to use
- 1
Type the CNIC number with dashes, e.g. 35202-1234567-1.
- 2
Read the VALID or INVALID result and the line-by-line checks.
- 3
If the format is wrong, fix the dashes and digit count and check again.
Formula / How it works
A CNIC is 13 digits in the form XXXXX-XXXXXXX-X (5 digits, dash, 7 digits, dash, 1 digit).
The tool checks the dash pattern and the total digit count.
The first 5 digits are the district code and must fall in the plausible range 10000–99999.
CNIC has no public check-digit algorithm, so format alone cannot prove a number is genuine.
Frequently asked questions
Does a VALID result mean the CNIC is real?
No. It only means the format is correct. A real CNIC must be verified with NADRA; format alone cannot prove a number belongs to anyone.
What do the first 5 digits mean?
They are the district code of the issuing office — for example 35202 is a Lahore code. The tool only checks the range is plausible, not the exact district.
Is there a check digit in a CNIC?
No public check-digit algorithm exists for CNIC numbers, unlike credit cards. That is why format validation cannot confirm authenticity.
Is my CNIC number stored?
No. Validation runs entirely in your browser. The number is never uploaded, saved or shared.
Can I enter the CNIC without dashes?
Yes, the tool will recognise 13 digits, but it will tell you the correct format needs dashes: XXXXX-XXXXXXX-X.
Related tools
Pakistan Holidays Calendar 2026
All Pakistan public holidays for 2026 in one place — national days, Eid dates and religious observances.
Load Shedding Schedule Tracker
Check typical load shedding blocks by city and feeder type — and know where to confirm the live schedule.
Pakistani Date Format Converter
Convert dates between DD/MM/YYYY, MM/DD/YYYY and long format — avoid the day/month mix-up.
Mobile Number Validator
Validate a Pakistani mobile number and identify the operator — Jazz, Zong, Ufone or Telenor.
Was this CNIC Format Validator helpful?
Last updated: 15 November 2026 | Reviewed by: Marwat