India · GST identifier check
GSTIN validator.
Paste a 15-character GST identification number to test its structure and check character, and see exactly which part fails.
Check a GSTIN
Result
Enter a GSTIN and press Validate GSTIN.
How a GSTIN is built
A GSTIN has 15 characters: a 2-digit state code, the holder’s 10-character PAN (five letters, four digits, one letter), a 1-character entity number that counts registrations under the same PAN, the letter Z, and a final check character.
The check character is computed over the first 14 characters. Each character is mapped to its position in 0-9 then A-Z (0 to 35), multiplied by 1 or 2 alternately starting with 1, the product is split into quotient and remainder by 36 and both are added, and the check character is the value that brings the running total to a multiple of 36.
Source: the structure follows the GST Network’s published GSTIN format. Worked example: 27AAPFU0939F1ZV has check character V. Checked October 4, 2026.
The 15 characters of a GSTIN, position by position
| Positions | Meaning | In the example | What this tool checks |
|---|---|---|---|
| 1–2 | State or union territory code | 27 | Number is 01 to 38, 97 or 99 |
| 3–12 | Holder’s PAN | AAPFU0939F | Pattern of 5 letters, 4 digits, 1 letter |
| 13 | Entity number under that PAN | 1 | A digit 1 to 9 or a letter |
| 14 | Fixed letter | Z | Must be Z |
| 15 | Check character | V | Recomputed from positions 1–14 |
The embedded PAN follows the Income Tax Department’s own structure: three letters in sequence, a fourth letter showing the type of holder (for example P for an individual, C for a company, F for a firm, H for a Hindu undivided family, T for a trust), a fifth letter that is the initial of the holder’s name, four digits, and a final check letter. In the example the fourth PAN letter is F, so the number belongs to a firm. This tool checks the pattern of the PAN, not that the PAN is assigned.
How the check character is computed, with the numbers
Take the first 14 characters of 27AAPFU0939F1Z. Convert each to its position in the sequence 0–9 then A–Z (so 2 is 2, A is 10, F is 15, P is 25, U is 30, Z is 35). Multiply by 1 at odd positions and 2 at even positions. Split each product by 36 and add the quotient and the remainder, then add up all 14 results.
For the example the 14 values come to 2, 14, 10, 20, 25, 30, 30, 0, 9, 6, 9, 30, 1 and 35 (the last is Z: 35 × 2 = 70, which is 1 × 36 + 34, so 1 + 34 = 35). They total 221. The remainder of 221 divided by 36 is 5, and 36 − 5 = 31, which is the letter V in the 0–9, A–Z sequence. That is the 15th character, so the check passes.
What a failure looks like
- Change the last character to W (27AAPFU0939F1ZW) and the tool says the check character should be V but is W.
- Swap two letters inside the PAN (27APAFU0939F1ZV) and the expected check character changes to F, so the original V no longer matches. Transposition errors are the commonest typos, and this catches them.
- Use state code 40 and the tool reports that it is outside 01–38, 97 and 99, and also flags the check character, because the check depends on every earlier character.
- Put a letter other than Z in position 14 and the tool flags it separately from the check character.
Common reasons a GSTIN fails
- O versus 0 and I versus 1. Look-alike characters are the main source of mistakes when a GSTIN is copied from a scan or typed from a printed invoice.
- Wrong length. Fourteen characters means a character was dropped; sixteen usually means a space or a trailing character was pasted in. Spaces and dashes are removed automatically, other punctuation is rejected.
- A PAN pasted in place of a GSTIN. The PAN is only 10 characters and sits inside the GSTIN at positions 3 to 12.
- A valid-looking number that does not exist. Anyone can construct a string that passes the arithmetic. Passing is necessary, not sufficient.
Where to confirm a GSTIN is real
A pass here means the string is internally consistent. It does not mean the GSTIN is registered, active or owned by the business named on an invoice. Confirm that through the official Goods and Services Tax portal (gst.gov.in) or with your tax adviser, and compare the legal name and state with what the supplier gave you.
Who this is for
Accounts-payable teams checking Indian supplier invoices, exporters and marketplaces onboarding Indian sellers, developers who want a quick sanity check for a form field, and finance staff outside India who have been handed a GSTIN and want to catch a transcription error. For related Indian tools see the Aadhaar number validator, the India income tax calculator and the HRA exemption calculator. For EU business numbers, use the EU VAT number validator.
Sources used for this guide (retrieved 2026-10)
- Goods and Services Tax portal, Government of India: The official GST portal of the Government of India, States and Union Territories; the place to confirm registration.
- Wikipedia, Permanent account number: PAN structure: three series letters, holder-type letter, name initial, four digits, check letter; fourth-letter meanings such as P, C and F.
Frequently asked questions
Does a valid GSTIN mean the business is registered?
No. A passing check means the structure and check character are consistent. Confirm active registration on the official GST portal.
What does the state code mean?
The first two digits identify the state or union territory of registration. This tool checks that the code is in the range used for GST (01 to 38, 97 and 99), not which state it names.
Why is the 14th character always Z?
The 14th character is a fixed letter Z in the GSTIN structure; the final character is the check.
What is a GSTIN?
A GSTIN is the 15-character GST identification number issued to a registered taxpayer in India. It combines a two-digit state code, the holder's 10-character PAN, an entity number, a fixed letter Z and a final check character.
How do I check if a GSTIN is valid?
Enter it here to test the length, state code range, PAN pattern, the letter Z and the check character, with any failing part named. To confirm that the GSTIN is registered and active, look it up on the official GST portal at gst.gov.in.
How is the 15th character of a GSTIN calculated?
Convert each of the first 14 characters to its position in 0-9 then A-Z, multiply by 1 or 2 alternately, add the quotient and remainder of each product after dividing by 36, and total them. The check character is the value that brings the total to a multiple of 36. For 27AAPFU0939F1Z the total is 221 and the check character is V.
Does the PAN inside a GSTIN tell me who the holder is?
It tells you the type of holder from the fourth PAN letter, such as P for an individual, C for a company or F for a firm, and the fifth letter is the initial of the holder's name. It does not identify the holder by itself; only the issuing authority's records do.
Why does my GSTIN fail even though I copied it correctly?
The usual causes are look-alike characters such as O and 0, a dropped or extra character, a space that is not a plain space, or a number that was invented rather than issued. Re-copy it from the original source and compare each part against the table above.
Format check only
Use the official GST portal to confirm that a GSTIN is active and belongs to the business you are dealing with.