GSTIN and PAN checker
Paste a GSTIN or a PAN to test its format and checksum and see what each part means.
About GSTIN and PAN Checker
A GSTIN has 15 characters: a state code, the holder's PAN, an entity number, the letter Z and a check character. This page tests each part, computes the check character with the base-36 method, and tells you which test failed. For a PAN it tests the structure and reads the holder type from the fourth letter. It checks format only. It cannot tell you whether a GSTIN is active or who owns it, which needs the GST portal. State codes and rules checked on 22 November 2026, with the checksum tested on two published examples. It is information, not tax advice. Confirm a number on the GST portal.
- Catching a typing mistake in a GSTIN before you put it on an invoice.
- Reading the state and PAN hidden inside a GSTIN.
- Telling which letter of a PAN gives the holder type.
- Checking a list of numbers one by one before you upload them.
How to use GSTIN and PAN Checker
Step 1
Choose GSTIN or PAN and paste the number. Spaces around it and lower case letters are fixed for you.
Step 2
Read the verdict at the top. A failed test is marked and explained.
Step 3
Use the decoded parts to see the state, the PAN, the entity number and the expected check character.
Good to know
- A passing checksum only shows the number is well formed. It does not show the registration exists or is active.
- The PAN check letter at the end follows a rule that is not public, so it is not tested here.
- The state code list comes from secondary sources and has not been confirmed on the GST portal. Codes 25 and 28 are old codes and are flagged.
Common questions
How is the GSTIN check character worked out?
Each of the first 14 characters is given a value from 0 to 35, doubled at every second place, and the quotient and remainder after dividing by 36 are added up. The check character is the value that brings the total to a multiple of 36.
What does the fourth letter of a PAN mean?
It gives the holder type: P for an individual, C for a company, H for a Hindu undivided family, F for a firm or LLP, A for an association of persons, T for a trust, B for a body of individuals, L for a local authority, J for an artificial juridical person and G for the government.
Does a pass mean the GSTIN is real?
No. It means the number is well formed. Whether it is active is shown only by the GST portal.