Excel to JSON
Convert Excel or OpenDocument sheets into JSON, one object per row keyed by the header, for one sheet or all of them.
Excel to JSON converts the rows of an .xlsx, .xls or .ods spreadsheet into a JSON array, one object per row keyed by the header. Convert the first sheet or every sheet, keyed by sheet name. The file is read in your browser.
How do rows become JSON?
Row objects
The first row gives the keys. Each following row becomes an object such as {"name": "Ana", "age": 31}, with numbers kept as numbers and dates written as ISO text.
Without a header
Untick the header option to get an array of arrays, one per row, which suits sheets that have no titles.
Why use Excel to JSON?
- Feed spreadsheets to code. Turn a sheet kept by a colleague into data a web app, script or test can use.
- Whole workbooks. Convert all sheets at once into one JSON object keyed by sheet name.
- Nothing uploaded. The workbook is read in this tab with a library loaded from this site.
How to use Excel to JSON, step by step

- Drop the spreadsheet into Excel to JSON. XLSX, XLS, XLSB and ODS files work.
- Choose sheets and options. Pick one sheet or all, and whether empty cells become null.
- Convert and copy. Press Convert to JSON, then copy the result or download it.
Frequently asked questions
What happens to formulas?
Each formula cell gives the value Excel last calculated and saved, not the formula itself.
How are dates written?
As ISO 8601 text such as 2024-03-02T00:00:00.000Z. The time zone of your computer can shift a date-only value by hours, so check dates near midnight.
What about merged cells?
The value sits in the top-left cell of the merged area; the other cells come out empty.
Looking for the long version? The guides cover each of these jobs in depth.