HomeTools › GSTIN Validator
🧾 Free Tool · No Signup

Free GSTIN Validator

Instantly check whether a GST number is correctly formatted, verify its checksum digit, and decode the embedded state code, PAN and entity registration number — all inside your browser.

Validate & Decode GSTIN

Format: 2-digit state code + 10-char PAN + entity code + Z + checksum
State
Embedded PAN
Entity / Registration No.
Checksum Digit

How to Use This Tool

  • 1

    Copy the GSTIN from an invoice or GST portal

    Paste it exactly as printed — 15 characters, no spaces or hyphens.

  • 2

    Click "Validate GSTIN"

    The tool checks the format pattern and recalculates the checksum digit locally.

  • 3

    Read the decoded breakdown

    See the state, embedded PAN, and entity registration number extracted from the number.

  • 4

    Cross-check on the GST portal if needed

    For live registration status and business name, verify on services.gst.gov.in.

💡 A structurally "valid" GSTIN means the format and checksum are correct — it does not confirm the business is currently active or that the number truly belongs to who you think it does. Always cross-check high-value vendor GSTINs on the official portal.

Why Verify a GSTIN Before Trusting It

Every business registered under India's Goods and Services Tax regime is issued a unique 15-character GSTIN (GST Identification Number). It appears on every tax invoice, e-way bill, and GST return — and it is the single most important field to get right when you record a purchase, claim Input Tax Credit, or onboard a new vendor.

A single mistyped character in a GSTIN can silently break Input Tax Credit reconciliation for the buyer, delay refunds, and trigger mismatch notices months later during GST return filing. Because the number is dense and easy to transpose, a fast, reliable way to catch typos before they reach an invoice is genuinely useful for accountants, freelancers, and small business owners across India.

📍

State Code

First 2 digits identify the registered state or UT

🪪

PAN

Next 10 characters are the business's actual PAN

🔢

Entity Code

13th character counts registrations for that PAN in-state

Checksum

15th digit mathematically validates the whole number

How a GSTIN Is Structured — Digit by Digit

A GSTIN is always exactly 15 characters, and every position has a fixed meaning defined by the GST Council. Understanding this structure is what lets a computer — or a careful human — spot an obviously wrong number instantly.

Position 1–2 — State Code

A two-digit numeric code representing the state or union territory where the business applied for registration. This is the same code used on other GST documents and is fixed by the Census 2011 state code list, not the postal PIN code system.

Position 3–12 — Embedded PAN

The business's 10-character Income Tax PAN, unchanged. This is why a GSTIN can be cross-checked against a company's PAN — the middle section should match exactly.

Position 13 — Entity / Registration Number

Indicates how many GST registrations the same PAN holder has taken within that one state. Most businesses have a single registration per state, so this is usually "1".

Position 14 — Default Character "Z"

Currently always the letter Z, reserved by the GST department for possible future use. A GSTIN with anything other than Z in this position is invalid today.

Position 15 — Checksum Digit

A single alphanumeric character mathematically derived from the first 14 characters, used purely to detect data-entry errors.

How the GSTIN Checksum Digit Is Calculated

The checksum uses a well-documented method called the Luhn mod-36 algorithm — the same family of checksum used to catch typos in many identification numbers worldwide, adapted to GSTIN's 36-character alphabet (0–9 and A–Z).

Checksum Formula
For each of the first 14 characters (right to left), alternate multiplying its position value by 2 and 1. If the product exceeds 35, add its digits (quotient + remainder of division by 36). Sum all 14 results, then the check digit = (36 − (sum mod 36)) mod 36, mapped back to a character.
Worked example
GSTIN base (first 14 chars): 27AAPFU0939F1Z
Apply Luhn mod-36 weighting right-to-left, sum the transformed values
Compute check digit = (36 − (sum mod 36)) mod 36
Result: checksum character "V" ✓ matches the 15th character of a valid GSTIN
💡 This is exactly why even a single swapped digit almost always produces a completely different checksum — making the validator highly effective at catching typos before they become a GST filing headache.

GST State Codes — Full Reference Table

These two-digit codes appear as the first two characters of every GSTIN registered in that state or union territory.

CodeState / UTCodeState / UT
01Jammu & Kashmir20Jharkhand
02Himachal Pradesh21Odisha
03Punjab22Chhattisgarh
04Chandigarh23Madhya Pradesh
05Uttarakhand24Gujarat
06Haryana26Dadra & Nagar Haveli and Daman & Diu
07Delhi27Maharashtra
08Rajasthan29Karnataka
09Uttar Pradesh30Goa
10Bihar32Kerala
11Sikkim33Tamil Nadu
12Arunachal Pradesh34Puducherry
13Nagaland35Andaman & Nicobar Islands
14Manipur36Telangana
15Mizoram37Andhra Pradesh
16Tripura38Ladakh
17Meghalaya97Other Territory
18Assam99Centre Jurisdiction
19West Bengal

