GST portal JSON to Excel: GSTR-1, 2A, 2B, 3B

The GST portal gives its statements as JSON files, which are hard to read. The Tools page of VahiWise turns four of them into an Excel workbook, one sheet for each table. This guide converts each file type and reads the message the page gives back.

Applies to VahiWise 0.2.0Last updated 23-11-2026Accountant and CAabout 10 minutes

Step-by-step guidewith video

Before you start

  • You have the JSON file from the portal, downloaded by you. VahiWise does not log in to the portal.
  • You do not need the books of a company for this. The page reads the file and keeps nothing.
  • The samples are four made-up files for return period 092026, with made-up GSTINs. The GSTR-2B file is the one used in GT-07.

Steps

1. Open the Files to Excel card

Open Tools in the menu. The first card is Files → Excel, with a note that it reads the file and keeps nothing. It has a What list (marked 1), a File box (marked 2) and the button Make the workbook (marked 3).

The Files to Excel card with the What list marked 1, the File box marked 2 and Make the workbook marked 3.
Sample data. What is marked 1, File is marked 2 and the button is marked 3.

2. Convert a GSTR-1 file

In What choose "GSTR-1 (JSON) → Excel, table by table". Choose the file, then press Make the workbook. The workbook is saved by your browser and a green message names it and lists the sheets with their row counts (marked 1): "GSTR-1 092026.xlsx: B2B (3), B2CS (1), HSN (1)."

Each table of the return gets its own sheet, and an invoice with several rates gets a row for each rate. The sample has three B2B rows, one B2C small row and one HSN row. A table the file does not carry gets no sheet.

The green message for GSTR-1, marked 1.
Sample data. The message is marked 1.

3. Convert a GSTR-2B file

Choose "GSTR-2B (JSON) → Excel", the file and press the button. The message reads "GSTR-2B 092026.xlsx: B2B (15)." The B2B sheet has a row for each invoice, with the supplier's GSTIN and name, the invoice, the date, the value, whether the credit is available and the tax by head. Credit notes and imports from abroad get their own sheets when the file carries them.

The green message for GSTR-2B, marked 1.
Sample data. The message is marked 1.

4. Convert a GSTR-2A file

Choose "GSTR-2A (JSON) → Excel". The message reads "GSTR-2A 092026.xlsx: B2B (2)." GSTR-2A has the same columns as GSTR-2B, plus Supplier filed, which says whether the supplier has filed its return.

The green message for GSTR-2A, marked 1.
Sample data. The message is marked 1.

5. Convert a GSTR-3B file

Choose "GSTR-3B (JSON) → Excel". The message reads "GSTR-3B 092026.xlsx: GSTR-3B (14), 3.2 unregistered (1)."

The first sheet has one row for each line of tables 3.1 and 4: outward supplies, credit available, credit reversed, net credit and ineligible credit, each with its taxable value and tax by head. The second sheet lists the supplies to unregistered persons by place of supply.

The green message for GSTR-3B, marked 1.
Sample data. The message is marked 1.

Nothing is stored in VahiWise. The file is read, the workbook is made and handed to your browser, and the file is not kept. To convert a second file, change What and File and press the button again. A password box appears only for the PDF types, not for these four.

Check it worked

  • The message names the workbook with the return period, for example "092026".
  • The sheet names and row counts in the message match the tables you expect in the return.
  • The totals of the workbook agree with the portal's own summary for the same return.

If something looks wrong

The page says "Not a GSTR-1 file", "Not a GSTR-2A file" or similar

The type in the What list does not match the file. The page looks for the portal's own structure: for GSTR-2B a data block called docdata, for GSTR-3B the supply details or the credit table. Choose the matching type, or download the file again without editing it.

The page says "The file isn't JSON"

The file was changed or saved in another format. Use the original download.

The page says "Nothing in the file to put in a sheet"

The file has none of the tables the page reads. A return filed with no entries can give such a file.

Next step

More guides like this one: Tools.

Could not verify

  • The saved Excel workbook was not opened, because the capture runs in a browser that does not show the download. The sheet names and row counts come from the page's message.
  • A file from the real portal was not used. The four files are made up and follow the portal's shape.
  • GSTR-1 tables other than B2B, B2CS and HSN, and credit notes in GSTR-2A and GSTR-2B, were not in the samples.
  • The error messages above were read from the app's text and not triggered.

Notices

Questions about this guide: write to us from the contact page. What the notices mean: notices.