Blog · 6 November 2026 · 4 min read

How to check if a GSTIN is valid (format, checksum and state code)

What the 15 characters of a GST number mean, how the check character works and how to confirm a supplier before you pay.

The 15 characters

  • Characters 1 to 2: state code, such as 27 for Maharashtra or 29 for Karnataka
  • Characters 3 to 12: the holder's PAN
  • Character 13: how many registrations the PAN holder has in that state
  • Character 14: the letter Z
  • Character 15: a check character that catches typing mistakes

Step 1: check the format

Paste the number into the GSTIN Validator. It checks the pattern and the check character, and shows the state and the PAN hidden inside. If the check character does not match, the number was probably typed wrongly.

Step 2: confirm that it is active

A number can have a perfect format and still be cancelled or not exist. Always confirm the status on the official GST portal using the Search Taxpayer option before you pay or claim input tax credit.

Common mistakes

  • Mixing up the letter O and the number 0
  • Missing the last character
  • Copying spaces with the number

Why it matters

Claiming input tax credit on an invoice from a wrong or cancelled GSTIN can lead to denied credit and notices. A quick check is cheap protection.

Try it now, free
GSTIN Validator runs in your browser. No sign up, and your files stay on your device.
Open GSTIN Validator →

More guides

Leave application format for school and office, with examples

A short leave application you can copy for a student or an employee, with the details every application needs.

How to calculate EMI: the formula, a worked example and a quick shortcut

The EMI formula in plain words, a car loan example and how to compare loans by total interest.

Old vs new tax regime: how to decide which is better for you

A simple way to compare both regimes using your own numbers, and the deductions that make the old regime win.