Indian GSTIN Generator & Validator
Generate valid test GSTINs or validate any Indian GST Identification Number (GSTIN). Extracts state code, PAN, and entity type — runs entirely in your browser.
For testing and development only. Generated GSTINs pass the checksum algorithm but are not registered with the GST portal. Do not use them for tax invoices, GST filings, or any purpose other than software testing.
GSTIN
—
Sample GSTINs
How to use it
- 1Click Generate to instantly create a random, checksum-valid GSTIN for testing.
- 2Copy any sample from the Sample GSTINs panel on the right.
- 3Switch to Validate tab, paste any GSTIN, and click Validate.
- 4The tool checks the 15-character format, state code, embedded PAN, the mandatory Z character, and the mod-36 checksum.
Common use cases
- Test GST invoice generation software with realistic GSTINs.
- Validate GSTIN input fields before submitting to a live GST API.
- Seed staging databases with format-valid Indian business identifiers.
- Understand the GSTIN structure — state code, PAN, entity number, checksum.
Frequently asked questions
- What is a GSTIN?
- A GST Identification Number (GSTIN) is a 15-character alphanumeric identifier assigned to every GST-registered business in India. It encodes the state code, the business's PAN, an entity number, and a checksum.
- What is the GSTIN format?
- 2-digit state code + 10-character PAN + 1-digit entity number (1–9) + Z + 1 checksum character (alphanumeric). Total: 15 characters.
- How is the checksum calculated?
- A mod-36 algorithm is applied over the first 14 characters. Each character's position value (0–35, where A=10) is weighted alternately by 1 or 2, summed, and the remainder determines the checksum character.
- Are the generated GSTINs real?
- No. They pass the checksum algorithm and follow the correct format, but they are not registered on the GST portal. Use them only for software testing and development.
- Is my data sent to a server?
- No. All validation and generation runs entirely in your browser. Your input never leaves your device.
Try next
Indian PAN Card Generator & Validator
Generate or validate Indian PAN card numbers for testing.
Australian ABN Generator & Validator
Generate and validate Australian Business Numbers (ABN) using the official weighted checksum algorithm. Perfect for testing and development — runs entirely in your browser.
Hash Generator
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes in your browser.