Free tool for India

GSTIN validator for one number or a whole list.

Check a GST number’s format and check character, and see its state and PAN. Paste a list or open a file to check thousands at once, then download the result. Whether a GSTIN is active is for the GST portal to say.

  • Format and check character
  • Bulk check, CSV export
  • Nothing is sent or saved

GSTIN validator

A valid format is not a live registration.

This tool checks how a GSTIN is built and whether its check character adds up. It can’t tell you whether the GSTIN was issued, is still active, or belongs to the business that gave it to you. Only the GST portal’s Search Taxpayer can.

Search Taxpayer on the GST portal

Check one GSTIN

15 characters. Spaces, hyphens and lower case are fine.

What it says

What it says: Valid formatThe pattern and the check character agree.
State codeMaharashtra
27
PAN
AAPFU0939F
PAN’s 4th letter (holder type)
F
Entity codeusually registration no. 1 under this PAN in Maharashtra
1
14th character
Z
Check characterV, as expected
V
How the check character is worked out
Each of the first 14 characters, its value, and what it adds
PlaceCharacterValue×ProductAdds
122122
27721414
3A1011010
4A1022020
5P2512525
6F1523030
7U3013030
800200
999199
1033266
1199199
12F1523030
1311111
14Z3527035

Total 221. 221 ÷ 36 leaves 5, and (36 − 5) mod 36 = 31, which is V.

Worked out in your browser. Nothing you type or open leaves this page.

Check a list

Paste GSTINs one per line, or separated by commas, semicolons or spaces, or open a .txt or .csv file. Other words in the file, such as names and headings, are left out.

Repeats are counted once. Read in your browser, never uploaded.

4 checkedValid format: 1Not valid: 2Not a regular GSTIN: 11 repeat left out

Download as CSV
Results
#GSTINResultReasonStatePAN
127AAPFU0939F1ZVValid formatThe pattern and the check character agree.27 MaharashtraAAPFU0939F
227AAPFU0939F1ZONot validThe check character should be V, not O. A character is probably mistyped.27 MaharashtraAAPFU0939F
327AAPFU0939F1ZNot validIt has 14 characters. A GSTIN has 15.
427AAPFU0939F1AANot a regular GSTINThe 14th character is A. A regular GSTIN has Z there, so this is a typo or a special registration.27 MaharashtraAAPFU0939F

How a GSTIN is built.

What the official texts say about the 15 characters, and who gets a number that doesn’t follow the pattern.

  1. A GSTIN has 15 characters: the first 2 are the state code, the next 10 are the PAN of the legal entity, the next 2 are an entity code, and the last is a check sum.

    Source: GST Council, “Registration under GST Law”, checked 17 Oct 2026

  2. Registration is PAN based and state specific: a supplier registers in each state or union territory it supplies from.

    Source: GST Council, “Registration under GST Law”, checked 17 Oct 2026

  3. A person with more than one place of business in a state may be granted a separate registration for each, so one PAN can hold several GSTINs in one state.

    Source: CGST Act 2017, s.25(2), proviso, checked 17 Oct 2026

  4. A PAN is needed for registration, but a person who deducts tax under section 51 (TDS) may have a TAN instead.

    Source: CGST Act 2017, s.25(6), proviso, checked 17 Oct 2026

  5. On the GST portal, a TDS applicant without a PAN selects TAN and enters it.

    Source: GST portal FAQs, tax deductor, checked 17 Oct 2026

  6. A non-resident taxable person doesn’t need a PAN: a passport number, or the tax identification number of their own country, will do.

    Source: GST portal FAQs, non-resident taxable person, checked 17 Oct 2026

  7. UN bodies, embassies and other notified persons get a Unique Identity Number (UIN). GSTN gives its pattern as 22YYAAA99999UIN: state code, year, country code, a five-digit serial, then UIN (or ONP for another notified person).

    Source: GSTN, FAQs on registration (part 2), checked 17 Oct 2026

  8. The GST system’s state code list gives 01 to 38 for the states and union territories, 97 for “Other Territory”, and 96 and 99 for “Other countries”.

    Source: E-invoice system, master codes, checked 17 Oct 2026

  9. A tax invoice must show the supplier’s GSTIN, and the recipient’s GSTIN or UIN when the recipient is registered.

    Source: CGST Rules 2017, rule 46(a) and (d), checked 17 Oct 2026

  10. The GST portal’s Search Taxpayer takes a GSTIN, UIN or PAN and shows the legal name, trade name, date of registration, taxpayer type and the GSTIN’s status, so you can check a GSTIN is genuine.

    Source: GSTN, Welcome Kit for New Businesses, §3.4, checked 17 Oct 2026

One GSTIN, step by step.

27AAPFU0939F1ZV, a sample from python-stdnum’s test cases, taken apart and its check character worked out.

State codeMaharashtra
27
PAN, characters 3–124th letter F
AAPFU0939F
Entity code and 14th character
1 Z
Odd places, × 12 + 10 + 25 + 30 + 9 + 9 + 1
86
Even places, × 214 + 20 + 30 + 0 + 6 + 30 + 35
135
Total, and what’s left ÷ 36
221 → 5
Check character36 − 5 = 31 = V
V

Digits count as themselves and letters as A = 10 to Z = 35. A product of 36 or more adds its quotient and remainder: Z is 35, 35 × 2 = 70 = 1 × 36 + 34, so it adds 1 + 34 = 35. The 15th character given is V, so the check passes.

A sample used in open-source tests, not a business we know of. A passing check says nothing about whether a GSTIN is registered or active.

What it does not check.

Look these up on the GST portal’s Search Taxpayer before you rely on a GSTIN.

  • Whether the GSTIN is active

    A valid format doesn’t mean the GSTIN was ever issued, or that it hasn’t been cancelled.

    Search Taxpayer shows the GSTIN’s status and its date of cancellation, if any.

    Source: GSTN, Welcome Kit for New Businesses, §3.4, checked 17 Oct 2026

  • Who it belongs to

    The number doesn’t carry a name. A real GSTIN copied onto someone else’s invoice passes every check here.

    Search Taxpayer shows the legal name and trade name of the business behind a GSTIN.

    Source: GSTN, Welcome Kit for New Businesses, §3.4, checked 17 Oct 2026

  • Return filing

    Whether a supplier files its returns isn’t in the number. Search Taxpayer shows a return filing table.

  • Whether the PAN exists

    The tool checks that characters 3–12 have a PAN’s shape: five letters, four digits, a letter. It can’t tell whether the Income Tax Department issued that PAN.

  • UINs, non-resident and TDS registrations

    They follow other patterns. The tool marks them “not a regular GSTIN” instead of passing or failing them.

    A non-resident taxable person may be granted registration on the basis of documents other than a PAN.

    Source: CGST Act 2017, s.25(7), checked 17 Oct 2026

  • Very large files

    Files up to 5 MB are read in your browser. The table shows the first 500 rows; the CSV download has every row.

GSTIN questions people ask.

1.

How do I check whether a GSTIN is valid?

In two steps. First the format: 15 characters with a state code, a PAN, an entity code and a check character that adds up, which this tool checks. Then whether it is real and active: search it on the GST portal’s Search Taxpayer.

— the PrimoERP team

Come for a free ERP demo. We'll show you your business on one screen.

your free demo voucher
PrimoERP
VOUCHER · VALID FOR ONE FREE DEMONO COST

your business, on one screen, in one sitting.

Bring your questions and a rough idea of how you work today. We set up a demo for a business like yours and walk through it with you.

  • Set up for your industry
  • Online, at a time you pick
  • No card, no contract