GSTIN Validator
GSTIN search & format validator.
Paste a GST number to check its 15-character format and checksum digit. This is an offline format check, not a live portal lookup — for registration status, use the official GST portal.
- Updated July 2026
- Built by CA Anil Agarwal
15 characters — state code, PAN, entity code, default 'Z', checksum digit.
What this checks
- The 15-character structural pattern (state code, PAN shape, entity code)
- The checksum (15th character) using the standard GSTIN algorithm
This is a format and checksum check only — it does not confirm the GSTIN is actually registered or active. For live registration status, use the official GST portal search.
Result
Enter a GSTIN to check its format and checksum.
Validate every GSTIN before it hits an invoice.
TatvaBooks checks the GSTIN format and checksum the moment you add a customer or vendor, so a typo never turns into a rejected e-invoice or a mismatched GSTR-2B entry.
How it works
What a GSTIN means, character by character.
The 15-character structure
A GSTIN is always 15 characters: characters 1-2 are a numeric state code assigned by the Government (e.g. 27 for Maharashtra, 09 for Uttar Pradesh, 07 for Delhi). Characters 3-12 are the taxpayer's 10-character Income Tax PAN — 5 letters, 4 digits, 1 letter. Character 13 is an entity code, used when the same PAN holder has more than one GST registration within the same state. Character 14 is fixed as the letter Z by default (reserved for future use). Character 15 is a checksum character, computed from the preceding 14 characters using a mod-36 algorithm, so that a single mistyped character anywhere in the GSTIN will almost always produce a mismatch.
Format check vs. live lookup
This tool runs the pattern match and checksum calculation entirely in your browser — no data is sent anywhere, and nothing is looked up against a government database. That makes it fast and private, but it also means a GSTIN can pass this check and still not correspond to a real, active registration (for example, if it was cancelled, suspended, or never actually issued). For that, use the official GST portal's Search Taxpayer tool, which queries the live GSTN database and returns legal name, registration date, and filing status.
Why this matters for invoicing
A malformed or mistyped customer/vendor GSTIN is one of the most common causes of e-invoice rejection and GSTR-2B/ITC mismatches. Catching the typo at data-entry time — before the invoice is generated and reported — saves a reconciliation headache later. See our GST registration guide for how GSTINs are issued in the first place.
Frequently asked questions
GSTIN validator — common questions.
What does this GSTIN validator actually check?
How do I check if a GSTIN is actually registered and active?
What do the 15 characters of a GSTIN mean?
Why would a GSTIN fail the checksum check but look correctly formatted?
Can two businesses have the same PAN in different GSTINs?
More tools
Stop copy-pasting GSTINs into a search bar
Books that validate a GSTIN the moment you type it.
TatvaBooks checks format and checksum inline on every customer and vendor record, and flags e-invoice-blocking errors before they cost you a rejected IRN.