How to convert Excel to JSON
Read one Excel or ODS worksheet into JSON to use its cells as structured records. The first nonempty row is used as the field names and the result contains one object per following row.
- Add an XLSX, XLS or ODS workbook.
- Enter the exact Sheet name when the data is not on the first tab.
- Convert and check that field names, displayed dates and identifiers reflect the intended table.
Example use
Export an inventory worksheet from a workbook that also includes a summary tab. Check that the worksheet begins with the actual header rather than a report title. Import records into your application after assigning any schema-specific types.
Output and compatibility
This export uses displayed or cached values and does not run spreadsheet formulas. Charts, merged-cell layout and additional worksheets are not part of the JSON. Values may be strings based on their displayed formatting, which can be useful for leading zeros but should be checked when a numeric API expects numbers.
Troubleshooting
If the properties come from an unwanted heading, prepare a clean source range or separate tab with actual column headers in the first row. If the selected sheet is missing, open Excel Viewer for the available names or inspect the source workbook.
For tabular text consumption rather than an object array, choose Excel to CSV.
Frequently asked questions
Can it export more than one tab?
One worksheet is converted at a time. Run it again with another Sheet name.
Does it calculate formulas?
It uses the values available in the workbook. Recalculate in your spreadsheet editor before conversion if they are out of date.
Will it keep formatted dates?
The tool reads displayed values where available. Check format and timezone expectations before importing.
Does a merged heading become a JSON table?
The tool works best with a rectangular table and one header row. Prepare merged or hierarchical headings first.
Can I convert an ordinary CSV instead?
Use CSV to JSON to read CSV directly.
Can I rebuild an Excel table from the JSON?
JSON to Excel makes a new workbook from the records.