Skip to content
NewParallel Run is here.See how it works →
GSTIN check

GSTIN validator: catch a mistyped GST number before it posts

A free check of an Indian GSTIN: the 15-character format, the state code, the embedded PAN and the base-36 checksum, recomputed in your browser.

A drawn scene of an identifier checked character by character.
State code, PAN, entity digit, Z, and a checksum that catches a typo.

Paste a GSTIN and the validator checks it as you type. It confirms the structure, reads out the state and the embedded PAN, and recomputes the 15th character to catch a typo without any lookup.

characters in a GSTIN
15
state and territory codes recognised
40
checksum over the first 14 characters
Base 36

What a GSTIN is made of

  • Positions 1 and 2. The numeric state or union territory code, named in the result.
  • Positions 3 to 12. The 10-character PAN of the registrant, read out in the result.
  • Position 13. The entity digit, 1 to 9 or A to Z.
  • Position 14. The letter Z by default.
  • Position 15. The checksum character.

How the checksum is recomputed

  1. 1Map

    Each of the first 14 characters becomes a base-36 value: 0 to 9, then A to Z as 10 to 35.

  2. 2Weight

    Values are multiplied by an alternating factor of 1 and 2.

  3. 3Sum

    The quotient and remainder of each product divided by 36 are added up.

  4. 4Check

    The expected character is 36 minus the sum mod 36, taken mod 36.

When the check fails, the result says why: wrong length, a character out of pattern, or a checksum mismatch. On a mismatch it shows the expected check character, which usually points straight at the typo.

Garbage in, garbage out. If data integrity is weak, machine generated variance analysis will be compromised.

Jemma Ewin, CEO & Co‑Founder · Global CFO

Who it is for: AP and AR teams onboarding Indian vendors and customers, and anyone keying a GSTIN onto an invoice. A passing check means the number is well formed. Whether it is live and registered is a question for the GST portal search. The page is published in English.

Inside Rivane the same structure check runs on vendor and customer records as they are entered.

Further reading

Questions

Does a valid checksum mean the GSTIN is registered?

No. It means the number is internally consistent. Use the search taxpayer tool on the GST portal to confirm an active registration.

Can I read the PAN from a GSTIN?

Yes. Characters 3 to 12 are the PAN of the registered person, and the validator shows them.

Does it accept lower case or spaces?

Yes. Spaces are stripped and letters are upper-cased before the check runs.

Is the GSTIN sent anywhere?

No. The check is a pure calculation that runs in the page.

Written byJemma EwinCEO & Co‑Founder · Global CFO

See Rivane on your own close

See the ledger, the close and reconciliation working together, and bring the questions that matter to your team.

Request a demo