PakTools logoPakToolsPakistan's First Free Online Tools

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. 1

    Type the CNIC number with dashes, e.g. 35202-1234567-1.

  2. 2

    Read the VALID or INVALID result and the line-by-line checks.

  3. 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.

Was this CNIC Format Validator helpful?

Last updated: 15 November 2026 | Reviewed by: Marwat