What does a GST number look like? Full breakdown of the 15-character GSTIN format, a worked example, state codes, how to spot a fake GSTIN, and sample numbers for testing.
By ClearWork — India's client management platform for freelancers
A GST number (GSTIN) is always exactly 15 characters, in a fixed format: a 2-digit state code, followed by 10 characters that are the business's PAN, followed by 3 more characters that identify the specific registration. Here's exactly how to read one, with a worked example.
Every GSTIN follows the same layout, in this order:
| Position | Length | What it represents |
|---|---|---|
| 1–2 | 2 digits | State code (where the business is registered) |
| 3–12 | 10 characters | The business's PAN (Permanent Account Number) — identical to their income tax PAN |
| 13 | 1 character | Entity number — which registration this is if the same PAN has multiple GST registrations in one state (usually "1") |
| 14 | 1 character | Always the letter "Z" by default |
| 15 | 1 character | Checksum digit — calculated from the other 14 characters, used to detect typos |
The first two digits tell you which state the GSTIN was issued in — useful for spotting whether a client's GSTIN matches the state they claim to operate from, and for figuring out CGST/SGST vs IGST when you're invoicing:
| Code | State |
|---|---|
| 01 | Jammu & Kashmir |
| 02 | Himachal Pradesh |
| 03 | Punjab |
| 05 | Uttarakhand |
| 06 | Haryana |
| 07 | Delhi |
| 08 | Rajasthan |
| 09 | Uttar Pradesh |
| 10 | Bihar |
| 19 | West Bengal |
| 21 | Odisha |
| 22 | Chhattisgarh |
| 23 | Madhya Pradesh |
| 24 | Gujarat |
| 27 | Maharashtra |
| 29 | Karnataka |
| 32 | Kerala |
| 33 | Tamil Nadu |
| 36 | Telangana |
| 37 | Andhra Pradesh |
If you want to confirm a GSTIN is actually active and registered (not just correctly formatted), the only reliable way is the "Search Taxpayer" tool on the official GST portal — format validity and active-registration status are two different checks.
A lot of searches for "dummy GST number" or "sample GST number" come from developers and freelancers testing an invoice template, a form, or a piece of software that validates GSTIN format — not from anyone trying to file with a fake number (which isn't legal). If that's you, the safest approach is:
Free Tool
Generate a correctly formatted GST invoice with the CGST/SGST/IGST split calculated automatically from your real GSTIN. Free, no signup required.
Use the free tool →Beyond satisfying curiosity, the GSTIN format directly affects how you invoice: the state code in your client's GSTIN (not their billing address) determines whether you charge CGST+SGST or IGST. Two clients in the same city can have GSTINs registered in different states if their registered office differs from where you're actually doing the work — always go by the GSTIN's state code, not assumptions.
How many characters does a GST number have?
What do the first two digits of a GSTIN mean?
Is the PAN inside a GST number the same as the income tax PAN?
Can I use a dummy GST number for testing an invoice template?
How do I check if a GSTIN is actually real and active, not just correctly formatted?
Written by ClearWork
ClearWork is India's all-in-one client management platform for freelancers and agencies — built by freelancers who got tired of juggling spreadsheets, WhatsApp, and broken invoice templates. getclearwork.in