PAN card number validator
Check that a PAN follows the right pattern and see what kind of holder it belongs to. Sample PANs for testing are included.
How this PAN check works
It checks the pattern
A PAN always has 10 characters: 5 letters, then 4 digits, then 1 letter. If the pattern breaks, the tool tells you which part is wrong.
It reads the 4th letter
The 4th letter says who holds the PAN: P for a person, C for a company, F for a firm, T for a trust and so on. If the letter is not one the Income Tax Department uses, the PAN cannot be real.
It reads the 5th letter
For a person, the 5th letter is the first letter of their surname. For everyone else it is the first letter of the name. That makes it a quick way to spot a PAN that does not fit the name you were given.
It stops there
The last letter is a check letter set by the Income Tax Department. The formula is not public, so no offline tool can test it. Only a live check can say whether a PAN was issued and is still active.
PAN format, character by character
Using the sample PAN ABCPS1234F.
| Position | Type | What it means | In the sample |
|---|---|---|---|
| 1 to 3 | Letters | A running series, from AAA to ZZZ | ABC |
| 4 | Letter | The type of holder | P (individual) |
| 5 | Letter | First letter of the surname for a person, or of the name for anyone else | S |
| 6 to 9 | Digits | A running number, from 0001 to 9999 | 1234 |
| 10 | Letter | A check letter set by the Income Tax Department | F |
What the 4th letter of a PAN means
| 4th letter | Type of holder |
|---|---|
P | Individual (a person) |
C | Company |
H | Hindu Undivided Family (HUF) |
F | Firm or limited liability partnership (LLP) |
A | Association of Persons (AOP) |
T | Trust |
B | Body of Individuals (BOI) |
L | Local authority |
J | Artificial juridical person |
G | Government |
Questions about PAN numbers.
What is a dummy PAN number I can use for testing?
Use ABCPS1234F. It follows every PAN format rule, so a form or a piece of code that only tests the pattern will accept it. For other holder types, use ABCCS1234F for a company, ABCFS1234F for a firm or LLP and ABCTS1234F for a trust.
These are made-up examples for testing your own forms and code. Never put them on a real application or tax form, and do not expect a live PAN check to return a match for them.
What does the 4th letter of a PAN mean?
The 4th letter shows what kind of taxpayer holds the PAN. P is an individual, C a company, H a Hindu Undivided Family, F a firm or LLP, A an association of persons, T a trust, B a body of individuals, L a local authority, J an artificial juridical person and G a government body.
Almost every PAN you see in consumer lending or hiring has P in the 4th place. If someone applying as an individual gives a PAN with C or F there, the PAN belongs to a business.
What does the 5th letter of a PAN mean?
The 5th letter is the first letter of the holder's surname when the holder is a person. For companies, firms, trusts and other holders it is the first letter of the name. A PAN issued to Ananya Sharma would have S in the 5th place.
It reflects the name at the time the PAN was issued, so it may not match someone who has since changed their surname.
What is the format of a PAN card number?
A PAN has 10 characters: 5 letters, then 4 digits, then 1 letter, for example ABCPS1234F. The first three letters are a running series, the 4th is the type of holder, the 5th is a name initial, the four digits are a running number and the last letter is a check letter.
A PAN is written in capital letters with no spaces. PAN stands for Permanent Account Number and is issued by the Income Tax Department.
What is the regular expression (regex) to validate a PAN?
Use ^[A-Z]{3}[ABCFGHJLPT][A-Z][0-9]{4}[A-Z]$. It checks the length, the letter and digit positions and that the 4th letter is a holder type that exists.
Turn the input into capitals and remove spaces before you test it. The shorter pattern ^[A-Z]{5}[0-9]{4}[A-Z]$ also works, but it lets through 4th letters that are never issued.
Can this tool tell me if a PAN is real or active?
No. It only checks that the number follows the PAN pattern, and a made-up number can pass. To know whether a PAN was issued, is active and belongs to the name you were given, the number has to be checked against the Income Tax Department's records. Businesses do that through a PAN verification API, with the holder's consent.
Is it safe to type a real PAN into this tool?
Yes. The check runs inside your browser. The PAN you type is not sent to us or to anyone else, and we do not keep it.
More free tools
Say yes with confidence.
Tell us what you need to verify. A person replies, not a bot.