GST State Codes List (GSTIN Prefixes)
The two-digit code for every Indian state and union territory, as published on the GST e-invoice portal, with whether UTGST applies. Download it as JSON or CSV.
By Online Invoice Maker Editorial Team · Product and content team
Last updated
Checked against the e-invoice portal (GSTN/NIC) Master Codes: State Codes on 23 November 2026: einvoice1.gst.gov.in/Others/MasterCodes. UTGST status checked against section 2 of the UTGST Act, 2017 on the CBIC tax information portal. This is general information, not tax advice; verify on the GST portal before relying on it.
GST state code table
Codes are in numerical order. "Name on portal" is the name exactly as the e-invoice portal prints it. Rows marked "reference only" are listed by the portal but are not offered for new invoices in our tools.
| Code | State / UT | Name on portal | Type | Intra-state tax |
|---|---|---|---|---|
| 01 | Jammu and KashmirUnion territory with a legislature: SGST applies | JAMMU AND KASHMIR | Union territory | CGST + SGST |
| 02 | Himachal Pradesh | HIMACHAL PRADESH | State | CGST + SGST |
| 03 | Punjab | PUNJAB | State | CGST + SGST |
| 04 | Chandigarh | CHANDIGARH | Union territory | CGST + UTGST |
| 05 | Uttarakhand | UTTARAKHAND | State | CGST + SGST |
| 06 | Haryana | HARYANA | State | CGST + SGST |
| 07 | DelhiUnion territory with a legislature: SGST applies | DELHI | Union territory | CGST + SGST |
| 08 | Rajasthan | RAJASTHAN | State | CGST + SGST |
| 09 | Uttar Pradesh | UTTAR PRADESH | State | CGST + SGST |
| 10 | Bihar | BIHAR | State | CGST + SGST |
| 11 | Sikkim | SIKKIM | State | CGST + SGST |
| 12 | Arunachal Pradesh | ARUNACHAL PRADESH | State | CGST + SGST |
| 13 | Nagaland | NAGALAND | State | CGST + SGST |
| 14 | Manipur | MANIPUR | State | CGST + SGST |
| 15 | Mizoram | MIZORAM | State | CGST + SGST |
| 16 | Tripura | TRIPURA | State | CGST + SGST |
| 17 | Meghalaya | MEGHALAYA | State | CGST + SGST |
| 18 | Assam | ASSAM | State | CGST + SGST |
| 19 | West Bengal | WEST BENGAL | State | CGST + SGST |
| 20 | Jharkhand | JHARKHAND | State | CGST + SGST |
| 21 | Odisha | ODISHA | State | CGST + SGST |
| 22 | Chhattisgarh | CHHATTISGARH | State | CGST + SGST |
| 23 | Madhya Pradesh | MADHYA PRADESH | State | CGST + SGST |
| 24 | Gujarat | GUJARAT | State | CGST + SGST |
| 25 | Daman and Diu (before the merger)(reference only)Merged into code 26. New GSTINs with code 26 were created for these taxpayers from 1 August 2020 | DAMAN AND DIU | Union territory | CGST + UTGST |
| 26 | Dadra and Nagar Haveli and Daman and DiuOne union territory since the merger; the portal list still shows the old name | DADRA AND NAGAR HAVELI | Union territory | CGST + UTGST |
| 27 | Maharashtra | MAHARASHTRA | State | CGST + SGST |
| 29 | Karnataka | KARNATAKA | State | CGST + SGST |
| 30 | Goa | GOA | State | CGST + SGST |
| 31 | Lakshadweep | LAKSHADWEEP | Union territory | CGST + UTGST |
| 32 | Kerala | KERALA | State | CGST + SGST |
| 33 | Tamil Nadu | TAMIL NADU | State | CGST + SGST |
| 34 | PuducherryUnion territory with a legislature: SGST applies | PUDUCHERRY | Union territory | CGST + SGST |
| 35 | Andaman and Nicobar Islands | ANDAMAN AND NICOBAR | Union territory | CGST + UTGST |
| 36 | Telangana | TELANGANA | State | CGST + SGST |
| 37 | Andhra Pradesh | ANDHRA PRADESH | State | CGST + SGST |
| 38 | Ladakh | LADAKH | Union territory | CGST + UTGST |
| 96 | Other Country (outside India)Used for supplies to places outside India | OTHER COUNTRIES | Other | n/a (outside India) |
| 97 | Other TerritoryThe "other territory" category in the GST Acts | Other Territory | Other | CGST + UTGST |
| 99 | Other Countries(reference only)Listed by the e-invoice portal alongside 96 | OTHER COUNTRIES | Other | n/a (outside India) |
Download the list (JSON and CSV)
The same data as the table, generated from the array our GST tools use, so the downloads and the tools never disagree. Fields: code, name, portal name, type, whether UTGST applies, whether the code is in use, and a note.
License: free to use, including commercially, with an attribution link to this page, for example <a href="https://www.onlineinvoicemaker.com/gst-state-codes">GST state codes by Online Invoice Maker</a>. Provided as is; the GST portal is the authority.
How a GSTIN maps to a state
A GSTIN has 15 characters. The first two are the state code of the state or union territory where the business is registered, so a business registered in Karnataka has a GSTIN starting with 29. A business with offices in several states holds a separate GSTIN in each, each starting with that state's code.
- Characters 1–2: state code (this table).
- Characters 3–12: the PAN of the business.
- Character 13: entity number for the same PAN in that state.
- Character 14: Z by default.
- Character 15: check character.
Example (format only): 27AAACS1234K1Z2 starts with 27, so it is registered in Maharashtra.
How the state code decides CGST + SGST or IGST
The tax type depends on two places: where the supplier is registered (the state code at the start of the supplier's GSTIN) and the place of supply.
- Same state or UT: intra-state supply. Half the rate is CGST and half is SGST, or UTGST in a union territory that charges it (see the table).
- Different states or UTs: inter-state supply. The full rate is IGST.
Worked example at an illustrative 18%
- Supplier 29 (Karnataka), place of supply 29: ₹10,000 + CGST 9% ₹900 + SGST 9% ₹900 = ₹11,800.
- Supplier 29, place of supply 27 (Maharashtra): ₹10,000 + IGST 18% ₹1,800 = ₹11,800.
- Supplier 04 (Chandigarh), place of supply 04: ₹10,000 + CGST 9% ₹900 + UTGST 9% ₹900 = ₹11,800.
The place of supply is often the buyer's state, but not always: the IGST Act has separate rules for goods and for different kinds of services. Rates vary by HSN or SAC code and change by notification, so check the current rate. Try the CGST SGST IGST calculator.
Notes on merged and special codes
- 25 and 26: the portal list still shows 25 Daman and Diu and 26 Dadra and Nagar Haveli. The two were merged into one union territory, and new GSTINs with code 26 were created for erstwhile Daman and Diu taxpayers with effect from 1 August 2020 (CBIC Circular No. 168/24/2021-GST (30 December 2021)). Use 26 for new invoices.
- 28: not in the portal's list. Andhra Pradesh uses 37 and Telangana uses 36.
- 96, 97 and 99: 97 is "Other Territory". 96 and 99 are both listed as "Other Countries"; our tools offer 96 for a place of supply outside India.
- Union territories with legislatures: Delhi (07), Puducherry (34) and Jammu and Kashmir (01) are not in the UTGST Act's list, so they charge SGST.
Related GST tools
- GST invoice generator: picks the state from the GSTIN and splits tax automatically.
- CGST SGST IGST calculator: choose two states and see the split with the arithmetic.
- GST tax invoice checklist: every Rule 46 field, including the state name and code.