Skip to content
Invoiqo

Free tool · no sign-up

GSTIN validator: check a GST number before you bill

Paste a GST number to check that it is correctly formed: the state code, the PAN inside it, the registration number and the 15th check digit. It catches almost every typing mistake in a second, works offline on your device and tells you what each part of the GSTIN means.

Runs on your device; nothing is sent anywhere.

Bill GST customers without retyping their GSTIN

Save each customer once in Invoiqo; their GSTIN, state and the right tax go on every invoice.

Start free, no card needed

What a GSTIN is made of

A GST Identification Number (GSTIN) is 15 characters long. It is built from the state and the business’s PAN, so most of it can be checked without going online.

PositionExample (27AAPFU0939F1ZV)Meaning
1–227State or UT code (27 = Maharashtra)
3–12AAPFU0939FPAN of the business: 5 letters, 4 digits, 1 letter. The 4th letter is the holder type (C company, P individual, F firm, H HUF…)
131Registration number for this PAN in the state (1 for the first, 2 for the second, then letters after 9)
14Z“Z” by default for normal registrations
15VCheck digit calculated from the first 14 characters

How the check digit works

The 15th character is a check code computed from the first 14. Each character is turned into a number (0–9 stay as they are, A = 10 up to Z = 35). The values are multiplied alternately by 1 and 2, each product is split into its quotient and remainder when divided by 36, and these are added up. The check character is the one that brings the total to a multiple of 36. Because of this, a single mistyped character, or most swaps of two neighbouring characters, produces the wrong check digit and the validator flags it.

We tested the validator against GSTINs that large companies publish on their invoices and websites, and every real number passed while mistyped versions failed.

What the validator cannot tell you

A valid format only proves the number could exist. It does not prove the registration is active, that it belongs to the business in front of you, or that it was not cancelled. Before claiming input tax credit or making a large sale on credit, look the number up on the GST portal’s Search Taxpayer page and check the legal name, trade name, status and date of registration.

State codes

Common codes: 07 Delhi, 08 Rajasthan, 09 Uttar Pradesh, 10 Bihar, 19 West Bengal, 20 Jharkhand, 21 Odisha, 23 Madhya Pradesh, 24 Gujarat, 27 Maharashtra, 29 Karnataka, 32 Kerala, 33 Tamil Nadu, 36 Telangana, 37 Andhra Pradesh. Code 38 is Ladakh, 26 is Dadra and Nagar Haveli and Daman and Diu, 97 is used for Other Territory and 99 for the Centre Jurisdiction.

Common mistakes

  • O and 0, I and 1 mixed up. The PAN part is letters-digits-letter in a fixed pattern, so the validator points out where a letter or digit is in the wrong place.
  • Old Andhra Pradesh code 28. Businesses in Andhra Pradesh after the 2014 reorganisation use 37; 28 still appears on some old registrations.
  • The wrong state on the invoice. The first two digits tell you the buyer’s registered state. If it differs from yours, a supply delivered there is usually inter-state (IGST).
  • Using a GSTIN from an old letterhead. Registrations get cancelled; always check the status on the portal for big orders.

Official sources

Checked on 28 October 2026.

Frequently asked questions

How do I know if a GSTIN is valid?

Check the format and the 15th check digit here; a wrong digit means the number is mistyped. Then search the GSTIN on the GST portal to confirm the business name and that the registration is active.

Can I find the PAN from a GSTIN?

Yes. Characters 3 to 12 of a normal GSTIN are the PAN of the business. The validator shows it along with the type of holder, such as company or individual.

What does the “Z” in a GSTIN mean?

The 14th character is “Z” by default for normal registrations. Special registrations can differ: TDS deductor registrations use “D” and e-commerce TCS registrations use “C”.

Is my data sent anywhere?

No. The check runs entirely in your browser. Nothing you type is uploaded or stored.

Does Invoiqo check GSTINs automatically?

Invoiqo reads the state from each customer’s GSTIN and uses it to put CGST + SGST or IGST on the invoice. Use this tool to check a number before you save it.

GST billing that does the work for you

Invoices, stock, payments and GST reports in one app, on the web and Windows, in English, हिन्दी and বাংলা.

Start free — GST billing in 2 minutes