CNIC Format Checker & Formatterشناختی کارڈ نمبر فارمیٹ چیکر

Check that CNIC numbers are typed in the correct 13-digit format and convert them to the standard 12345-1234567-1 style.شناختی کارڈ نمبر کا درست فارمیٹ چیک کریں اور اسے 12345-1234567-1 کی شکل میں لکھیں۔

FreeRuns in your browserMade for PakistanEnglish · اردو

Loading tool…

Need help with this tool or found a problem? WhatsApp support Email

About the CNIC Format Checker & Formatter

This tool checks that Pakistani CNIC numbers are typed in the correct format and rewrites them in the standard style, 12345-1234567-1. Paste one number or a whole list, with or without dashes, and each line is checked instantly: correctly formatted numbers are shown with dashes, and mistakes such as a missing digit or a stray letter are flagged so you can fix them.

It is designed for HR and payroll staff preparing employee lists, school and university offices handling admission data, businesses filling bank or tax forms, and anyone who wants to be sure a number is written correctly before submitting a form. It does not look up anyone’s details. It cannot tell you who a number belongs to or whether it was issued, and nothing you enter leaves your browser.

What is a CNIC number and how is it written?

The Computerized National Identity Card (CNIC) is the identity card issued to Pakistani citizens by NADRA, the National Database and Registration Authority. Every CNIC has a unique 13-digit number, which also appears on related documents: the B-Form (Child Registration Certificate) for children, NICOP for overseas Pakistanis, and many bank, tax, SIM and property records.

The number is usually written in three groups separated by dashes: five digits, seven digits and one digit, for example 35202-1234567-1. Many forms accept it without dashes as 3520212345671, while others insist on the dashed format, which is why reformatting is useful.

By long-standing convention, the first digit reflects the region where the number was first registered (for example 3 for Punjab and 4 for Sindh) and the last digit is odd for males and even for females. These are conventions only. A number that follows the right pattern can still be wrong or unissued, and only NADRA can verify a CNIC.

How to use the CNIC Format Checker & Formatter

  1. Paste or type CNIC numbers into the box, one per line. Spaces and dashes are optional.
  2. Read the table: each line shows what you entered, the formatted number, and the result of the format check.
  3. For valid entries, the table also shows the conventional meaning of the first digit (registration region) and the last digit.
  4. Fix any line marked with ✗, for example a number with 12 digits or a letter O typed instead of a zero.
  5. Click Copy formatted to copy all valid numbers in 12345-1234567-1 style, or Clear to start again.

Up to 500 lines are checked at a time. The message above the table tells you how many lines have a valid format.

Key features and benefits

  • Format check. Confirms each number has exactly 13 digits and does not start with 0
  • Clear error messages. Reports the exact problem: wrong number of digits, letters or symbols, or a leading zero
  • Standard formatting. Converts any layout to the dashed 12345-1234567-1 format
  • Bulk processing. Checks up to 500 numbers in one paste, ideal for spreadsheets
  • Conventional digit meanings. Shows the region and gender conventions for the first and last digit, clearly labelled as conventions
  • No lookup, no storage. Runs only in your browser; no NADRA or other database is contacted

Practical examples

Cleaning a payroll sheet

A column contains 3520212345671, 35202 1234567 1 and 35202-123456-1. The first two are formatted as 35202-1234567-1. The third has only 12 digits and is flagged “Has 12 digits (needs 13)”, so you can check the original card before the sheet goes to the bank.

Typing mistakes

An entry typed as 3520I-1234567-1 with a capital letter I instead of the digit 1 is flagged “Contains letters or symbols”. These mistakes are easy to miss by eye but cause forms to be rejected.

Checking a single number before a form

You type your own number with dashes. The tool confirms the format, shows it in the standard layout and copies it for pasting into an online form, so you do not have to retype it.

What the result does not mean

A sample such as 35202-1234567-1 passes the format check because it has the right pattern, but that does not mean it is a real, issued CNIC. The tool says this in the message under the input.

Documents that use the same 13-digit number

The same 5-7-1 format appears on several NADRA documents, so this checker works for all of them:

DocumentWho has itNumber format
CNIC / SNIC (smart card)Adult citizens in Pakistan13 digits, 5-7-1
NICOPOverseas Pakistanis and dual nationals13 digits, 5-7-1
B-Form (Child Registration Certificate)Children under 1813 digits, 5-7-1

A child’s B-Form number normally becomes their CNIC number at 18, which is why schools and boards ask for it during registration.

Common use cases

  • HR and payroll teams standardise employee CNICs before bank salary transfers.
  • Schools, colleges and universities clean admission and examination data.
  • Businesses and accountants prepare customer or supplier lists for tax and banking forms.
  • NGOs and survey teams check data entry errors in beneficiary lists.
  • Individuals check their own number before filling an online application.

Accuracy, limitations and privacy

The check is purely structural: exactly 13 digits after removing spaces and dashes, and not starting with 0. It does not include any checksum, because no public check-digit rule for CNICs exists, so a mistyped digit in the middle of an otherwise valid number cannot be detected. The region and gender meanings are long-standing conventions and may not apply to every number.

Nothing is uploaded, stored or logged; the processing happens in your browser and disappears when you close the page. This site is independent and not connected to NADRA in any way.

  • A valid format does not prove a number is genuine, issued or belongs to a particular person.
  • Mistyped digits that keep the 13-digit pattern cannot be detected.
  • Only NADRA can verify identities; use official channels for verification.

Tips and best practices

  • Never post your CNIC number or a photo of your card on social media or in public groups.
  • Be suspicious of websites or callers offering “CNIC details” by number — such services are not legitimate.
  • When sharing a CNIC copy for official work, write the purpose and date across it.
  • Keep CNIC columns in spreadsheets formatted as text, so leading digits and dashes are not altered.
  • Renew your CNIC before it expires; the CNIC expiry reminder can add a calendar alert.

Frequently asked questions

What is the correct CNIC format?

Thirteen digits written as 5-7-1, for example 35202-1234567-1. Many forms also accept the same digits without dashes.

How many digits are in a CNIC number?

Thirteen. If a number has 12 or 14 digits, it has been mistyped.

Can this tool tell me whose CNIC it is?

No. Personal details are held only by NADRA. Any website claiming to show CNIC details by number should not be trusted.

What does the last digit mean?

By convention it is odd for males and even for females. It is shown only as a convention and is not used to verify anything.

Is my CNIC sent anywhere?

No. The check happens in your browser and nothing is stored or transmitted.

Does a valid format mean the CNIC is real?

No. It only means the number is written correctly. Only NADRA can confirm that a number was issued.

Related tools and next steps

Set a renewal reminder with the CNIC expiry reminder, and read how to renew a CNIC or apply for NICOP, B-Form or FRC in the NADRA services guide. For phone numbers in the same lists, use the mobile number checker. Overseas Pakistanis can see the NICOP guide, and to check SIMs registered on your own CNIC, see the PTA SIM & IMEI guide.

Embed this tool on your website

Add the free CNIC Format Checker & Formatter to your blog or website. Paste the code into your page’s HTML; the tool runs in your visitors’ browsers and stays up to date automatically. Please keep the credit line below the tool.

Free to use on any website. The tool runs inside an iframe served from viptools.pk; nothing your visitors type is sent to your site or ours. Preview the embedded version.

Related tools

All NADRA & CNIC

VIPTools.pk is an independent website. It is not affiliated with, or an official site of, NADRA, PTA, FBR, BISP, any bank, university or government department.