GSTIN checker
The result will appear here.
What this checks: the format and the check digit, offline, in your browser. Nothing you type is sent anywhere. It cannot tell whether a GSTIN is registered, active or cancelled; for that, use Search Taxpayer on the GST portal.
Check many GSTINs at once
Cleaning a supplier list before importing it into Tally? Paste the whole column and copy the results back as CSV.
Up to 500 at a time, for example a column copied from your supplier master.
Same rule as above: format and check digit only, checked in your browser. Registration status is on the GST portal.
What is a GSTIN?
A GSTIN (Goods and Services Tax Identification Number) is the 15-character number every business registered under GST in India gets. It is issued per state: a business with offices in Karnataka and Maharashtra holds two GSTINs, one for each state, built on the same PAN.
The GSTIN must appear on every tax invoice, for both the supplier and, on a B2B sale, the buyer. It is how the GST system matches the supplier’s outward supplies (GSTR-1) with the buyer’s inward supplies (GSTR-2B), which decides whether the buyer gets input tax credit.
People also call it a GST number or GST registration number. They mean the same thing.
GSTIN format: the 15 characters
Every GSTIN follows the same pattern: 2 digits, a 10-character PAN, one entity character, the letter Z, and a check digit.
| Position | Part | Example | Meaning |
|---|---|---|---|
| 1–2 | State code | 29 | State or UT where this registration was taken (29 = Karnataka) |
| 3–12 | PAN | ABCPE1234F | PAN of the registered person or business |
| 13 | Entity number | 1 | Which registration this is for the same PAN in the same state (1–9, then A–Z) |
| 14 | Fixed letter | Z | Z for regular GSTINs |
| 15 | Check digit | 7 | Worked out from the first 14 characters |
Put together, the example reads 29ABCPE1234F1Z7. It is made up for this page and does not belong to any business.
How the GSTIN check digit works
The last character is calculated from the first 14 using a Mod-36 method. It exists to catch typing mistakes: change any single character and the check digit will almost always stop matching. The steps:
- Give each of the first 14 characters a value in base 36: digits 0–9 are 0–9, and letters A–Z are 10–35 (A = 10, B = 11 … Z = 35).
- Multiply the values by 1 and 2 alternately: position 1 by 1, position 2 by 2, position 3 by 1, and so on.
- For each product, add its quotient and remainder when divided by 36 (for 70, that is 1 + 34 = 35).
- Add up those 14 results.
- The check value is (36 − (sum mod 36)) mod 36. Turn it back into a character with the same table: 0–9 stay digits, 10–35 become A–Z.
Worked through for the example 29ABCPE1234F1Z:
| Character | 2 | 9 | A | B | C | P | E | 1 | 2 | 3 | 4 | F | 1 | Z |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Value | 2 | 9 | 10 | 11 | 12 | 25 | 14 | 1 | 2 | 3 | 4 | 15 | 1 | 35 |
| × factor | 1 | 2 | 1 | 2 | 1 | 2 | 1 | 2 | 1 | 2 | 1 | 2 | 1 | 2 |
| Quotient + remainder | 2 | 18 | 10 | 22 | 12 | 15 | 14 | 2 | 2 | 6 | 4 | 30 | 1 | 35 |
The sum is 173. 173 mod 36 is 29, and (36 − 29) mod 36 is 7, which is the character 7. So the full GSTIN is 29ABCPE1234F1Z7.
What the 4th PAN letter tells you
Characters 3 to 12 are the PAN, and the 4th letter of a PAN (the 6th character of the GSTIN) shows what kind of holder it belongs to. It is a quick sense check: a supplier invoicing as a private limited company should have a C there, not a P.
| Letter | Holder type |
|---|---|
| P | Individual (including a sole proprietor) |
| C | Company |
| H | Hindu Undivided Family (HUF) |
| F | Firm or LLP |
| A | Association of Persons (AOP) |
| T | Trust |
| B | Body of Individuals (BOI) |
| L | Local authority |
| J | Artificial juridical person |
| G | Government |
GST state code list
The first two digits of a GSTIN are the state code. This is the full list of GST state and union territory codes. Codes 25 and 28 are older codes that still appear on GSTINs issued before the changes noted.
| Code | State / UT | Type |
|---|---|---|
| 01 | Jammu and Kashmir | Union territory |
| 02 | Himachal Pradesh | State |
| 03 | Punjab | State |
| 04 | Chandigarh | Union territory |
| 05 | Uttarakhand | State |
| 06 | Haryana | State |
| 07 | Delhi | Union territory |
| 08 | Rajasthan | State |
| 09 | Uttar Pradesh | State |
| 10 | Bihar | State |
| 11 | Sikkim | State |
| 12 | Arunachal Pradesh | State |
| 13 | Nagaland | State |
| 14 | Manipur | State |
| 15 | Mizoram | State |
| 16 | Tripura | State |
| 17 | Meghalaya | State |
| 18 | Assam | State |
| 19 | West Bengal | State |
| 20 | Jharkhand | State |
| 21 | Odisha | State |
| 22 | Chhattisgarh | State |
| 23 | Madhya Pradesh | State |
| 24 | Gujarat | State |
| 25 | Daman and DiuOld code; merged into 26 in 2020 | Union territory |
| 26 | Dadra and Nagar Haveli and Daman and Diu | Union territory |
| 27 | Maharashtra | State |
| 28 | Andhra Pradesh (before division)Old code; Andhra Pradesh now uses 37 | State |
| 29 | Karnataka | State |
| 30 | Goa | State |
| 31 | Lakshadweep | Union territory |
| 32 | Kerala | State |
| 33 | Tamil Nadu | State |
| 34 | Puducherry | Union territory |
| 35 | Andaman and Nicobar Islands | Union territory |
| 36 | Telangana | State |
| 37 | Andhra Pradesh | State |
| 38 | Ladakh | Union territory |
| 97 | Other Territory | Special |
| 99 | Centre Jurisdiction | Special |
Common GSTIN mistakes on bills
- O and 0, I and 1, S and 5, B and 8. These look alike on a printed or scanned bill. The pattern helps: positions 1–2 and 8–11 are always digits, and positions 3–7 and 12 are always letters. The check digit catches most of the rest.
- A GSTIN from another state. A supplier with branches in several states has a different GSTIN in each. If the bill came from their Chennai branch, the GSTIN should start with 33, not their head office’s code. The state code also decides whether the bill should carry IGST or CGST + SGST.
- Buyer and supplier GSTINs swapped. On some bills the buyer’s GSTIN is printed in the supplier’s box, or the supplier repeats their own number in both places. Both GSTINs can be perfectly valid and the bill still wrong.
- A missing or extra character. Usually a dropped digit in the PAN part. The length check shows it straight away.
- A valid but cancelled GSTIN. The format can be perfect for a registration that has since been cancelled. Only the GST portal’s Search Taxpayer shows the current status.
How to verify a GST number is active
A valid format is the first step. To confirm the registration itself, use the government’s own search, which needs no login:
- Open Search Taxpayer on services.gst.gov.in and choose Search by GSTIN/UIN.
- Enter the GSTIN, fill in the captcha and search.
- Compare the legal name and trade name with the name on the bill, and check that the status reads Active. The page also shows the date of registration, the taxpayer type and recent return filing.
Run the format check here first: it saves a round trip to the portal for a number that has a typo in it, and the bulk mode lets you weed out the bad entries in a supplier list before checking the rest one by one.
Why the buyer GSTIN on a purchase bill matters
You can claim input tax credit only on bills issued to your GSTIN. If the supplier types your GSTIN wrong, or uses your other state’s number, the invoice is filed against someone else in their GSTR-1. It will not show up in your GSTR-2B, and the credit is not yours to claim until the supplier amends it.
That is why it is worth checking the buyer GSTIN on every purchase bill before it is entered, not at the end of the month when GSTR-2B does not match the books. The check digit catches typos; comparing the number with your own registration catches the rest.
The same check, on every bill
TaskAutomate reads purchase bills sent on WhatsApp or uploaded, and runs this check automatically on each one before posting it to Tally: the buyer GSTIN must pass the format and check-digit test and match your company’s, and the CGST, SGST or IGST on the bill must fit the supplier’s state code. You choose whether a bill that fails is flagged with a warning or held until someone reviews it.
See GST checks and invoice data extraction for how it works.