CSV to JSON for GST and GSTR-1 Filing — Free Online Converter
Table of Contents
GST filing in India requires JSON-formatted data for certain returns, particularly when uploading GSTR-1 data through the GST portal or third-party filing software. If your accounting data is in CSV or Excel format — as it often is from exports out of Tally, Zoho Books, or manual spreadsheets — you need to convert it to JSON before uploading.
The free CSV to JSON Converter at WildandFree Tools handles this conversion entirely in your browser, with no file upload to any third-party server. Your financial data never leaves your device.
Why the GST Portal Uses JSON Format
The Government of India's GST portal accepts GSTR-1 data (outward supply returns) in JSON format when uploading in bulk. The JSON schema defines specific field names that the portal expects — like GSTIN, supply_type, invoice number, invoice value, and HSN/SAC codes.
Many accounting and billing software packages export data as CSV or Excel, which is easy to view and edit in spreadsheet tools. Converting that CSV data to JSON is the bridge between your accounting software and the GST portal's bulk upload system.
The GST portal's JSON schema is publicly documented. The field names in your CSV (column headers) must match the JSON keys expected by the portal. If they do not match, the portal will reject the upload.
Step-by-Step: Convert Your GST CSV Data to JSON
Before converting, ensure your CSV column headers match the field names expected by the GST portal JSON schema. Common field names include: GSTIN, invoice_number, invoice_date, invoice_value, taxable_value, igst, cgst, sgst, cess.
- Export your GST data as CSV from your accounting software (Tally, Zoho Books, Busy, QuickBooks India, or your custom spreadsheet).
- Open the CSV to JSON Converter at wildandfreetools.com/converter-tools/csv-to-json/
- Upload or paste your CSV data. The delimiter is auto-detected.
- Click Convert. Each invoice row becomes a JSON object with your column headers as keys.
- Review the JSON output to verify the field names and values look correct before uploading to the portal.
- Download the JSON file and upload it to the GST portal's bulk upload section.
Important: The GST portal expects a specific JSON structure (not just any JSON array). The outer structure may require wrapping the array in a specific object format that the portal defines. Verify the required schema from the GST portal's official documentation before uploading.
Sell Custom Apparel — We Handle Printing & Free ShippingPreparing Your CSV Column Headers to Match GST JSON Field Names
The most common reason GST JSON uploads fail is field name mismatch. The portal expects exact field names defined in its schema. Your CSV column headers must match these exactly (case-sensitive in many cases).
Before converting, rename your CSV column headers to match the portal's expected JSON field names:
- Remove spaces (use underscores instead)
- Match the exact capitalization (check whether the portal expects lowercase, uppercase, or camelCase)
- Ensure date formats match the expected format (DD-MM-YYYY or YYYY-MM-DD depending on the field)
- Ensure GSTIN values are exactly 15 characters with no spaces
It is worth doing one test upload with a single invoice first to verify your JSON structure is accepted before doing a bulk upload of hundreds of invoices.
Privacy Matters: Financial Data Should Never Be Uploaded to Third-Party Servers
GST data contains sensitive financial information: customer GSTINs, invoice amounts, HSN codes, and tax breakdowns. You should be cautious about which tools you use to process this data.
Many online converters upload your file to their servers for processing. This means your financial data is transmitted to a third party. The WildandFree Tools CSV to JSON Converter processes everything in your browser using JavaScript — your CSV file never leaves your device, never touches our servers, and is not retained anywhere.
This is the same reason that professional accountants and CAs should use browser-based tools for client data rather than uploading to unknown servers. The processing is local, the privacy is guaranteed by design, not policy.
Using Excel Data for GST JSON (Alternative Workflow)
If your GST data is in Excel format (.xlsx) rather than CSV, you have two options:
Option 1 — Export Excel as CSV first: In Excel, go to File, Save As, and choose CSV (Comma Delimited). Then use the CSV to JSON Converter as described above.
Option 2 — Use the Excel to JSON Converter directly: WildandFree Tools also has a dedicated Excel to JSON Converter that accepts .xlsx files directly, without the intermediate CSV export step.
For most accountants and tax professionals, Option 1 (export to CSV first) is more flexible because you can review and edit the CSV in Excel before conversion, which is harder to do with a JSON file.
Try It Free — No Signup Required
Runs 100% in your browser. No data is collected, stored, or sent anywhere.
Open Free CSV to JSON ConverterFrequently Asked Questions
Does the GST portal accept any JSON format, or does it require a specific schema?
The GST portal requires JSON that follows its specific schema. Simply converting your CSV to a generic JSON array is not enough — the field names, data types, and overall JSON structure must match what the portal expects. Always check the official GSTN documentation for the current JSON schema before uploading.
My accounting software already has a GST JSON export option. Should I still use this converter?
If your accounting software can export directly to GST-compatible JSON, use that option — it will produce the correct schema automatically. The CSV-to-JSON converter is most useful when your software only exports CSV and you need to manually prepare the JSON for upload.
Can I convert GSTR-3B or other returns in addition to GSTR-1?
The converter produces JSON from any CSV data. Whether that JSON is compatible with GSTR-3B, GSTR-2A, or other returns depends on whether you have structured your CSV columns to match the portal's expected schema for that specific return type.

