Excel to JSON Converter
Convert an Excel spreadsheet (.xlsx) to JSON: one object per row, with the first row as keys, real numbers, true/false and dates. The file is read in your browser and never uploaded.
Excel file
or click to choose one
JSON
How to Convert Excel to JSON
- Drop your .xlsx file on the box, or click Upload.
- Pick the sheet if the workbook has more than one, or choose All sheets.
- Keep "First row is the header" on to get one object per row.
- Copy the JSON, or download it as a .json file.
Example
| id | name | signup_date | active | balance |
|---|---|---|---|---|
| 1 | Emily Clark | 2026-01-15 | TRUE | 2500.75 |
| 2 | José García | 2026-03-02 | FALSE | 0 |
[
{
"id": 1,
"name": "Emily Clark",
"signup_date": "2026-01-15",
"active": true,
"balance": 2500.75
},
{
"id": 2,
"name": "José García",
"signup_date": "2026-03-02",
"active": false,
"balance": 0
}
]This is the output for a workbook saved by Microsoft Excel. Numbers stay numbers, TRUE and FALSE become true and false, and the date column, stored by Excel as a serial number, becomes a readable YYYY-MM-DD date.
How Cells Are Converted
| Excel cell | JSON value |
|---|---|
| Text | A string. Text-formatted numbers such as 0042 keep their leading zeros. |
| Number | A number, like 2500.75 or -12.5 |
| TRUE / FALSE | true / false |
| Date | "2026-01-15" |
| Date and time | "2026-11-21T18:00:00" |
| Time only | "12:00:00" |
| Formula | The last calculated result, for example 2488.25 for =SUM(F2:F4) |
| Empty cell | Left out of the object, or null if you choose Write null |
Missing or empty headers become Column A, Column B and so on, and repeated headers get a number (name_2), so no value is lost. Line breaks inside a cell are kept as \n.
Good to Know
- Private: the file is opened with JavaScript in your browser. Nothing is uploaded, so it is safe for customer lists and finance sheets.
- .xlsx only: old .xls files use a different format. Open them in Excel and save as Excel Workbook (.xlsx). For .csv files, use CSV to JSON.
- Values, not formatting: colors, merged cells, comments and charts are not part of JSON. A merged cell's value appears in its first cell.
- Need the other direction? JSON to Excel turns JSON into a real .xlsx file.
Excel to JSON in Code
For repeated jobs, a script is easier. With Python, pandas reads Excel files (it needs the openpyxl package for .xlsx):
import pandas as pd
df = pd.read_excel("customers.xlsx", sheet_name="Customers")
df.to_json("customers.json", orient="records", indent=2, date_format="iso")orient="records" gives one object per row, the same shape this tool produces. Check the result in the JSON Validator or explore it in the JSON Viewer.
Frequently Asked Questions
How do I convert Excel to JSON?
Drop your .xlsx file on the converter. It reads the sheet in your browser and turns every row into a JSON object, using the first row as keys. Copy the JSON or download it as a .json file.
Are dates converted correctly?
Yes. Excel stores dates as serial numbers; the converter reads the cell format and writes dates as YYYY-MM-DD, date and time as YYYY-MM-DDTHH:MM:SS and times as HH:MM:SS.
Can it convert all sheets at once?
Yes. If the workbook has more than one sheet, choose All sheets to get one JSON object with a key for each sheet name.
Is my Excel file uploaded?
No. The file is read with JavaScript in your browser and never sent to a server.