GSTIN Validator & Decoder
Check whether a GST Identification Number (GSTIN) is correctly formed — including its check digit — and break it down into state, PAN and entity number.
🔒 Runs entirely in your browser. Nothing you type is uploaded, logged or stored.
What a GSTIN contains
| Position | Meaning |
|---|---|
| 1–2 | State code of registration (e.g. 07 Delhi, 27 Maharashtra, 29 Karnataka) |
| 3–12 | PAN of the business or person holding the registration |
| 13 | Entity number — how many registrations the same PAN has in that state (1–9, then A–Z) |
| 14 | The letter “Z” by default |
| 15 | Check character calculated from the first 14 characters |
Why investigators check GSTINs
Fake invoices, supplier-impersonation (business email compromise) and shell-company fraud often carry a GSTIN that looks plausible but was typed by hand. Because the 15th character is a checksum, a large share of fabricated GSTINs fail this test instantly. A GSTIN that passes still has to be confirmed on the GST portal, but the decode tells you which state and which PAN to look at next — and whether the PAN's holder type (company, individual, firm) matches the story you were told.
How the check digit works
Each of the first 14 characters is converted to a value from 0–35, multiplied alternately by 1 and 2, and the quotient and remainder of each product by 36 are added together. The check character is whatever brings that total to a multiple of 36. This tool performs the same calculation locally in your browser.
Frequently Asked Questions
For lawful investigation, compliance and awareness use. Results are format checks and must be confirmed through official sources before any action.
Using the GSTIN validator in a supplier or BEC investigation
- Take the GSTIN from the invoice or email and run the check. A checksum failure on an “official” invoice is a strong red flag.
- Compare the state code with the supplier's claimed address.
- Compare the embedded PAN with any PAN the supplier has given separately, using the PAN validator.
- Confirm the legal name and registration status on the GST portal's Search Taxpayer facility before paying a “new” bank account.
Red flags
- A well-formed GSTIN whose state code does not match the supplier's address.
- A GSTIN that belongs to a different legal name from the one on the invoice.
- A request to change bank details arriving by email at the same time as an invoice — the classic business email compromise pattern described in the BEC investigation guide.
Frequently asked questions
Can a cancelled GSTIN pass this check?
Yes. The checksum only shows the number is well formed. Cancellation or suspension can be seen only on the GST portal.
Do all GSTINs have Z in the 14th position?
Almost all do by default; it is reserved in the current format.
What should I do if a supplier's GSTIN fails the check?
Do not pay on that invoice. Contact the supplier through a phone number or email you already had on record, not the details on the suspicious invoice, and verify the registration on the GST portal. If money has already been paid, report it immediately on 1930.