Excel to JSON Converter (XLSX, XLS, CSV)
Data ToolsOpen an .xlsx, .xls or .csv file, pick a sheet, and get an array of JSON objects keyed by the header row.
Read in your browser; the file is never uploaded. Only the file name and sheet, row and column counts are saved to your past runs. Privacy
About
What the Excel to JSON Converter does
The Excel to JSON Converter reads an .xlsx, .xls or .csv file in your browser and turns one sheet into JSON: an array of objects keyed by the header row, or plain arrays when there is no header. Numbers stay numbers, dates become ISO text such as 2026-11-20 or stay as Excel serial numbers, and empty rows can be skipped. The file is never uploaded.
Steps
How to use it
- 1Press Open, or drop an Excel or CSV file on the page.
- 2Pick the sheet if the workbook has more than one.
- 3Adjust the header, date and empty-row options; the JSON updates at once.
- 4Copy the JSON or download it as a .json file.
Example
A real run
Input
customers.xlsx: two sheets, Customers and Orders. Sheet "Customers": id name state since 1 Ada Lovelace TX 2024-03-14 2 Grace Hopper VA 2025-10-01
Output
[
{
"id": 1,
"name": "Ada Lovelace",
"state": "TX",
"since": "2024-03-14"
},
{
"id": 2,
"name": "Grace Hopper",
"state": "VA",
"since": "2025-10-01"
}
]The header row supplies the keys, ids stay numbers, and the date column, stored by Excel as serial numbers, comes out as ISO text.
Options
Every setting, and when to use it
- Sheet
- Workbooks often keep data on a second or third sheet. The list shows every sheet in the file; switching converts the chosen one.
- First row is header
- On, each row becomes an object such as {"id": 1, "name": "Ada"}; duplicate header names get _2, _3 and blank ones become Column 3. Off, every row becomes an array, useful for sheets without a header.
- Dates
- ISO text writes 2026-11-20, or 2026-11-20T14:05:00 when there is a time. Excel serial numbers keep the raw value Excel stores, days since 1900, for code that converts dates itself.
- Skip empty rows and Pretty-print
- Skipping drops rows with no values, common at the end of exported sheets. Pretty-print indents the JSON for reading; turn it off for the smallest file.
Good to know
Common problems and limits
Files up to 20 MB. Formulas export the value Excel last calculated, not the formula itself.
Merged cells give their value to the first cell only; the others come out as null. Password-protected workbooks cannot be opened and show a message saying so.
Cell formatting, colors and comments are not part of the JSON. To check the data before converting, a CSV file can also be opened in the CSV Viewer.
Audience
Who uses it
- DevelopersTurn a spreadsheet from a client or a colleague into seed data, test fixtures or an import file for an API.
- No-code and automation buildersConvert a price list or product sheet into JSON for Zapier, n8n or a headless CMS.
- AnalystsMove a cleaned-up sheet into a notebook or a JavaScript chart without retyping columns.
FAQ
Frequently asked
How do I convert Excel to JSON without code?
Open the file here, pick the sheet and copy the JSON: each row becomes an object keyed by the header row. Excel itself has no Save as JSON option; the alternatives are Power Query scripts, Python or an online converter that uploads your file.
Why do dates come out as numbers?
Excel stores a date as a serial number, the count of days since January 1, 1900, and only formats it as a date for display. With Dates set to ISO text, this tool converts those serials to 2026-11-20 style text; choose Excel serial numbers to keep the raw value.
Which sheet is converted?
The first sheet when the file opens. The Sheet list shows every sheet in the workbook; pick another and the JSON updates immediately.
Is my file uploaded?
No. The workbook is read by your browser with SheetJS and never sent to a server. Only the file name and the sheet, row and column counts are saved to your past runs; the contents are not.
How do I convert Excel to JSON in Python?
With pandas: pd.read_excel("file.xlsx", sheet_name="Customers").to_json("out.json", orient="records", date_format="iso"). Reading .xlsx needs the openpyxl package installed. orient="records" gives the same array of objects as this page.
Can I convert JSON back to Excel?
Yes, the JSON to Excel converter builds a real .xlsx file from a JSON array, with nested objects flattened into columns. For CSV files there is also CSV to JSON.
Automation: an MCP tool xlsx_to_json(file, sheet, options) → json and an n8n node are planned for this tool.