Skip to content
AccVora

GSTIN validator

Paste a GSTIN to see whether it is built the way a real one is, and to read the state and the PAN inside it. This is a format check; it cannot say whether the number is registered or active.

Loading the tool...

How to use it

  1. Type or paste the 15-character GSTIN. Lower case is fine.
  2. The tool checks the length and pattern, the state code and the final check character.
  3. A passing number shows its state, PAN and PAN holder type.
  4. A failing number shows what is wrong, and the check character the first 14 characters should carry.

What is checked, character by character

Characters 1-2 are the state or UT code. Characters 3-12 are the holder's PAN (5 letters, 4 digits, 1 letter). Character 13 is the entity number, 14 is the letter Z and 15 is the check character.

The check character comes from a mod-36 sum. Give each of the first 14 characters a value (0-9, then A-Z as 10-35), multiply it by 1 at odd positions and by 2 at even positions, and add the quotient and the remainder of each product divided by 36. The check character is the one whose value is (36 - sum mod 36) mod 36.

Worked example: a test number

27AABCQ1234A1Z3 is a test number: state 27 (Maharashtra), PAN AABCQ1234A, check character 3. It passes.

Change the last character to 4 and it fails, because the first 14 characters work out to a check character of 3.

Passing says the number is well formed, not that it was ever issued to anyone.

Tips before you trust a GSTIN

  • Copy the number from the supplier's invoice rather than retyping it; most failures here are a single wrong character.
  • The fourth character of the PAN tells you the kind of holder: C for a company, P for an individual, F for a firm.
  • For a real registration check, search the number on the GST portal, which is the only source that knows the live status.

Questions people ask

Does this tell me if a GSTIN is active?

No. It checks the structure only and makes no call to the GST portal, so it cannot tell you whether a number is registered, suspended or cancelled, or whose it is.

Why would an invented number sometimes pass?

A number can be built correctly without ever being issued. The check character catches typing slips, not made-up numbers.

Is the PAN inside the GSTIN verified?

Only its pattern is shown. Nothing here confirms that the PAN exists in the income tax records.

What does the state code tell me?

It names the state or union territory of registration, and the first two digits decide whether a sale to that business is charged as CGST plus SGST or as IGST.

Can I check many numbers at once?

This page checks one at a time. For a list of suppliers, enter them as parties in AccVora, which checks each GSTIN as you save it.

Catch a wrong GSTIN before it reaches an invoice

In AccVora, a GSTIN entered on a party is checked with the same rules, so a typing mistake is caught when you save the party.

More free tools