Indian GST Number (GSTIN) Verification Guide: Format, State Codes & Online Validation
Since the historic rollout of the Goods and Services Tax (GST) regime on July 1, 2017, the Goods and Services Tax Identification Number (GSTIN) has become the universal identifier for businesses operating across India. Whether you are generating a B2B tax invoice, filing monthly GSTR-1 and GSTR-3B returns, claiming Input Tax Credit (ITC), or issuing e-Way bills for inter-state cargo movement, an accurate GSTIN is legally mandatory.
In recent fiscal audits, the Central Board of Indirect Taxes and Customs (CBIC) and state GST enforcement authorities have cracked down heavily on fraudulent invoices, circular trading, and mismatched GSTINs. Quoting an invalid or inactive GSTIN on a tax invoice can lead to the immediate denial of Input Tax Credit under Section 16 of the Central Goods and Services Tax (CGST) Act, resulting in cash flow disruption, statutory interest penalties, and audit notices.
In this authoritative guide, we break down the 15-character alphanumeric architecture of the GSTIN, outline the complete state code table, explain the mathematical checksum algorithm, and demonstrate how you can validate any vendor's GST number instantly inside your browser.
1. Anatomy of the 15-Digit GSTIN Structure
Every GSTIN assigned by the Goods and Services Tax Network (GSTN) is an alphanumeric string comprised of exactly 15 characters. Rather than being a random sequence, each segment represents specific administrative and tax attributes:
┌─────────┬──────────────────────────┬───────────┬───────┬──────────┐
│ 07 │ AAAAA9999A │ 1 │ Z │ 5 │
├─────────┼──────────────────────────┼───────────┼───────┼──────────┤
│ State │ Permanent Account Number │ Entity No.│Default│ Checksum │
│ Code │ (10-Digit PAN of Entity) │ in State │ Char │ Digit │
│ (2 Dig) │ (Chars 3 to 12) │ (Char 13) │(Ch 14)│ (Char 15)│
└─────────┴──────────────────────────┴───────────┴───────┴──────────┘
Characters 1 & 2: State / Union Territory Code
The first two digits identify the physical state or Union Territory where the business entity is officially registered under the Census 2011 administrative code. For example, 07 represents Delhi, 27 represents Maharashtra, 24 represents Gujarat, and 29 represents Karnataka.
Characters 3 to 12: Permanent Account Number (PAN)
The next ten characters represent the verified Permanent Account Number (PAN) of the business proprietor, partnership firm, private limited company, trust, or government department issued by the Income Tax Department of India:
- First 3 letters: Alphabetical sequence (e.g.,
AAAtoZZZ). - 4th letter: Entity type identifier (
Pfor Individual/Proprietorship,Cfor Company,Ffor Partnership Firm,Hfor Hindu Undivided Family,Tfor Trust). - 5th letter: First letter of the taxpayer's surname or company name.
- Next 4 digits: Sequential numbers (
0001to9999). - 10th letter: Alpha check digit.
Character 13: Entity Registration Number Within State
The 13th character indicates the sequential number of business verticals registered by the same PAN holder within that specific state. If a taxpayer has only one registered business entity in Maharashtra, this character is 1. If they register a second independent establishment or warehouse within the same state under the same PAN, it becomes 2, up to 9, followed by alphabetic characters (A through Z) for up to 35 entities.
Character 14: Default Character ("Z")
The 14th character is universally set to the uppercase letter "Z" by default for all standard commercial taxpayers, reserved by the GSTN for future architectural expansion.
Character 15: Mathematical Checksum Code
The final character is a calculated alphanumeric check code derived using a specialized variation of the Luhn Mod 36 algorithm. It detects typographical errors, transposed digits, and forged GST numbers before invoice processing.
2. Official Indian State & Union Territory GST Codes (01 to 38)
Below is the complete, official 2-digit state code directory recognized across all GST tax systems in India:
| Code | State / Union Territory | Code | State / Union Territory |
|---|---|---|---|
| 01 | Jammu & Kashmir | 20 | Jharkhand |
| 02 | Himachal Pradesh | 21 | Odisha |
| 03 | Punjab | 22 | Chhattisgarh |
| 04 | Chandigarh | 23 | Madhya Pradesh |
| 05 | Uttarakhand | 24 | Gujarat |
| 06 | Haryana | 26 | Dadra & Nagar Haveli and Daman & Diu |
| 07 | Delhi | 27 | Maharashtra |
| 08 | Rajasthan | 28 | Andhra Pradesh (Old) |
| 09 | Uttar Pradesh | 29 | Karnataka |
| 10 | Bihar | 30 | Goa |
| 11 | Sikkim | 31 | Lakshadweep |
| 12 | Arunachal Pradesh | 32 | Kerala |
| 13 | Nagaland | 33 | Tamil Nadu |
| 14 | Manipur | 34 | Puducherry |
| 15 | Mizoram | 35 | Andaman & Nicobar Islands |
| 16 | Tripura | 36 | Telangana |
| 17 | Meghalaya | 37 | Andhra Pradesh (New) |
| 18 | Assam | 38 | Ladakh |
| 19 | West Bengal | 97 | Other Territory |
3. How the Mod-36 Checksum Algorithm Validates GST Numbers
When you type a GST number into an accounting system, how does the system know it is syntactically valid without querying the central government database?
The Goods and Services Tax Network uses an alphanumeric character set 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ mapped to integer values 0 through 35:
- Each of the first 14 characters is converted to its numeric index.
- Alternating weight factors (typically
1and2) multiply each character value starting from the rightmost position. - The quotients and remainders are summed across all 14 characters.
- The modulo-36 remainder is subtracted from 36 to yield the 15th check character.
If even a single letter is mistyped—such as typing an O instead of a zero 0—the checksum verification fails immediately.
4. Why Verifying Vendor GSTINs Is Crucial for Input Tax Credit (ITC)
Under Section 16(2) of the CGST Act, 2017, a buyer can claim Input Tax Credit on purchases only if all of the following conditions are met:
- The buyer possesses a valid tax invoice issued by the supplier.
- The supplier has actually furnished the invoice details in their outward return (Form GSTR-1).
- The details are reflected in the buyer's auto-drafted Form GSTR-2B.
- The supplier has paid the collected tax to the government.
If a vendor issues an invoice with a fake, cancelled, or mistyped GSTIN, that invoice will never appear in your GSTR-2B. When filing your GSTR-3B, your claimed ITC will be automatically blocked by the GST portal, and your company may receive automated tax recovery notices under Section 73 or 74.
5. Instant In-Browser GSTIN Validation on Tooloraa
To safeguard your business against fake invoices, accounting typos, and tax reconciliation penalties, use our free Indian GST Number Validator on Tooloraa:
- Instant Structural Audit: Deconstructs the 15-character string into State, PAN, Entity vertical, and Checksum components.
- State Lookup: Identifies the official state name and census code in real time.
- PAN Verification Linkage: Confirms that the embedded PAN matches official Income Tax Department entity formats.
- 100% Client-Side Privacy: All mathematical calculations execute locally on your device using JavaScript. Your customer and vendor tax identifiers are never transmitted across the internet to any external server.
For comprehensive business accounting and compliance workflows, pair this validator with our Indian PAN Card Validator, Indian IFSC Code Validator, and INR Currency in Words Converter.