GSTIN Validator
Paste a GST number to verify its structure and checksum, and see the state, PAN, and registration details encoded in it.
Every GSTIN is 15 characters with a fixed structure and a checksum digit. This validator runs entirely in your browser - the number you type is never sent to a server.
/15 characters
- Format (15-character pattern)
- State code
- Checksum (Luhn mod-36)
Decoded details
- PAN
- PAN holder type
- Entity number (13th char)
- Check character
How this validator reads a GSTIN
It splits the 15 characters into their parts - in 27AAPFU0939F1ZV, 27 is the GST state code (Maharashtra), the next ten are the PAN, and the last is a checksum - then checks each one. For what every character means and how to look a number up on the portal, read what a GSTIN is and how to verify one.
What the PAN inside reveals
The fourth character of the embedded PAN tells you what kind of entity you're dealing with: C for a company, P for an individual or proprietor, F for a firm or LLP, H for a Hindu Undivided Family, T for a trust. If a supplier claims to be a private limited company but their GSTIN carries a "P", that's worth a question.
How the checksum catches typos
The final character is computed with a Luhn mod-36 algorithm over the digits 0–9 and letters A–Z: alternating characters are weighted 1 and 2, each weighted value is reduced by summing its quotient and remainder when divided by 36, and the total determines the check character. The practical upshot: a single mistyped character almost always produces a checksum mismatch, so validating before you save a customer or vendor catches most data-entry errors instantly.
Structurally valid ≠ registered
This validator confirms a number is structurally correct - right format, real state code, matching checksum. It cannot tell you whether the registration is live, suspended, or cancelled; for that, use the "Search Taxpayer" facility on the official GST portal. Both checks matter: structure first (instant, offline), registration status when onboarding a new vendor or a large customer.
Why validate GSTINs at all?
An invalid buyer GSTIN on a B2B invoice can block the buyer's input tax credit and bounce back through your GSTR-1. Validating at entry is far cheaper than issuing credit notes later. When you create an invoice with our free invoice generator, the GSTIN fields are checked with this same logic - and if you also need the right HSN or SAC code for the line items, try the HSN/SAC code finder.
Frequently asked questions
Validate customer GSTINs automatically
Invodo checks every customer and vendor GSTIN as you type it, so bad numbers never reach your invoices or e-invoicing. Start free.