GSTIN validator and decoder

Paste a GSTIN to check its format and check character, and to read the state, the PAN and the entity number out of it. It runs in your browser and sends nothing.

Decoder

15 characters, for example (made up, not a real taxpayer).

Enter a GSTIN to check it.

A valid format means the number is well-formed, not that it is registered or active. Not affiliated with the Government of India.

Short answer

A GSTIN is 15 characters: state code, the holder's PAN, an entity number, the letter Z and a check character. This page tests all five. It cannot tell you whether the GSTIN is registered or active.

Well-formed is not the same as active

A number can pass every check above and still belong to a cancelled or suspended registration, or to no one. The live check asks the GST network and returns the legal name, trade name, state, status and registration date.

Questions

What do the 15 characters of a GSTIN mean?
The first 2 are the state or UT code. The next 10 are the holder's PAN. The 13th is the entity number: 1 for the first registration of that PAN in the state, then 2, 3 and so on. The 14th is always the letter Z. The 15th is a check character worked out from the other 14.
How is the check character calculated?
Each of the first 14 characters is given a value (0 to 9, then A to Z as 10 to 35), multiplied by 1 or 2 alternately, the digits of each product in base 36 are added up, and the check character is the one that brings the total to a multiple of 36. A single mistyped character almost always changes it, which is why it catches typos.
Does a valid format mean the GSTIN is real?
No. A GSTIN can have a correct state code, PAN shape and check character and still not exist, or belong to a taxpayer whose registration was cancelled or suspended. This tool reads the number; only a live lookup tells you who it belongs to and whether it is active.
What does the PAN part tell me?
The 4th character of the PAN says the type of holder: P for an individual, C for a company, H for a HUF, F for a firm or LLP, A for an association of persons, B for a body of individuals, T for a trust, G for a government body, L for a local authority and J for an artificial juridical person. The 5th is the first letter of the surname or name.
Is my GSTIN sent anywhere?
No. The decoding happens in your browser; nothing you type here is sent to a server.