This tool is for informational purposes only and does not constitute legal or tax advice.
What is a GSTIN?
A GSTIN (GST Identification Number) is the unique 15-character alphanumeric identifier assigned to every business or individual registered under India's Goods and Services Tax (GST) regime. It is mandatory on GST invoices, appears on the GST portal, and is used by buyers to verify supplier registrations and claim Input Tax Credit. Every distinct registration — including branch registrations — receives its own GSTIN.
How the GSTIN is structured
21
92
A3
A4
A5
A6
A7
08
09
010
011
A12
113
Z14
Y15
Chars 1–2 — State / UT code (e.g. 29 = Karnataka)
Chars 3–12 — PAN (format: AAAAA0000A)
Char 13 — Entity code (1–9 or A–Z)
Char 14 — Always the letter "Z"
Char 15 — Checksum digit (mod-36)
- Characters 1–2 (State code) — a two-digit code identifying the state or union territory of registration. For example: 07 = Delhi, 27 = Maharashtra, 33 = Tamil Nadu, 38 = Ladakh.
- Characters 3–12 (PAN) — the taxpayer's 10-character Permanent Account Number. The first three letters identify the entity type (e.g., AAC for companies), the fourth is the first letter of the surname or entity name, the fifth is the first letter of the first name, then four digits and one check letter.
- Character 13 (Entity code) — indicates the number of registrations in that state under the same PAN. 1 = first registration, 2 = second, up to 9; then A = tenth, B = eleventh, and so on up to Z.
- Character 14 — always the letter Z. A fixed structural marker.
- Character 15 (Check digit) — a mod-36 check digit calculated over the first 14 characters using alternating multipliers of 1 and 2 from the alphabet "0-9A-Z" (values 0–35).
What this validator checks
- Length — must be exactly 15 characters.
- State code — must match one of the officially notified GST state/UT codes (01–38 as allocated, plus 97 and 99). Shows the corresponding state or union territory name.
- PAN format — characters 3–12 must follow the pattern AAAAA0000A (5 uppercase letters, 4 digits, 1 uppercase letter).
- Entity code — character 13 must be a digit 1–9 or an uppercase letter A–Z.
- Z marker — character 14 must be the letter Z.
- Checksum digit — character 15 is verified against the mod-36 checksum computed over the first 14 characters.
Try it yourself
Paste 29AAAAA0000A1ZY into the field above — it is a synthetic example built purely to demonstrate the format. It uses the obviously fictional PAN AAAAA0000A (all repeated letters and zeros, not assigned to any real entity), state code 29 (Karnataka), entity code 1, and a checksum digit Y computed as: sum = 146, 36 − (146 mod 36) = 34, CHARSET[34] = Y. All 6 checks should pass.
When should you validate a GSTIN?
- Before accepting a supplier invoice — a syntactically invalid GSTIN means you cannot claim ITC on the purchase.
- When onboarding a new vendor — cross-check the GSTIN on the invoice with the entity's GST registration certificate.
- Before filing a GST return — errors in GSTIN data in your purchase/sale registers lead to mismatches and notices.
Note: this tool validates the structure and checksum of the GSTIN. It does not confirm whether the registration is currently active — for that, use the GST Portal's taxpayer search.
Related calculators
Once you have verified the GSTIN, use the Normal GST Calculator to work out CGST/SGST or IGST on an invoice, or the ITC Calculator to compute the Input Tax Credit available on a purchase.