The Exim Roof
The Exim Roof
Compliance • Trade • Growth
Free · No signup · Instant

GSTIN Validator

Instantly validate any 15-character GSTIN and decode every embedded detail — state, PAN, entity type and checksum — in one place.

Guide

The GSTIN Validator confirms whether a 15-character Goods and Services Tax Identification Number is structurally valid and decodes every embedded field — the state code, the underlying PAN, the entity type and the check digit — using the same modulo-36 algorithm that the GSTN portal itself uses.

For anyone raising invoices, claiming input-tax credit, running vendor onboarding, or reconciling books of account, a quick structural check on the GSTIN saves hours of downstream trouble. This tool catches typos, transposed characters and outright fabricated numbers in a single keystroke.

Anatomy of a GSTIN

A GSTIN is 15 characters long and follows a strict alphanumeric pattern that encodes several attributes of the registered taxpayer.

  • Digits 1–2 — State code as per the Indian Census 2011 (e.g. 27 = Maharashtra, 07 = Delhi, 29 = Karnataka)
  • Digits 3–12 — The 10-character PAN of the entity or individual
  • Digit 13 — Entity code within the same state on the same PAN (1 for the first registration, 2 for the second, and so on)
  • Digit 14 — Always the letter Z (reserved for future use)
  • Digit 15 — The check character computed by the modulo-36 algorithm over the first 14 characters

The modulo-36 checksum explained

The 15th character of a GSTIN is not arbitrary; it is a mathematical checksum designed to detect the vast majority of single-character typos and transposition errors. The validator implements it exactly as GSTN specifies.

Algorithm in plain language

  • Map each of the first 14 characters to a value between 0 and 35 (0-9 for digits, 10-35 for A-Z)
  • Multiply the value by 1 for characters at odd positions and by 2 for characters at even positions
  • Convert each product back to its base-36 representation and add its digit values
  • Take the sum modulo 36 and subtract from 36; the result mod 36 gives the check character index
  • The final index maps back to a digit (0-9) or letter (A-Z)

Why validate a GSTIN?

  • Ensure input-tax credit is not blocked because of an invalid supplier GSTIN
  • Catch data-entry errors during vendor master creation
  • Prevent GSTR-1 and GSTR-3B reconciliation mismatches
  • Verify the state of registration before deciding CGST/SGST or IGST
  • Confirm that a business claiming to be GST-registered actually holds a well-formed number

How to use the validator

  • Step 1Paste or type the 15-character GSTIN. The input auto-converts to uppercase.
  • Step 2The tool checks length, format, allowed character set and the modulo-36 checksum in real time.
  • Step 3If valid, it shows the registered state, the embedded PAN, the entity type decoded from the 4th character of the PAN, and the verified check digit.
  • Step 4If invalid, it names the exact step that failed — length, format, character set or checksum — so you can correct it.

What structural validation cannot tell you

A GSTIN can be well-formed and still be inactive, cancelled or suspended. Structural validation checks only the shape of the number, not its live registration status.

  • For live status, use the official GST portal search facility
  • For legal-name verification, compare against the certificate of registration
  • For place-of-business verification, use the GSTIN details view on the GST portal
  • For return-filing status, use the GSTR compliance history on the portal
FAQs

Frequently asked questions

1What does the 4th character of the embedded PAN tell me?

The 4th character of a PAN encodes the entity type. P is an individual, C is a company, H is a HUF, F is a firm or LLP, A is an AOP, T is a trust, B is a BOI, L is a local authority, J is an artificial juridical person and G is a government entity. This directly tells you what kind of business is behind the GSTIN.

2Can two GSTINs share the same PAN?

Yes. A single PAN can hold multiple GSTINs — one for each state in which the entity is registered, and additional GSTINs within the same state for separate business verticals. The 13th character increments to distinguish them.

3Why does the 14th character have to be Z?

The 14th position is reserved by GSTN for future use and is currently fixed to the letter Z on every regular GSTIN. Any other character at position 14 makes the GSTIN structurally invalid.

4Does this tool check if the GSTIN is active on the GST portal?

No. It only performs offline structural and checksum validation. To confirm whether a GSTIN is active, cancelled or under suspension you must use the "Search Taxpayer" facility on the official GST portal.

5Is the validator free to use and safe for confidential vendor data?

Yes. The tool is free, works entirely inside your browser and does not transmit the GSTIN to any server. It is safe to use for confidential vendor onboarding and internal audit workflows.

i
Disclaimer: This tool is for indicative estimation only. Please consult a professional before relying on the output for statutory filings or commercial transactions.