Skip to content

GSTIN validator

Check that a GST number is well-formed: the 15-character pattern, the State code and the check digit. See the State, the PAN inside it and the type of PAN holder, or paste a whole list and copy the valid ones.

15 characters, from the invoice, the GST certificate or the buyer's letterhead.

Type or paste a GSTIN to check its format and check digit and see what it contains.

A pass means the number is well-formed, not that it is registered or active. To see the business's name and status, search it on the GST portal's Search Taxpayer page . Nothing you type here is sent anywhere.

How to use it

  1. Type or paste the GSTIN. Spaces and lower case are fine.
  2. Read the result: well-formed or not, and if not, which part is wrong.
  3. Check the State and PAN against what the business told you.
  4. For a list, switch to Check many at once, paste one GSTIN per line, and copy the valid ones.
  5. Before you rely on it, search the GSTIN on the GST portal's Search Taxpayer page to see the legal name and whether the registration is active.

What the 15 characters mean

The GST registration rules set the format: two characters for the State code, ten for the PAN, two for the entity code and one checksum character. On a regular GSTIN the first of the entity code's two characters is the entity number and the second is Z. Taking the example GSTIN 27AAPFU0939F1ZV:

The parts of a GSTIN
PositionExampleMeaning
1–227State code: where the registration is (27 is Maharashtra)
3–12AAPFU0939FPAN of the registered business or person
131Entity number: tells apart registrations on the same PAN in one State
14ZZ on regular GSTINs
15VCheck character, worked out from the first 14

The PAN holder type

The fourth character of a PAN shows the status of the holder, as the Income Tax Department lists it. In a GSTIN, that is the sixth character.

  • P Individual
  • C Company
  • H Hindu Undivided Family (HUF)
  • F Firm or LLP
  • A Association of Persons (AOP)
  • B Body of Individuals (BOI)
  • T Trust
  • L Local authority
  • J Artificial juridical person
  • G Government agency

State codes

The first two digits are the GST State code, the same code shown with the place of supply on a tax invoice.

  • 01 Jammu and Kashmir
  • 02 Himachal Pradesh
  • 03 Punjab
  • 04 Chandigarh
  • 05 Uttarakhand
  • 06 Haryana
  • 07 Delhi
  • 08 Rajasthan
  • 09 Uttar Pradesh
  • 10 Bihar
  • 11 Sikkim
  • 12 Arunachal Pradesh
  • 13 Nagaland
  • 14 Manipur
  • 15 Mizoram
  • 16 Tripura
  • 17 Meghalaya
  • 18 Assam
  • 19 West Bengal
  • 20 Jharkhand
  • 21 Odisha
  • 22 Chhattisgarh
  • 23 Madhya Pradesh
  • 24 Gujarat
  • 26 Dadra and Nagar Haveli and Daman and Diu
  • 27 Maharashtra
  • 29 Karnataka
  • 30 Goa
  • 31 Lakshadweep
  • 32 Kerala
  • 33 Tamil Nadu
  • 34 Puducherry
  • 35 Andaman and Nicobar Islands
  • 36 Telangana
  • 37 Andhra Pradesh
  • 38 Ladakh
  • 97 Other Territory

What this check can and can't tell you

  • It can catch a typing mistake before it reaches an invoice or a return, and show the State and PAN inside the number.
  • It can't tell whether the GSTIN was ever issued, is still active, or belongs to the business that gave it to you. A number can be well-formed and still be made up.
  • For that, use the GST portal's Search Taxpayer, which shows the legal name, trade name, status and date of registration.

Putting the GSTIN on a bill? The GST invoice generator runs the same check on your GSTIN and your buyer's, and picks CGST and SGST or IGST from the State codes.

Questions about checking a GSTIN

Does a valid result mean the GSTIN is real and active?+

No. It means the number is well-formed: 15 characters in the right pattern, a real State code and a check character that matches. A made-up number can pass. To see whether it is registered, active and whose it is, search it on the GST portal's Search Taxpayer page.

What is the format of a GSTIN?+

15 characters: a two-digit State code, the 10-character PAN of the business or person, an entity number, the letter Z on regular GSTINs, and a check character worked out from the first 14.

How is the check character worked out?+

Each of the first 14 characters is turned into a number from 0 to 35 (0–9, then A–Z), every second one is doubled, each result is split into its quotient and remainder by 36 and they are all added up. The check character is the one that brings the total to a multiple of 36. It catches most single typing mistakes and many swapped pairs.

Can I find the PAN from a GSTIN?+

Yes. Characters 3 to 12 of a regular GSTIN are the PAN of the registered person. The PAN's fourth character shows the type of holder, such as P for an individual, C for a company or F for a firm or LLP.

Why does a business have more than one GSTIN?+

Registration is per State, so a business with places of business in several States has one GSTIN in each, all with the same PAN inside. The entity number, the 13th character, tells apart more than one registration on the same PAN in the same State.

Why does a GSTIN fail here when the business gave it to me?+

Most often a typing mistake: O for 0, I for 1, or two characters swapped. The tool names the part that is wrong. Some special registrations, such as a UIN for embassies or some tax deductors' registrations, follow a different pattern and won't pass a regular GSTIN check; confirm those on the GST portal.

Is the GSTIN I enter sent anywhere?+

No. The check runs in your browser. Nothing is sent to us, the GST portal or anyone else, which is why it can't tell you whether a number is active.

Sources, checked on 23 November 2026

The check character uses the mod-36 scheme that GSTINs are issued with. The PAN holder types are from the Income Tax Department's PAN guide.

More free GST tools

See every tool on the free tools page.

Checking GSTINs by hand in your own system?

We build billing, vendor and customer systems that check GSTINs as they are typed and keep your records clean. Tell us how you work today.

Or email leelaramtechnologies@gmail.com