Guides

What is an ITR JSON file and how do you open it?

Checked on ยท 3 min read

An ITR JSON file is your income tax return saved as a single text file, in the format the e-filing portal accepts when you file offline. The Income Tax Department's offline utility writes one, and so do most tax apps. You can open it in any text editor, in a browser, or in the offline utility.

Why returns are JSON files

Until AY 2020-21 an offline return was an XML file. The department's FAQ says that from AY 2021-22 "XML is no more the file format for pre-filled data or the utility-generated file for upload, it is now in JSON format." It describes JSON as "a lightweight format for storing and transporting data".

A JSON file is plain text. It holds names and values inside curly brackets, and nothing in it can run on your computer.

Two kinds of file with the same ending

Both end in .json, and the portal accepts only one of them as a return.

Pre-filled data The return
What it holds What the department already has on you The return you prepared
Where it comes from Downloaded from the portal, or by the utility Written by the utility or a tax app
What you do with it Import it into the utility to fill the form Upload it on the portal to file

The department's user manual describes both uses.

What is inside a return file

A return file has one top-level name, ITR, and inside it the form: ITR1, ITR2, ITR3 or ITR4. An ITR-1 file for AY 2026-27 is laid out like this:

{
  "ITR": {
    "ITR1": {
      "CreationInfo": {},
      "Form_ITR1": { "FormName": "ITR-1", "AssessmentYear": "2026" },
      "PersonalInfo": {},
      "FilingStatus": {},
      "ITR1_IncomeDeductions": {},
      "ITR1_TaxComputation": {},
      "TaxPaid": {},
      "Refund": {},
      "Verification": {}
    }
  }
}

Three details:

  1. "AssessmentYear": "2026" means AY 2026-27. The file stores only the first year.
  2. CreationInfo records which software wrote the file. When the offline utility exports a return it puts its own details there, with a Digest value.
  3. Your PAN appears twice, in PersonalInfo and again in Verification.

The exact rules for every field are in the schema the department publishes for each form on its downloads page.

How to open an ITR JSON file

To read it

  1. A browser. Drag the file into a browser window. Firefox shows it as a tree you can fold and search.
  2. A text editor. Notepad on Windows and TextEdit on a Mac both open it. A file from the utility is one very long line, so the browser is easier.

Be careful with editing. One missing comma makes the whole file unreadable to the portal, and Word or Excel will save it in their own format.

To see it as a tax form

Open it in the offline utility. In version 1.2.5 the option is labelled Import draft ITR filled in Online mode or import JSON generated from Excel/HTML utility. In my tests it took a complete ITR-1 return file written to the department's schema.

To check it

Opening a file shows what is in it, and you still don't know whether the portal will accept it. For that, validate it: three ways to validate an ITR JSON file. The quickest is to drop it into the checker on this site.

Is it safe to share?

Treat the file like the return itself. It holds your PAN, your address, your income and your bank account numbers. Send it only to someone who is preparing or checking your return, and delete old copies from shared computers.

What to do with it

To file the return, upload the file on the e-filing portal: e-File, Income Tax Returns, File Income Tax Return, then the assessment year and the offline mode. How to file your ITR offline with a JSON file has the steps.

This guide is general information, not tax advice. Rules, dates and screens change: check the official page linked for each fact before you act.