luckpanda

GSTIN checker

Paste a GST identification number to check its format and check character, and decode the state, the PAN and the type of taxpayer. It catches typing mistakes before a GSTIN goes on an invoice.

15 characters: state code, PAN, registration number, Z, check character.

Need live registration status? Use the official GST taxpayer search.

GSTIN27AAPFU0939F1ZV Well-formed, with a matching check character.
State27 · Maharashtra
PANCharacters 3 to 12AAPFU0939F
PAN holder type4th character of the PAN: FFirm or LLP
Registration under this PANCharacter 131 (first in this state)
Check characterCharacter 15V (matches)

This checks the number is well-formed. It does not confirm the business is registered or active; use the official GST search for that.

Create with an AI agent

Ask your AI assistant to work it out

Copy this prompt into ChatGPT, Claude, Gemini or Perplexity. It uses this calculator's free API and shows its working.

Use https://luckpanda.app/tools/gstin-checker to check a GSTIN. Ask me for the GSTIN, then show me the result and how it was worked out. Use the free API at https://luckpanda.app/api/public/calc/gstin as described in https://luckpanda.app/tools/gstin-checker.md

Instructions for AI agents

Free JSON API, no sign-in, open to any origin:

GET https://luckpanda.app/api/public/calc/gstin?gstin=27AAPFU0939F1ZV

MCP tool check_gstin on https://luckpanda.app/mcp/public (no auth). Full instructions: https://luckpanda.app/tools/gstin-checker.md · OpenAPI

Quick answer

GSTIN checker: how it works

15 characters: a 2-digit state code, the 10-character PAN of the business, 1 character for the registration number under that PAN in the state (1 to 9, then A to Z), the letter Z by default, and a check character.

Last reviewed:

On this page
  1. GSTIN structure
  2. How to use the GSTIN checker
  3. GST state codes
  4. What this checker does not cover
  5. Questions people ask

GSTIN structure

CharactersMeaningExample (27AAPFU0939F1ZV)
1–2State code27 = Maharashtra
3–12PAN of the businessAAPFU0939F
13Registration number under that PAN in the state1
14Z by defaultZ
15Check characterV

How to use the GSTIN checker

  1. Paste or type the 15-character GSTIN.
  2. Read whether the format and check character are valid.
  3. Check the decoded state, PAN and holder type match the business.
  4. For live registration status, use the official GST taxpayer search.

GST state codes

CodeState / UTCodeState / UT
01Jammu and Kashmir20Jharkhand
02Himachal Pradesh21Odisha
03Punjab22Chhattisgarh
04Chandigarh23Madhya Pradesh
05Uttarakhand24Gujarat
06Haryana26Dadra and Nagar Haveli and Daman and Diu
07Delhi27Maharashtra
08Rajasthan29Karnataka
09Uttar Pradesh30Goa
10Bihar31Lakshadweep
11Sikkim32Kerala
12Arunachal Pradesh33Tamil Nadu
13Nagaland34Puducherry
14Manipur35Andaman and Nicobar Islands
15Mizoram36Telangana
16Tripura37Andhra Pradesh
17Meghalaya38Ladakh
18Assam97Other Territory
19West Bengal99Centre Jurisdiction

What this checker does not cover

Special registrations such as tax deductors (TDS), tax collectors (TCS), non-resident online service providers and UN bodies use different formats and may not pass these checks. To confirm a registration is active, the legal name and the filing status, search the GSTIN on the official GST portal.

Questions people ask

What is the format of a GSTIN?

15 characters: a 2-digit state code, the 10-character PAN of the business, 1 character for the registration number under that PAN in the state (1 to 9, then A to Z), the letter Z by default, and a check character.

Does a valid result mean the GSTIN is registered?

No. This checks that the number is well-formed and the check character matches, which catches almost all typing mistakes. It does not confirm the registration is active or who holds it. Use the official search at services.gst.gov.in for that.

How is the GSTIN check character calculated?

Each of the first 14 characters is converted to a number (0–9, then A = 10 to Z = 35) and multiplied alternately by 1 and 2. Each product is split into quotient and remainder by 36 and both are added up. The check character is (36 − total mod 36) mod 36, converted back to a character.

What does the 4th character of the PAN tell me?

The type of holder: P individual, C company, H Hindu Undivided Family, F firm or LLP, A association of persons, T trust, B body of individuals, L local authority, J artificial juridical person, G government.

Why does the GSTIN matter on an invoice?

The buyer's input tax credit depends on your GSTIN, and theirs for B2B, being correct on the invoice and in your GSTR-1. A mistyped GSTIN means the credit does not show up for the buyer.

Last reviewed: · Figures are worked out from the example in the editor above.

Put the numbers on an invoice

Make an invoice in any currency, with tax per line. Free to create, no account needed.