GSTIN Validator & Decoder

GST Number Validator & Decoder

Validate one GSTIN or paste multiple GST numbers to check format, state/UT code, PAN, and checksum. Export valid/invalid rows for vendor, customer or invoice lists.

Format + checksum
Decode state + PAN
Bulk + CSV/JSON
Format/checksum logic reviewed 7 May 2026Last reviewed: 7 May 2026

GSTIN validator tool

This checks GSTIN format and checksum. For active/cancelled status, verify on the official GST portal.Check active status on GST Portal
Need to validate many GST numbers?

Switch to Bulk Validator mode to paste vendor, customer or invoice lists and export CSV/JSON results.

Loading validator…

Bulk GSTIN Validator for multiple GST numbers

Paste GSTINs from Excel, invoices, vendor master data or customer lists. The tool cleans common separators, validates format/state/checksum, removes duplicates if selected, and lets you export CSV or JSON.

Supports newline, comma, semicolon and tab separated GSTINs
Validates up to 1000 GSTINs per batch
Can filter valid/invalid rows
Can export CSV/JSON
Does not check live GST portal status

How bulk GSTIN validation works

1
Paste GST numbers
Paste GSTINs from Excel, invoices or vendor/customer lists.
2
Normalize and dedupe
Common separators are cleaned and duplicates can be removed.
3
Check format, state code and checksum
Each GSTIN is decoded and mathematically checked.
4
Export valid/invalid results
Filter rows and export CSV or JSON for cleanup workflows.

Example bulk input

Newline separated
27ABCDE1234F1Z5
07ABCDE1234F1Z5
29ABCDE1234F1Z5
Comma separated
27ABCDE1234F1Z5, 07ABCDE1234F1Z5, 29ABCDE1234F1Z5

What this validator checks / does not check

Checks
  • 15-character GSTIN length
  • GST state/UT code
  • PAN pattern inside GSTIN
  • 14th character Z
  • Checksum character
Does not check
  • Active/cancelled GST registration status
  • Taxpayer legal name
  • GST return filing status
  • Portal authentication
  • Whether supplier is compliant

Technical standards & who uses this tool

What we validate

The validator checks GSTIN structure and validates the checksum (last character) using a standard mod-36 approach. It also validates the PAN-like pattern embedded in GSTIN.

  • Structure rules: state code + PAN pattern + entity + “Z” + checksum
  • Mod-36 checksum validation (last character)
  • PAN format decoding (useful for quick screening)
Who uses this tool?
Accountants
Sanity-check GSTIN lists before data entry and reconciliations.
Business owners
Quick vendor invoice checks to catch typos and invalid GSTINs.
Developers
Test regex + checksum logic for forms and client-side validations.
Important
This tool checks structure + checksum. It does not confirm whether the GSTIN is active/cancelled. For legal status, verify on the official GST portal.
Privacy
GSTIN decoding and checksum validation run in your browser. We don’t need a server request for these checks. (External sites have their own policies.)

Deconstructing the 15-digit GSTIN

A GSTIN is not random — it’s a structured identifier. Here’s how to read it quickly.

01
State Code (Digits 1–2)
Represents the state/UT of registration (e.g., 27 = Maharashtra).
02
PAN (Digits 3–12)
10-character PAN embedded inside GSTIN.
03
Entity No. (Digit 13)
Sequence for multiple registrations under same PAN in a state.
04
Checksum (Digit 15)
Mathematically calculated character to detect typing errors.
STRUCTURE VISUALIZATION
27ABCDE1234F1Z5
Example GSTIN structure

What do the 15 digits in a GSTIN mean?

07State Code
AAAAA0000APAN Number
1Entity Code
Z 5Checksum

A GSTIN is a 15-digit unique identifier. It starts with a 2-digit State Code, followed by the 10-digit PAN of the business, a 1-digit Entity Code, the default letter 'Z', and a Checksum character.

How to validate a GSTIN

1
Paste the GSTIN
Enter a GSTIN (single) or paste a list in Bulk Validator.
2
Check validity
Confirm format + state code + checksum results.
3
Decode fields
Review state, PAN, entity number, and checksum details.
4
Verify status if needed
For active/cancelled status, verify on the official GST portal.
Need definitions? Visit GSTIN glossary.

This tool vs. GST portal

When to use this tool vs official GST portal search
FeatureThis ValidatorGST Portal
Checksum + structure validation✅ Yes (instant)✅ Not the main purpose
Decode state + PAN fields✅ Yes✅ Limited
Active/cancelled status❌ No✅ Yes
Bulk validation✅ Yes (CSV/JSON export)❌ Not convenient

GST state/UT codes list

