Skip to content

GSTIN validator: check GST number format

Check a GST number's format and checksum offline — and see its state, PAN and entity number.

Offline format check

State (2) + PAN (10) + entity + Z + checksum. Does not query the GST portal.

Anatomy

GSTIN format explained

27AAAAA0000A1Z5

State (2) + PAN (10) + Entity (1) + Z + Checksum (1)
1–2
State code27 = Maharashtra
3–12
PAN of entityAAAAA0000A
13
Entity number (same PAN, multiple registrations)1
14
Default ZZ
15
Checksum5

State codes (India)

Show all 36
  • 01Jammu & 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
  • 26Dadra & Nagar Haveli and Daman & Diu
  • 27Maharashtra
  • 29Karnataka
  • 30Goa
  • 31Lakshadweep
  • 32Kerala
  • 33Tamil Nadu
  • 34Puducherry
  • 35Andaman & Nicobar Islands
  • 36Telangana
  • 37Andhra Pradesh
  • 38Ladakh
Want a live breakdown of any number? Try the GSTIN format explainer or search the GST state code list.

FAQ

GSTIN validation FAQs

Does this tool check if a GSTIN is active on GST portal?

No. PocketGST validates format and checksum offline only. To see active/cancelled registration status, use the official GST portal search.

What is the GSTIN format?

15 characters: 2-digit state code + 10-character PAN + 1 entity digit + Z + 1 checksum character (e.g. 27AAAAA0000A1Z5).

Can I extract PAN from GSTIN?

Yes. Characters 3–12 of a valid GSTIN are the PAN of the registered entity.

Why did my GSTIN fail checksum validation?

A single wrong character (often O vs 0, or transposed digits) breaks the checksum. Re-type from the original registration certificate or invoice.

GST bills on your phone

Free · Offline · No signup

Get app