GSTIN checker
Check a GSTIN for typing mistakes before you put it on an invoice, and see what each part of it means.
Checked against GST portal: State codes in the GST collections data for Apr 2026 on
Check a GSTIN
Your answer will show here.
Made-up example
- State code Himachal Pradesh, a State
- 02
- PAN
- ABCDE1234F
- Entity number
- 1
- Character 14
- Z
- Check character
- C
- GSTIN
- 02ABCDE1234F1ZC
This GSTIN is built from the made-up PAN ABCDE1234F, so it belongs to no one.
The check runs on your own phone or computer. The GSTIN you type isn’t sent to us or anyone else, and isn’t saved.
This GSTIN is written correctly
- State code ,
- PAN
- Entity number
- Character 14
- Check character
- GSTIN
Written correctly isn’t the same as registered. A GSTIN can be written correctly and still be made up, or belong to a registration that is no longer active. To check, search for it on the GST portal’s Search Taxpayer page.
Check this GSTIN on the GST portal
- State code ,
- PAN
- Entity number
- Character 14
- Check character
- GSTIN
Check it on the GST portal’s Search Taxpayer page.
This GSTIN isn’t written correctly
What to fix is under the GSTIN box. Compare each character with the GST registration certificate or the invoice you copied it from, then check it again. If it matches exactly, look it up on the GST portal’s Search Taxpayer page.
This checker can’t check this GSTIN
Press Check GSTIN again
You changed the GSTIN, so the answer was cleared. Press Check GSTIN to check it again.
How it works
A GSTIN (Goods and Services Tax Identification Number) is the number a business gets when it registers for GST. It has 15 characters, in four parts: a State code, a PAN (Permanent Account Number), an entity code and a check character. Rule 10 of the CGST Rules (the Central Goods and Services Tax Rules, 2017) sets these parts.
The checker looks at each part in turn. If something is wrong, it says which character and how to fix it. It doesn’t look the GSTIN up anywhere, so it can’t tell you whether the business is registered.
What the 15 characters mean
| Characters | What they are |
|---|---|
| 1 and 2 | State code: the State or Union territory the registration is for. All the codes are listed below.Example: 02, Himachal Pradesh |
| 3 to 12 | The PAN of the person or business that registered: five letters, four numbers, then a letter.Example: ABCDE1234F |
| 13 | Entity number: usually a number from 1 to 9, or a letter. Not yet confirmed (see below).Example: 1 |
| 14 | Usually the letter Z. Not yet confirmed (see below).Example: Z |
| 15 | Check character, worked out from the first 14.Example: C |
Not yet confirmed: characters 13 and 14
Rule 10 says only that characters 13 and 14 together are the entity code. It doesn’t say what each one means. Most GSTINs have a number from 1 to 9 or a letter as character 13, and the letter Z as character 14. We haven’t confirmed this against an official source, and some special registrations differ. So the checker never calls a GSTIN wrong for these two. If one of them is unusual but the check character matches, it says so, and asks you to check the GSTIN on the GST portal’s Search Taxpayer page.
The check character
The last character is worked out from the first 14 with a fixed sum. Change any one character, the last one included, and the check fails. It catches every single mistyped character and most swaps of two characters next to each other, but not every mix of two or more mistakes. It can show that a character is wrong, but not which one.
A worked example
Here is a made-up GSTIN, built from the made-up PAN ABCDE1234F. It belongs to no one: 02ABCDE1234F1ZC.
- Characters 1 and 2 are 02, the State code for Himachal Pradesh.
- Characters 3 to 12 are ABCDE1234F: five letters, four numbers, then a letter, as a PAN should be.
- Character 13 is 1, which isn’t zero, and character 14 is Z.
- The check character worked out from the first 14 is C, and character 15 is C. So the GSTIN is written correctly.
Now the same made-up GSTIN with one typing mistake at a time:
The letter I typed for the number 1: 02ABCDEI234F1ZC. The checker says:
Characters 3 to 12 are the PAN: five letters, four numbers, then a letter. Character 8 should be a number, but it is “I”. If you meant the number 1, type that instead.
The 3 and the 4 swapped: 02ABCDE1243F1ZC. Every part still has the right shape, but the check character no longer matches, so the checker says:
The last character is a check character worked out from the first 14, and it doesn’t match them, so at least one character is wrong. Check each one against the GSTIN you were given, looking out for zero and the letter O, one and the letter I, five and S, and eight and B.
What the checker can’t tell you
- Whether the business is registered, or whether its registration is still active. A GSTIN can be written correctly and still be made up or cancelled. To check, search for it on the GST portal’s Search Taxpayer page.
- Whether a GSTIN with a TAN in it is right. Rule 10 allows a TAN (Tax Deduction and Collection Account Number) in characters 3 to 12 instead of a PAN. The checker doesn’t check those.
The State codes
The checker knows these 39 codes, from the official sources listed at the end of this page. A GSTIN that starts with a code marked “no longer used” gets a message asking you to check that you have the current one.
All 39 State codes
| Code | State or Union territory |
|---|---|
| 01 | Jammu and KashmirUnion territory |
| 02 | Himachal Pradesh |
| 03 | Punjab |
| 04 | ChandigarhUnion territory |
| 05 | Uttarakhand |
| 06 | Haryana |
| 07 | DelhiUnion territory |
| 08 | Rajasthan |
| 09 | Uttar Pradesh |
| 10 | Bihar |
| 11 | Sikkim |
| 12 | Arunachal Pradesh |
| 13 | Nagaland |
| 14 | Manipur |
| 15 | Mizoram |
| 16 | Tripura |
| 17 | Meghalaya |
| 18 | Assam |
| 19 | West Bengal |
| 20 | Jharkhand |
| 21 | Odisha |
| 22 | Chhattisgarh |
| 23 | Madhya Pradesh |
| 24 | Gujarat |
| 25 | Daman and DiuUnion territoryNo longer used |
| 26 | Dadra and Nagar Haveli and Daman and DiuUnion territory |
| 27 | Maharashtra |
| 29 | Karnataka |
| 30 | Goa |
| 31 | LakshadweepUnion territory |
| 32 | Kerala |
| 33 | Tamil Nadu |
| 34 | PuducherryUnion territory |
| 35 | Andaman and Nicobar IslandsUnion territory |
| 36 | Telangana |
| 37 | Andhra Pradesh |
| 38 | LadakhUnion territory |
| 97 | Other TerritorySpecial code, not a State |
| 99 | OIDARSpecial code, not a State |
Questions
If a GSTIN is written correctly, is the business registered?
Not always. The checker only checks how a GSTIN is written. A GSTIN can be written correctly and still be made up, or belong to a registration that is no longer active.
To see whether a GSTIN is registered, and whether the registration is active, search for it on the GST portal: on gst.gov.in, open Search Taxpayer, then Search by GSTIN/UIN.
Why does the checker say a character is wrong when I copied it exactly?
Some numbers and letters look alike: the number 0 and the letter O, 1 and I, 5 and S, 8 and B. A GSTIN has both, so one is easily typed for the other. In the box and in the answer, the number 0 has a line through it, so you can tell it from the letter O.
Compare the GSTIN again with the registration certificate or the invoice you copied it from. If it matches exactly and the checker still says it is wrong, please email us (the address is on our Contact page), so we can check the checker.
Is the GSTIN I type sent anywhere?
No. The check runs on your own phone or computer. The GSTIN isn’t sent to us or anyone else, and it isn’t saved.
Which GSTINs can’t it check?
Rule 10 of the CGST Rules allows a TAN (Tax Deduction and Collection Account Number) in characters 3 to 12 instead of a PAN. The checker only checks GSTINs with a PAN there, and it tells you when it finds a TAN.
For a GSTIN like that, look it up on the GST portal’s Search Taxpayer page instead.
Sources
- CGST Rules, 2017: rule 10(1), the parts of a GSTIN CBIC’s tax information site: open GST, then Rules
- GST portal: State codes in the GST collections data for Apr 2026 tutorial.gst.gov.in
- CGST Rules, 2017: rule 61(1)(ii), which names each State and Union territory CBIC’s tax information site: open GST, then Rules
- GST portal FAQs: First-time login (new GSTINs for Ladakh, and for Dadra and Nagar Haveli and Daman and Diu) tutorial.gst.gov.in