esc
ID checkers

GSTIN validator:
India GST number check and decoder

Type a GSTIN to check its last character and see the state code and PAN it contains. Type 14 characters to work out the 15th.

More tools for India Other countries

How to use GSTIN validator

  1. 01Type the GSTIN15 characters, spaces are fine.
  2. 02Read the resultValid or which part is wrong.
  3. 03See the partsState, PAN, holder type.
Front and back of an ID card on one sheet of paper

27AAPFU0939F1ZV: Maharashtra, firm, valid.

A GSTIN is the state code, the holder’s PAN, a registration number, the letter Z and a check character. The tool checks each part, works out the check character with the mod 36 rule used by GST software, and shows every step.

GSTIN validator and decoder: type a GST number to check its 15th character and see what the other fourteen say. It is a format check, done in your browser, for catching typing mistakes on invoices, vendor forms and e-way bills before they cause a mismatch.

What the 15 characters of a GSTIN mean

Take 27AAPFU0939F1ZV: 27 is Maharashtra, AAPFU0939F is the PAN (F, a firm), 1 is its first registration in the state, Z is the default and V is the check character.

  • Characters 1–2: the state or union territory code, for example 27 Maharashtra, 29 Karnataka, 07 Delhi, 33 Tamil Nadu.
  • Characters 3–12: the PAN of the business or person. Its 4th letter is the holder type (P person, C company, F firm or LLP, H HUF and so on).
  • Character 13: the number of the registration for that PAN in that state, 1 for the first.
  • Character 14: Z by default.
  • Character 15: a check character worked out from the first fourteen.

How the check character is worked out

Each of the first 14 characters gets a value: 0–9 for digits and 10–35 for A–Z. Going from the left, the values are multiplied by 1, 2, 1, 2 and so on. A product of 36 or more is reduced to its quotient plus remainder when divided by 36. The reduced products are added, and the check character is the one whose value brings the total up to the next multiple of 36.

GSTN doesn’t publish this formula. The one used here is the “mod 36” rule described by independent open-source validators, and it gives the right check character for published GSTINs. If a GSTIN printed on a real invoice fails, look for a mistyped character first.

What this check can’t tell you

A GSTIN can pass every test here and still be cancelled, suspended or never issued. The GST portal’s “Search Taxpayer” shows the legal name, status and registration date. Use it before claiming input tax credit on a supplier’s invoice.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

Does a valid result mean the GSTIN is active?

No. It only means the characters fit together. To see whether a GSTIN is registered and active, and in whose name, use “Search Taxpayer” on the GST portal (gst.gov.in).

What does the 13th character mean?

It counts the registrations the same PAN holds in that state: 1 for the first, 2 for the second and so on, then letters after 9.

Why is the 14th character always Z?

Z is the default for regular registrations. A GSTIN with another letter there is not a normal registration, so the tool reports it.

Is the number sent anywhere?

No. The GSTIN is checked in your browser and nothing you type is sent to a server or saved.

Can I find the PAN from a GSTIN?

Yes. Characters 3 to 12 are the PAN, and the tool shows it with its holder type.

What are codes 25 and 28?

Older codes: 25 was Daman and Diu, which now uses 26, and 28 was Andhra Pradesh before the 2014 division, which now uses 37. The tool accepts them and says they are old.