Codes are used in the first 2 digits of GSTIN. Legacy codes may appear in older datasets—treat them as “verify”.
40 codesShow state/UT code table
Show +
GST state and UT codes used in GSTIN (first 2 digits)
CodeState / UTNotes
01
Jammu & Kashmir
STATE
02
Himachal Pradesh
STATE
03
Punjab
STATE
04
Chandigarh
UT
05
Uttarakhand
STATE
06
Haryana
STATE
07
Delhi
UT
08
Rajasthan
STATE
09
Uttar Pradesh
STATE
10
Bihar
STATE
11
Sikkim
STATE
12
Arunachal Pradesh
STATE
13
Nagaland
STATE
14
Manipur
STATE
15
Mizoram
STATE
16
Tripura
STATE
17
Meghalaya
STATE
18
Assam
STATE
19
West Bengal
STATE
20
Jharkhand
STATE
21
Odisha
STATE
22
Chhattisgarh
STATE
23
Madhya Pradesh
STATE
24
Gujarat
STATE
25
Daman & Diu (Old)
UT
LegacyCanonical: 26
Merged into code 26 (DNHDD).
26
Dadra & Nagar Haveli and Daman & Diu
UT
27
Maharashtra
STATE
28
Andhra Pradesh (Old)
STATE
LegacyCanonical: 37
Commonly treated as old AP; use 37 for current AP.
29
Karnataka
STATE
30
Goa
STATE
31
Lakshadweep
UT
32
Kerala
STATE
33
Tamil Nadu
STATE
34
Puducherry
UT
35
Andaman & Nicobar Islands
UT
36
Telangana
STATE
37
Andhra Pradesh
STATE
38
Ladakh
UT
97
Other Territory
OTHER
Special code sometimes used in legacy/internal mappings.
99
Centre Jurisdiction
OTHER
Special/internal mapping; not typical for standard GSTIN.
Tip: If you’re validating vendor lists for ITC, run a quick structure check here first, then reconcile with GSTR-2B Reconciler.

Examples

Example 1
Single GSTIN (invoice check)
  • Paste GSTIN from invoice
  • Confirm state code matches supplier state
  • Confirm checksum is valid (typo detection)
Example 2
Bulk GSTIN list (reconciliation prep)
  • Paste a list (space/comma/newline separated)
  • Export invalid ones to CSV for correction
  • Then proceed to ITC workflow / 2B matching

Frequently asked questions

What does this tool validate?

It checks the GSTIN’s format, verifies the state/UT code, and validates the checksum (last character). It also decodes the embedded PAN and shows an indicative PAN holder type.

Does “Valid” mean the GSTIN is active?

No. A checksum-valid GSTIN can still be inactive, cancelled, or suspended. For legal status, verify on the official GST portal.

Can I validate many GSTINs at once?

Yes. Switch to Bulk Validator, paste your list (line/space/comma-separated), and export results as CSV/JSON.

Can I validate multiple GST numbers at once?

Yes. Use Bulk Validator to paste GSTINs from Excel, invoice lists, vendor masters or customer records. The tool supports newline, comma, semicolon and tab separated values.

Does this bulk GSTIN validator check active/cancelled status?

No. It checks format, state code and checksum only. For active, cancelled or suspended registration status, verify on the official GST portal.

Can I export valid and invalid GSTINs?

Yes. Bulk mode lets you filter valid/invalid rows, copy valid or invalid GSTINs, and export CSV or JSON.

What does GSTIN checksum mean?

The checksum is the final GSTIN character calculated from the first 14 characters. It helps detect typing mistakes and invalid structure.

Why does a GSTIN pass checksum but still not appear active on portal?

Checksum only proves the number is mathematically well-formed. Registration status, legal name and cancellation details come from GST portal records.

Is this useful for vendor master cleanup?

Yes. It is useful for finding GSTIN typos before vendor onboarding, invoice review, GSTR-2B reconciliation or ITC working.

Is my GSTIN data sent to your server?

No. The validator runs in your browser for structure + checksum checks and does not require a backend call. (If you click external sites, their own policies apply.)

Sources & verification

This page focuses on structure-level validation (format/state/PAN/checksum). For compliance actions (filing, ITC, vendor onboarding), confirm legal status and registration details through official channels. Format/checksum validation only. This does not confirm live GST registration status. Verify on GST portal for final compliance decisions.

Verify status (official)
  • GST Portal search / taxpayer verification (official portal) — use “Search Taxpayer” on gst.gov.in
  • If you’re doing ITC work: cross-check vendor details with GSTR-2B / invoice data
  • Clean vendor GSTINs before using the GSTR-2B Reconciler or GST ITC Calculator
What this tool does not do
  • Does not confirm active/cancelled/suspended status
  • Does not confirm taxpayer legal name
  • Does not verify filing behavior or compliance score
  • Does not fetch data from government APIs
Last reviewed: 7 May 2026 • Update policy: we refresh state code data and validation rules when official guidance/utility formats change.

Next step

Valid GSTIN list ready?

If you’re validating vendor GSTINs for ITC workflows, the next step is to reconcile purchase data against GSTR-2B.

Not legal advice • Verify before filing
Disclaimer: This validator provides structure/checksum checks for guidance and does not confirm legal registration status.