GST Number (GSTIN) Format & State Code Validator

Validate any 15-character Indian Goods and Services Tax Identification Number (GSTIN). Decode the registered State Name, 10-digit PAN, taxpayer constitution, entity serial number, and verify the Mod-36 checksum digit.

🛡️ 15-Digit GSTIN Structural Validator

Mod-36 Algorithm
15 / 15 chars
🏢
Sample GSTINs:
Validation Status

✓ Valid GSTIN Format & Checksum

Checksum Verified
Registered State (Code 01-37)
Maharashtra (27)
Embedded 10-Digit PAN
AAPFU0939F
Taxpayer Constitution
Firm / LLP
Anatomy of the 15 Characters
27
Digits 1-2: State
AAPFU0939F
Digits 3-12: PAN
1
Digit 13: Entity No
Z
Digit 14: Default 'Z'
V
Digit 15: Checksum

Anatomy of an Indian GSTIN: Validation & Checksum Guide

The Goods and Services Tax Identification Number (GSTIN) is a 15-character alphanumeric identifier issued by the Government of India under the Central Goods and Services Tax Act, 2017. Replacing multiple state VAT, central excise, and service tax registration numbers, a single GSTIN embeds vital legal data regarding taxpayer jurisdiction, PAN ownership, entity constitution, and mathematical validity.

The 15-Digit Structural Breakdown

  1. First Two Digits (State Code): Assigned as per the 2011 Indian Census. Examples include 07 for Delhi, 27 for Maharashtra, 29 for Karnataka, 33 for Tamil Nadu, and 24 for Gujarat.
  2. Next Ten Digits (Permanent Account Number - PAN): Characters 3 to 12 correspond exactly to the 10-digit Income Tax PAN of the entity. Crucially, the 4th letter of the PAN (the 6th character of the GSTIN) discloses the legal constitution:
    • P: Individual / Sole Proprietor
    • C: Private Limited or Public Limited Company
    • F: Partnership Firm or Limited Liability Partnership (LLP)
    • H: Hindu Undivided Family (HUF)
    • T: Trust
  3. Thirteenth Digit (Entity Serial Number): Represents the number of registrations the same PAN holder has obtained within that specific state (assigned 1 through 9, followed by letters A through Z for subsequent registrations).
  4. Fourteenth Digit: Default alphabetical letter 'Z' by regulatory convention.
  5. Fifteenth Digit (Mod-36 Checksum): A mathematical check digit calculated via a customized Modulo-36 algorithm across the preceding 14 characters to prevent fraudulent typing errors.
Standard GSTIN Regular Expression (Regex):
^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Z]{1}Z[0-9A-Z]{1}$

Why Immediate GSTIN Verification is Essential

Under GST Rule 36(4), businesses cannot claim Input Tax Credit (ITC) if the supplier's GSTIN is invalid or omitted on the tax invoice. Validating a supplier's GSTIN ensures that:

  • The invoice has a legally valid Place of Supply (POS) matching the first 2 digits.
  • The supplier is an authorized registered entity, preventing bogus billing notices.
  • Your accounts payable ledger avoids costly rejections during monthly GSTR-2B matching.

Frequently Asked Questions

An Indian GSTIN consists of 15 alphanumeric characters: Characters 1-2 represent the 2-digit State Code; Characters 3-12 represent the 10-character Permanent Account Number (PAN) of the business entity; Character 13 represents the entity registration count for that PAN in the state (1-9, A-Z); Character 14 is the default letter 'Z'; Character 15 is a mathematical check-digit.

The 15th character of a GSTIN is computed using a customized Mod-36 checksum algorithm (similar to the Luhn formula). It detects typographical errors and fraudulent GST numbers before invoices are processed.

The entity constitution is identified from the 4th character of the embedded 10-digit PAN (which is the 6th character of the GSTIN): 'P' for Individual/Proprietorship, 'C' for Company, 'F' for Partnership Firm/LLP, 'H' for Hindu Undivided Family (HUF), and 'T' for Trust.

This tool performs structural, state-code, PAN syntax, and Mod-36 algorithmic checksum validation entirely on the client side. To verify real-time return filing history and active/suspended status, taxpayers should check the official government GST portal at services.gst.gov.in.