Free tool · GST · India

GSTIN validator

Catch typos in a GSTIN before it goes on an invoice or a return.

  • Indian rules
  • No sign-up
  • Runs in your browser
  • Facts verified

This tool follows Indian law. Outside India, MyRecords works in your currency and local tax rules come with a country pack.

15 characters. Spaces and dashes are ignored.

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

Result

Format and check digit are valid

State
29 · Karnataka
PAN
ABCDE1234F
Registration no. for this PAN
1
Check character
W (expected W)

    This checks the format only. It does not tell you whether the GSTIN is registered, active or cancelled — use Search Taxpayer on the GST portal for that.

    An estimate to help you plan. Nothing you type is uploaded.

    In short

    A GSTIN has 15 characters and starts with the two-digit state code from the GST master list. In the usual layout the holder's 10-character PAN, a registration number for that PAN in the state, the letter Z and a check character follow. This tool checks all five parts to catch typos; it cannot tell you whether the GSTIN is registered or active.

    How it works

    The validator reads the GSTIN you type, removes spaces and dashes, and checks:

    1. Length is 15.
    2. State code (characters 1–2) is in the GST master list of state codes.
    3. PAN (characters 3–12) has five letters, four digits and a letter.
    4. Registration number (character 13) is 1–9 or A–Z, and character 14 is “Z”.
    5. Check character (character 15) matches the first 14, using a base-36 method with weights 1 and 2.

    Worked example

    Take the made-up GSTIN 29ABCDE1234F1ZW.

    • 29 → Karnataka.
    • ABCDE1234F → a well-formed PAN.
    • 1 → the registration number under this PAN in Karnataka; Z → normal taxpayer.
    • The check character worked out from the first 14 characters is W, which matches.

    Result: Format and check digit are valid. Change any one character, say 29ABCDE1243F1ZW (two digits swapped), and the check character no longer matches — the usual sign of a typo.

    Notes and edge cases

    • Code 28 is not in the e-invoice master list; Andhra Pradesh is 37 there.
    • 97 is “Other Territory” in the master list; 96 and 99 there stand for other countries, not states.
    • The layout after the state code is not officially published that we could find. A GSTIN that fails on character 13, 14 or 15 is most likely a typo; confirm it on the GST portal rather than rejecting it outright.
    • Format is not status. A GSTIN can be well formed but cancelled or suspended. Before you claim input tax credit, check the supplier’s status and filing on the GST portal.
    • PAN is not verified against the income-tax database; only its shape is checked.

    Official sources

    Checked · Expert review: pending

    1. GST state codes, e-invoice portal master codes (NIC)
    2. Generate IRN, GSTIN pattern (15 characters, starting with two digits), e-invoice API documentation (NIC)
    3. Search Taxpayer by GSTIN, GST portalthe only way to confirm a GSTIN is registered and active

    Inside MyRecords

    Every GSTIN, checked as you save.

    MyRecords runs this check (format, state code and check character) on every GSTIN saved on a customer, supplier or address. With the GST portal APIs connected, it also looks up the legal name and whether the GSTIN is active.

    • GST returnsGSTR-1 and GSTR-3B files; GSTR-2B matching from your download.
    • Compliance calendarGST, TDS, PF, ESI, PT and advance-tax due dates on Home.
    • E-invoicingPortal upload file, IRN and QR recorded on the invoice.

    See GST returns See the whole system

    GSTR-1 in MyRecords, with the customer’s GSTIN on each invoice

    Part of one system, on one set of books:

    Questions

    Questions people ask

    Something else on your mind?

    Ask us anything about modules, a quote or moving across. A person from our team replies.

    Ask a question
    01Does a valid result mean the business is registered?

    No. It means the GSTIN is well formed and its last character matches the other 14. A made-up GSTIN can pass. Check the registration and its status on the GST portal's Search Taxpayer page.

    02What do the parts of a GSTIN mean?

    Characters 1–2 are the state code (29 is Karnataka, 27 Maharashtra). In the usual layout, 3–12 are the PAN, 13 tells apart registrations under the same PAN in that state, 14 is "Z" for normal taxpayers, and 15 is a check character. The official sources we found confirm only the length and the state code, so confirm anything unusual on the GST portal.

    03How is the check character worked out?

    Each of the first 14 characters is turned into a number from 0 to 35 (digits, then A–Z). Alternate values are multiplied by 1 and 2, each product is split into "36s" and remainder and added up, and the check character is the value that brings the sum to a multiple of 36. We could not find this method published on an official government page, so treat it as a typo check.

    04Why does my GSTIN fail on character 14?

    For normal taxpayers it is "Z". Some special registrations follow a different pattern, and the format check will flag them; confirm those on the GST portal.

    05Is my GSTIN sent anywhere?

    No. The check runs in your browser. Nothing you type is uploaded.

    Last updated Facts last verified against the official sources below Expert review pending

    This tool gives an estimate to help you plan. Rules change; confirm with your accountant before you file or pay.

    Next step

    See it on your own numbers.

    A live demo on our sample company, shaped to your kind of work, with your questions answered. Or ask us for a quote first.

    Get a quote

    Live demo

    Book a walk-through

    • On our sample company, for your kind of work
    • A quote for the modules you need
    • Your questions, answered by our team