# GSTIN checker: check a GST number's format and state

> Paste a GSTIN to check its format and its check digit, and see the state, the PAN and the registration it stands for. It catches typing mistakes; whether a GSTIN is active is on the GST portal.

Canonical: https://studio.atlasos.one/tools/gstin-validator  
Last updated: 2026-11-23

Part of: [Free tools](https://studio.atlasos.one/tools). Free, with no sign-up: it runs in the browser at https://studio.atlasos.one/tools/gstin-validator, and nothing typed into it is sent anywhere.

What it does:

- Checks the 15-character format and the check digit
- Names the state from the state code
- Shows the PAN and what kind of holder it is
- Reads the entity number
- Checks a whole list at once

## How to check a GSTIN

1. **Paste or type it**: Spaces, dashes and small letters are fine: the checker tidies them.
2. **Read the verdict**: A green tick means the format and the check digit are right. Otherwise it says what is wrong, such as a missing character or a check digit that doesn't match.
3. **See what it says**: The state, the PAN, the kind of holder and the registration number, each under its characters.
4. **Check the registration**: To see the legal name and whether the GSTIN is active, search it on the GST portal at gst.gov.in, under Search Taxpayer.

## How a GSTIN is built

Every GSTIN has 15 characters, and each part means something. Take 27AAKFN4821M1ZV, the GSTIN of a made-up printing firm in Pune:

The 15 characters of a GSTIN:

| Characters | What they are | In 27AAKFN4821M1ZV |
| --- | --- | --- |
| 1 and 2 | The state code: where the business is registered | 27, Maharashtra |
| 3 to 12 | The holder's PAN; its 4th letter says what kind of holder (F is a firm or LLP) | AAKFN4821M |
| 13 | The entity number: 1 for the PAN's first registration in the state, 2 for the second, then letters after 9 | 1 |
| 14 | Z for a regular taxpayer (D for a tax deductor, C for a tax collector) | Z |
| 15 | The check character, worked out from the first 14 | V |

## GST state codes

The first two digits of a GSTIN are its state code. Within a state, GST is split into CGST and SGST; in a union territory without a legislature, into CGST and UTGST.

GST state codes of the states and union territories:

| Code | State or union territory | GST within it |
| --- | --- | --- |
| 01 | Jammu and Kashmir | CGST + SGST |
| 02 | Himachal Pradesh | CGST + SGST |
| 03 | Punjab | CGST + SGST |
| 04 | Chandigarh | CGST + UTGST |
| 05 | Uttarakhand | CGST + SGST |
| 06 | Haryana | CGST + SGST |
| 07 | Delhi | CGST + SGST |
| 08 | Rajasthan | CGST + SGST |
| 09 | Uttar Pradesh | CGST + SGST |
| 10 | Bihar | CGST + SGST |
| 11 | Sikkim | CGST + SGST |
| 12 | Arunachal Pradesh | CGST + SGST |
| 13 | Nagaland | CGST + SGST |
| 14 | Manipur | CGST + SGST |
| 15 | Mizoram | CGST + SGST |
| 16 | Tripura | CGST + SGST |
| 17 | Meghalaya | CGST + SGST |
| 18 | Assam | CGST + SGST |
| 19 | West Bengal | CGST + SGST |
| 20 | Jharkhand | CGST + SGST |
| 21 | Odisha | CGST + SGST |
| 22 | Chhattisgarh | CGST + SGST |
| 23 | Madhya Pradesh | CGST + SGST |
| 24 | Gujarat | CGST + SGST |
| 26 | Dadra and Nagar Haveli and Daman and Diu | CGST + UTGST |
| 27 | Maharashtra | CGST + SGST |
| 29 | Karnataka | CGST + SGST |
| 30 | Goa | CGST + SGST |
| 31 | Lakshadweep | CGST + UTGST |
| 32 | Kerala | CGST + SGST |
| 33 | Tamil Nadu | CGST + SGST |
| 34 | Puducherry | CGST + SGST |
| 35 | Andaman and Nicobar Islands | CGST + UTGST |
| 36 | Telangana | CGST + SGST |
| 37 | Andhra Pradesh | CGST + SGST |
| 38 | Ladakh | CGST + UTGST |
| 97 | Other Territory | See the note below |
| 99 | Centre Jurisdiction | See the note below |

97 is for registrations in India's territory outside the states, and 99 for registrations with the Centre, such as a service provider abroad. The list also keeps two old codes: 25, for Daman and Diu before it merged with Dadra and Nagar Haveli, and 28, for Andhra Pradesh before it was divided (37 today).

## What a format check can't tell you

A GSTIN can be well formed and still be cancelled, suspended or never issued: the check digit only shows that the characters agree with each other. Before you rely on a GSTIN, for input tax credit or a new vendor, search it on the GST portal (Search Taxpayer, then Search by GSTIN/UIN), which shows the legal name, the trade name, the status and the date of registration.

Registrations for non-residents, service providers abroad and UN bodies or embassies (a UIN) follow a pattern of their own; the checker recognises them and checks their check character too.

> This checks the format and the check digit only. Whether a GSTIN is registered and active is on the GST portal, under Search Taxpayer.

## Questions, answered

### How do I check if a GSTIN is valid?

Paste it above. The checker confirms it has 15 characters in the right pattern, a real state code and the right check character. To see whether it is registered and active, search it on the GST portal under Search Taxpayer.

### What is the check digit in a GSTIN?

The 15th character. It is worked out from the first 14 with a weighted sum, so a single mistyped character almost always makes it wrong. That is how the checker catches typing mistakes.

### Can I find the PAN from a GSTIN?

Yes. Characters 3 to 12 of a regular GSTIN are the holder's PAN. Its 4th letter says what kind of holder it is: P for an individual, C for a company, F for a firm or LLP, H for a Hindu undivided family, and so on.

### What does the 13th character of a GSTIN mean?

It counts the holder's registrations in that state under the same PAN: 1 for the first, 2 for the second, up to 9, then letters. Two units registered separately in one state have GSTINs that differ there, and so in the check character.

### Does the checker look anything up on the GST portal?

No. It runs in your browser and sends nothing anywhere, so it can't see registrations. It checks the format and the check character, which catches typing mistakes; the GST portal's Search Taxpayer shows whether the GSTIN is active.

### What is my state's GST code?

The first two digits of every GSTIN registered there: 27 for Maharashtra, 29 for Karnataka, 07 for Delhi, 33 for Tamil Nadu and 24 for Gujarat, for example. The table on this page lists every state and union territory.

## Related

- [GST invoice generator](https://studio.atlasos.one/tools/gst-invoice-generator): A tax invoice with GSTINs, HSN or SAC, CGST and SGST or IGST and your logo, as a PDF.
- [GST calculator](https://studio.atlasos.one/tools/gst-calculator): Add GST to a price or take it out, split into CGST and SGST or IGST.
- [Purchase order generator](https://studio.atlasos.one/tools/purchase-order-generator): Order from a vendor in writing: items, rates, GST, delivery date and terms.
- [Delivery challan generator](https://studio.atlasos.one/tools/delivery-challan-generator): Move goods for job work or on approval under a Rule 55 challan, in three copies.

## Doing this every day?

Atlas turns it into an app for your team. Describe it like this:

> “A vendor and customer master for our accounts team: each GSTIN checked when it is entered, the state and PAN filled in from it, documents attached to each record, and a manager's approval before a new vendor can be paid.”

Build this app free for 14 days: https://studio.atlasos.one/signup. Atlas is a paid app builder: every pack is free for 14 days, with no card. The tools stay free.

---

Atlas (Atlas Studio) is an AI app builder for business, a web product that builds business software from a description: a company says what it needs in its own words, and Atlas plans the apps with it, builds them, tests them in a real browser and puts them live as the company's own Company OS.
