India GSTIN Validator

Validate a 15-character GSTIN — state code, PAN and base-36 check digit.

Free India GSTIN validator. Check the 15-character GST Identification Number format — state code, embedded PAN and the GSTN base-36 check digit. Privacy-first and runs entirely in your browser — no GST portal lookup, nothing is sent anywhere. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

How is a GSTIN structured?

15 characters — a 2-digit state code, the entity's 10-character PAN, a 1-character entity number, the reserved letter Z, and a base-36 check digit computed over the first 14 characters.

This tool validates the format of a 15-character India GSTIN (GST Identification Number). It decodes the state code, checks the embedded PAN, and recomputes the check digit offline — useful for catching typos on invoices and in vendor records before filing.

When GSTIN validation is needed

Under India’s GST regime, businesses must quote their GSTIN (and their suppliers’ GSTINs) correctly on every tax invoice. A wrongly typed GSTIN — even one character off — causes the recipient to fail Input Tax Credit (ITC) reconciliation on the GSTN portal, because the credit claimed will not match the credit uploaded by the supplier. Catching format errors before filing is far less painful than correcting mismatches after the fact.

This validator is also useful in procurement workflows: before registering a new vendor in an ERP, format-check their GSTIN to confirm it is at least structurally valid and that the state code corresponds to their stated registration state.

How it works

A GSTIN is 15 characters with a fixed structure:

PositionLengthMeaning
1–22State code (e.g. 27 = Maharashtra)
3–1210Holder’s PAN (AAAAA0000A pattern)
131Entity number for that PAN in the state
141Reserved (currently Z)
151Base-36 check digit

The validator decodes the state code to a name, verifies the embedded PAN pattern (five letters, four digits, one letter), and recomputes the GSTN base-36 check digit over the first 14 characters: each character maps to 0–35 (0–9 then A–Z), is multiplied by an alternating factor of 1 and 2, and the quotient and remainder of dividing each product by 36 are summed; the check value is (36 − sum mod 36) mod 36. It compares that to the 15th character.

Worked example

For 22AAAAA0000A1Z5:

  • State code 22 → Chhattisgarh
  • PAN = AAAAA0000A → matches the valid pattern (5 letters + 4 digits + 1 letter)
  • Entity number 1 — the first registration for this PAN in Chhattisgarh
  • Reserved character Z
  • Check digit recomputed over the first 14 characters and compared to 5

If the recomputed digit matches, the GSTIN is structurally well-formed.

GST state codes quick reference

Some frequently referenced codes: 07 = Delhi, 09 = Uttar Pradesh, 19 = West Bengal, 27 = Maharashtra, 29 = Karnataka, 33 = Tamil Nadu, 36 = Telangana. The validator decodes whichever state code is present in the first two characters.

What this tool does not check

A structurally valid GSTIN is not necessarily an active registration. A business may have cancelled, suspended, or never actually registered a number that passes the format check. To confirm active status, use the official GST portal’s “Search Taxpayer” function at gst.gov.in. This tool is privacy-first — no data is sent anywhere, and no portal lookup is made.