Excel to JSON
Turn spreadsheet rows into JSON objects for APIs, apps and databases.
- Select a spreadsheet
- Choose whether to use headers as keys
- Click Convert and download
Your files never leave your device
From spreadsheet to JSON
JSON is the standard data format for web apps and APIs. Converting an Excel sheet to JSON lets developers and no-code tools use data that was prepared by non-technical colleagues in a familiar spreadsheet. Select the file, choose whether the first row holds the keys, and click Convert.
- Create seed data or configuration files for an app.
- Prepare data for an API, a chart library or a static website.
- Move product catalogues or translations from Excel into code.
A worked example
Take a sheet with the headers name, age and city, and two rows: Ali, 30, Cairo and Sara, 28, Dubai. With the first row used as keys, the result is an array of two objects, where the first one has the name Ali, the age 30 (as a number) and the city Cairo. Turn the option off and each row becomes an array of values instead.
If Sara's city cell is empty, it is exported as an empty string, so both objects still have the same three keys.
Limits and good practice
A workbook with one sheet produces a JSON array. A workbook with several sheets produces an object with one array per sheet name. Formulas are exported as their calculated values, and the output is indented so it is easy to read.
Use clear, unique header names without special characters, because they become the property names. Check the result with the JSON Formatter if you want to validate or minify it.
Frequently asked questions
What if the file has many sheets?
The JSON contains an object with one array per sheet, named after each sheet.
What happens to empty cells?
They are included as empty strings, so every row has the same keys.
Which spreadsheet formats are supported?
XLSX, XLS, XLSM, XLSB, ODS and CSV.
Are formulas converted?
The calculated values of the formulas are exported, not the formulas themselves.
Is my file uploaded?
No. The conversion happens locally in your browser and the file never leaves your device.
Is the JSON formatted?
Yes. The output is indented and easy to read.