Skip to content
Kaagazo.
FreeGSTIN CHECK

GSTIN Validator & Format Checker

Check whether a GST number is valid: 15-character format, check digit, state, PAN and taxpayer type — plus a test GSTIN generator for software testing.

100% client-side. Nothing you type is uploaded or stored on a server.

How to use

  1. 1Type or paste the 15-character GST number — spaces and dashes are ignored.
  2. 2Read the verdict: format, state code and check digit are validated instantly.
  3. 3Check the decoded details — state, PAN, taxpayer type and how many registrations that PAN holds in the state.
  4. 4Open the GST portal link to confirm the registration is active and see the legal name.

Before you claim input tax credit on a supplier's invoice, before you add a new B2B customer, and before you pay an advance to someone you met on a marketplace, one 15-character string is worth thirty seconds of attention: the GSTIN. This validator checks the format and the check digit of any GST number in your browser, decodes the state, the PAN behind it and the type of taxpayer, and tells you exactly which character is wrong when it does not add up — then links you to the GST portal to confirm the registration is actually active.

What the 15 characters mean

Take 27AAPFU0939F1ZV:

PositionValueMeaning
1–227State code — 27 is Maharashtra, 07 Delhi, 09 Uttar Pradesh, 29 Karnataka, 33 Tamil Nadu, 24 Gujarat
3–12AAPFU0939FThe PAN of the business
6th character overall (4th of the PAN)FType of holder — F firm/LLP, C company, P individual/proprietor, H HUF, T trust, A AOP, G government
131Entity number: the first registration of that PAN in that state; a second branch registration would be 2, then 3…9, A…Z
14ZFixed for every GSTIN
15VCheck digit, computed from the previous fourteen characters

Because the PAN sits inside the GSTIN, a supplier's GST number and their PAN must agree — a mismatch on an invoice is a reliable sign that something was typed wrong or invented.

The check digit

The last character is not decorative. Each of the first fourteen characters becomes a value (0–9, then A–Z as 10–35), multiplied alternately by 1 and 2; the quotient and remainder of each product on division by 36 are summed, and the check digit is whatever brings the total to the next multiple of 36. One mistyped character almost always breaks it, which is why this catches transpositions that look perfectly plausible. When the check fails, the tool shows the number with the correct final character so you can see whether it was a slip.

How to use it

  1. Paste the GST number from the invoice, the purchase order or the vendor form. Spaces, dashes and lower case are cleaned up automatically.
  2. Read the verdict. A valid number shows the state, the PAN, the taxpayer type and how many registrations that PAN holds in the state.
  3. If it fails, the message names the reason — wrong length, bad state code, malformed PAN, missing Z, or a check-digit mismatch.
  4. Click through to the GST portal's search to confirm the registration is active and matches the legal name on the invoice.

Need a dummy GSTIN for testing?

Developers building invoicing, ERP or billing software need GST numbers that pass validation without belonging to anyone. The generator on this page builds one for any state and taxpayer type: the state code is real, the PAN pattern is well formed, the 14th character is Z and the check digit is computed properly, so your validation logic accepts it — but the number is not a live registration and will return nothing on the GST portal.

Use them in test environments, seed data, screenshots and documentation. Do not put one on an invoice, a vendor form or a website footer: issuing a document with a GST number that is not yours is a misrepresentation, and the portal check takes ten seconds for anyone who wants to look.

If you only need a format example, 27AAPFU0939F1ZV is the one used in GST documentation.

Format valid is not the same as registered

This tool proves a number is well formed. It cannot tell you whether the registration exists, is active, is suspended or cancelled, or belongs to the business named on the invoice — only the GST portal can, and it is free. Do both checks for any new supplier, because input tax credit depends on the supplier actually filing. The wider verification routine, including what to do when a GSTIN turns out to be cancelled, is in How to verify a GST number (GSTIN).

When to check a GSTIN

  • New supplier onboarding — before the first purchase order goes out.
  • Every B2B invoice you receive: a wrong GSTIN on a purchase means the credit never appears in your GSTR-2B.
  • Before invoicing a business customer — a wrong GSTIN costs them the credit and gets the bill returned. The GST invoice generator validates the field as you type.
  • Marketplace and tender counterparties, and fake notices — scammers quote numbers that do not validate; see GST scam calls and fake notices.

Frequently asked questions

How do I know if a GST number is valid?

Two separate checks. This page does the offline one instantly — the 15-character structure, a real state code and a correct check digit, which catches every typo and most invented numbers. The second check, whether the registration actually exists and is active, only the GST portal can answer; the button here takes you straight to it with the number filled in.

Does this check whether the GST number is active?

No. It validates the format and the check digit offline. Use the "Check status on the GST portal" link to confirm the registration is active and see the legal name and filing status.

What does the 13th character mean?

It is the entity number — how many registrations that PAN holds in that state. `1` is the first, `2` the second branch or vertical, continuing 3–9 then A–Z.

Can two businesses have the same GSTIN?

No. A GSTIN is unique to one PAN in one state. The same PAN gets a different GSTIN in each state it registers in, differing in the first two characters.

Is my GST number sent to a server?

No. The validation runs entirely in your browser; nothing is uploaded or logged.

What is a sample GSTIN I can test with?

`27AAPFU0939F1ZV` is the format example used in GST documentation, and the tool offers three more placeholder numbers with correct check digits. The generator will also build one for any state and taxpayer type. All of them are valid in structure and none is a live registration.