Short answer: paste the PAN. A green verdict means the shape is right and the fourth character is a known holder type. Nothing more can be checked offline.
The structure
AAACR5055K is five letters, four digits and a letter. The first three letters are an alphabetic series, the fourth is the holder type, the fifth is a name initial, and the last four digits distinguish holders within that series. There is no checksum, so a single wrong character produces another perfectly well-formed string.
What to check instead
- Match it to the name. The fifth character should agree with the surname or entity name — a cheap sanity check a format validator cannot do.
- Use the department’s own service. The Income Tax e-filing portal has a “verify your PAN” form; that is the authority, and it is the only source that answers “does this exist”.
- Treat a green tick as a typo check. That is genuinely useful before an invoice goes out — just do not call it verification.
A GSTIN contains this PAN in characters 3-12 — theGSTIN validator checks the whole number including its real check digit.