Saved

Press the star next to a tool's name to save it.

All my tools

GSTIN Validator

Enter a 15-character GSTIN. The GSTIN validator checks the state code, the PAN inside it, the 14th character and the check character, and tells you exactly what is wrong if there is a typo.

Checked 100% in your browser. Nothing you type is sent, saved or logged.

Spaces and lower-case letters are fine. Your result opens on the next page.

The GSTIN is checked on your device and never sent anywhere.

GSTIN check

–

Enter a 15-character GSTIN to check it.

The GSTIN validator checks whether a Goods and Services Tax Identification Number from India is in the right format. A GSTIN has 15 characters, and the last one is a check character worked out from the other 14, so most typos can be caught without looking anything up. The validator decodes the state, the PAN and the type of taxpayer, and if something is wrong it says which character. For example, 27AAPFU0939F1ZV is a valid GSTIN for a firm registered in Maharashtra.

How to use the GSTIN validator

  1. Type or paste the GSTIN. Spaces, hyphens and lower-case letters are fine.
  2. Read the result. Valid format means every part and the check character are correct.
  3. If it isn’t valid, the message says which part is wrong, such as a state code that doesn’t exist or a last character that should be different.
  4. Copy the PAN if you need it for other forms.

How a GSTIN is made up

CharactersMeaningIn 27AAPFU0939F1ZV
1–2State code27, Maharashtra
3–12PAN of the business or personAAPFU0939F
13Registration number under that PAN in the state1, the first registration
14Z by defaultZ
15Check characterV

The PAN’s fourth letter shows the type of taxpayer: P for an individual, C for a company, F for a firm or LLP, H for a Hindu undivided family, T for a trust, and so on. A business registered more than once in the same state, for example for different business verticals, gets registrations numbered 1, 2, 3 and then letters.

How the check character works

Each of the first 14 characters is given a value: digits 0 to 9 count as 0 to 9, and letters A to Z as 10 to 35. Every second value is doubled, each result is split into its base-36 digits and added up, and the check character is whatever brings the total up to the next multiple of 36. Because of this, changing any one character, or swapping two neighboring characters, almost always makes the check fail. The validator works it out and tells you the character that should be there.

GST state codes

CodeState or territory
07Delhi
09Uttar Pradesh
19West Bengal
24Gujarat
27Maharashtra
29Karnataka
33Tamil Nadu
36Telangana
37Andhra Pradesh

Codes run from 01 for Jammu and Kashmir to 38 for Ladakh, with 97 for other territories and 99 for centre jurisdiction. Andhra Pradesh moved from 28 to 37 after Telangana was formed, and Daman and Diu’s old code 25 was merged into 26 in 2020.

Valid format is not the same as registered

A GSTIN can pass every format check and still be cancelled, suspended or never issued. Before you pay an invoice, claim input tax credit or onboard a supplier, search the number on the official GST portal under Search Taxpayer. The portal shows the legal name, trade name, status, date of registration and type of business, which you should match against the invoice.

Where you need a GSTIN

  • Tax invoices must show the supplier’s GSTIN, and the buyer’s too for business-to-business sales.
  • Input tax credit is only available when the supplier’s GSTIN is correct on the invoice and in GSTR-2B.
  • E-way bills for moving goods use the GSTINs of the supplier and recipient.
  • Vendor records in accounting software should be checked once, so returns aren’t rejected later.

Common mistakes

  • Mixing up O and 0, or I and 1. The PAN part has letters in positions 3–7 and 12, and digits in 8–11, which helps spot these.
  • Copying the PAN instead of the GSTIN. A PAN has only 10 characters.
  • Using a GSTIN from another state for a branch. Each state registration has its own number.

GSTIN examples by taxpayer type

  • Company: the PAN’s fourth letter is C, as in a private or public limited company.
  • Firm or LLP: F, as in the example 27AAPFU0939F1ZV.
  • Individual or proprietor: P, used by sole proprietors registered in their own name.
  • Hindu undivided family: H.
  • Trust: T, used by charitable and other trusts.

Special registrations, such as those for non-resident taxpayers, online service providers from abroad and United Nations bodies, follow slightly different formats and may not pass every check here. Look those up on the GST portal.

What to do if a GSTIN fails

Ask the supplier to confirm the number, or copy it from their registration certificate or an earlier invoice. Most failures are one mistyped character, and the validator points to which part is wrong. Don’t claim input tax credit against an invoice until the GSTIN is correct, because credit is only allowed when the supplier’s number matches their return.

GSTIN and PAN together

Because the PAN sits inside the GSTIN, one business has the same PAN in every state where it registers, but a different GSTIN in each. Matching the PAN part across invoices helps you spot branches of the same supplier.

The check runs on your device. To check a PAN on its own, use the PAN card validator, and work out tax on a price with the GST calculator.

What next

Use this often? Add GSTIN Valida to your Home screen.

Frequently asked questions

What does the GSTIN validator check?

The length, the state code, the PAN pattern and taxpayer type, the 13th and 14th characters, and the check character at the end.

Does a valid format mean the GSTIN is active?

No. It means the number is well-formed. Search it on the GST portal to see if it’s active and who it belongs to.

What do the first two digits of a GSTIN mean?

They’re the GST state code, such as 27 for Maharashtra, 07 for Delhi or 29 for Karnataka.

How do I find the PAN in a GSTIN?

Characters 3 to 12 of the GSTIN are the PAN of the registered business or person.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Finance Tools