GSTIN Validator

Check a GSTIN's format, state code and check digit instantly, and see what each part means. Free, private and runs in your browser.

How a GSTIN is built

A GSTIN is 15 characters long. Each position has a meaning:

  • Characters 1–2: the state or union territory code, for example 27 for Maharashtra and 24 for Gujarat
  • Characters 3–12: the holder's 10-character PAN
  • Character 13: how many registrations the same PAN holds in that state (1–9, then A–Z)
  • Character 14: the letter Z by default
  • Character 15: a check character calculated from the first 14

What the 4th character of the PAN tells you

The fourth character of the PAN inside a GSTIN shows the type of holder: 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.

What this validator checks, and what it cannot

It checks the length, the format, whether the state code exists, and whether the check character matches the other 14. That catches almost every typing mistake before a wrong GSTIN reaches an invoice or e-way bill.

It cannot tell whether the number is actually registered, active or cancelled. To confirm that, use Search Taxpayer on the official GST portal.

Frequently asked questions

Does a valid result mean the GSTIN is registered?
No. It only means the number is well-formed and its check character is consistent. Registration status must be confirmed on the GST portal.
Is the GSTIN I type stored or sent anywhere?
No. The check runs entirely in your browser and nothing is uploaded.
Why does a GSTIN fail the check digit?
Usually one character was mistyped or two were swapped. The last character is calculated from the first 14, so a single error almost always shows up.
What is the 13th character of a GSTIN?
It is the registration number of that PAN within the state: 1 for the first registration, 2 for the second, and so on, continuing into letters after 9.