GSTIN checker

Check a GSTIN for typing mistakes before you put it on an invoice, and see what each part of it means.

Check a GSTIN

The 15 characters from a GST invoice or registration certificate. Spaces and small letters are fine.

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.

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

The parts of a GSTIN, with a made-up example
CharactersWhat they are
1 and 2State code: the State or Union territory the registration is for. All the codes are listed below.Example: 02, Himachal Pradesh
3 to 12The PAN of the person or business that registered: five letters, four numbers, then a letter.Example: ABCDE1234F
13Entity number: usually a number from 1 to 9, or a letter. Not yet confirmed (see below).Example: 1
14Usually the letter Z. Not yet confirmed (see below).Example: Z
15Check 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.

  1. Characters 1 and 2 are 02, the State code for Himachal Pradesh.
  2. Characters 3 to 12 are ABCDE1234F: five letters, four numbers, then a letter, as a PAN should be.
  3. Character 13 is 1, which isn’t zero, and character 14 is Z.
  4. 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
State codes at the start of a GSTIN
CodeState or Union territory
01Jammu and KashmirUnion territory
02Himachal Pradesh
03Punjab
04ChandigarhUnion territory
05Uttarakhand
06Haryana
07DelhiUnion territory
08Rajasthan
09Uttar Pradesh
10Bihar
11Sikkim
12Arunachal Pradesh
13Nagaland
14Manipur
15Mizoram
16Tripura
17Meghalaya
18Assam
19West Bengal
20Jharkhand
21Odisha
22Chhattisgarh
23Madhya Pradesh
24Gujarat
25Daman and DiuUnion territoryNo longer used
26Dadra and Nagar Haveli and Daman and DiuUnion territory
27Maharashtra
29Karnataka
30Goa
31LakshadweepUnion territory
32Kerala
33Tamil Nadu
34PuducherryUnion territory
35Andaman and Nicobar IslandsUnion territory
36Telangana
37Andhra Pradesh
38LadakhUnion territory
97Other TerritorySpecial code, not a State
99OIDARSpecial 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.