Entity / Registration Number Explained

The 13th character tracks multiple registrations under one PAN within a single state — common for large groups running several business verticals from the same state.

13th CharacterMeaning
1 – 91st to 9th GST registration for that PAN in the state
A10th registration for that PAN in the state
B – Z11th through 35th registration for that PAN in the state

In practice, the overwhelming majority of GSTINs carry "1" here, since most businesses register only once per state.

GSTIN vs PAN — What's the Difference

PAN and GSTIN are related but serve different purposes. PAN is a lifetime identity number for tax purposes issued once to a person or company. GSTIN is a state-wise registration number under GST — a single PAN can have one GSTIN per state it operates in, so a company with warehouses in five states could legitimately hold five different GSTINs, all sharing the same embedded PAN.

📌 If you already know a vendor's PAN, you can quickly sanity-check any GSTIN they give you by confirming characters 3–12 match their PAN exactly — a fast manual check before running the full validator.

Need to calculate GST on an invoice too?

Add or reverse-calculate GST across all four slabs — 5%, 12%, 18%, 28%.

Open GST Calculator →

5 Common GSTIN Mistakes to Avoid

Mistake 1 — Confusing "0" (zero) with "O" (letter)
✗ Wrong: Typing O instead of 0 in the PAN section
✓ Right: GSTIN PAN characters never contain the letter O — always a zero
This is the single most common transcription error, especially when copying from a scanned invoice or a low-resolution photo.
Mistake 2 — Assuming a well-formatted GSTIN is an active one
✗ Wrong: Treating checksum-valid as proof the business is currently registered
✓ Right: A valid format only proves the number wasn't mistyped — check live status separately
A cancelled or suspended registration can still carry a structurally valid GSTIN. Always confirm active status on the GST portal for high-value vendors.
Mistake 3 — Using the wrong state code for a multi-state business
✗ Wrong: Quoting a Delhi office's GSTIN on an invoice for goods billed from a Maharashtra warehouse
✓ Right: Always use the GSTIN registered for the specific state the supply is billed from
Using the wrong state's GSTIN can trigger IGST vs CGST/SGST classification errors on the invoice.
Mistake 4 — Ignoring the checksum mismatch warning
✗ Wrong: Proceeding with an invoice even after the validator flags a checksum failure
✓ Right: Go back to the source document and re-verify every character carefully
A checksum failure means at least one character is wrong — it will not resolve itself and will cause downstream ITC issues.
Mistake 5 — Copying a GSTIN with extra spaces or hyphens
✗ Wrong: Pasting "27 AAPFU0939F 1ZV" with spaces from a PDF
✓ Right: Strip all spaces, hyphens and line breaks — GSTIN is always one continuous 15-character string
PDF-to-text copies frequently insert stray spaces that make an otherwise correct GSTIN look invalid.

Frequently Asked Questions

GSTIN stands for Goods and Services Tax Identification Number — a unique 15-character alphanumeric code assigned to every business registered under GST in India. It is issued by the GST department and appears on every tax invoice, GST return, and e-way bill.

Enter the 15-character GSTIN into the validator above. It checks that the format matches the official pattern and verifies the checksum digit using the Luhn mod-36 algorithm — confirming the number is structurally valid. For live registration status, check the official GST portal.

The first 2 digits are the state code, the next 10 characters are the business's PAN, the 13th character is the entity registration number for that PAN in that state, the 14th is always Z, and the 15th is a checksum digit.

The 15th character is a check digit generated using the Luhn mod-36 algorithm applied to the first 14 characters, purely to catch typos — a single mistyped character will almost always produce a checksum mismatch.

No. This tool checks format and checksum validity only. It cannot confirm whether the GSTIN belongs to an active, registered taxpayer — for that, search it on the official GST portal at services.gst.gov.in.

PAN is a 10-character code issued by the Income Tax Department to identify a person or entity. GSTIN is a 15-character number that embeds the PAN plus a state code and registration details — one PAN holder can have multiple GSTINs across states.

The first two digits of every GSTIN represent the state or union territory of registration, using a fixed numeric code — for example 27 is Maharashtra, 07 is Delhi, and 29 is Karnataka. The full list is in the reference table above.

An invoice with an invalid or mistyped GSTIN can cause Input Tax Credit mismatches for your buyer during return reconciliation, delayed reimbursements, and possible notices from the GST department.

No. All validation and decoding happens instantly inside your browser using JavaScript. Nothing is uploaded, logged, or stored on any server.

The 13th character indicates how many GST registrations the same PAN holder has within that state — it runs 1–9 then A–Z, so a first registration gets 1, an eleventh gets A, and so on.

More Free Tools on ToolLoom

📅 August 2026 · Written by the ToolLoom Team · Reviewed for accuracy August 2026. Found an error? Email contact@toolloom.in