What is an Excel to JSON converter?
An Excel to JSON converter turns the rows of a spreadsheet into JSON that code can use: seed data for a database, fixtures for tests, config tables, or an API payload. This one reads the .xlsx file directly in your browser, keeps cell types (numbers, booleans, dates), and lets you choose between objects keyed by the header row or plain arrays. Spreadsheets often hold customer or financial data, so not uploading them matters.
Going the other way
- JSON to Excel: turn a JSON array back into a real .xlsx workbook.
- JSON to CSV and CSV to JSON for plain-text tables.
How to use
- Click Choose .xlsx file (or drop the workbook onto the box, or load the sample).
- Pick the sheet to convert if the workbook has more than one.
- Keep First row is the header on to get one JSON object per row, keyed by the column names. Turn it off to get plain arrays.
- Copy the JSON or download it as a
.jsonfile.
Examples
Sheet with a header row → objects
id | name | joined | active 1 | Ada | 2026-01-15 | TRUE 2 | Linus | 2026-03-02 | FALSE
[
{ "id": 1, "name": "Ada", "joined": "2026-01-15", "active": true },
{ "id": 2, "name": "Linus", "joined": "2026-03-02", "active": false }
]Header off → arrays
sku | qty A-1 | 3
[ ["sku", "qty"], ["A-1", 3] ]
FAQ
How do I convert Excel to JSON?
Choose your .xlsx file, pick the sheet, and the JSON appears immediately: each row becomes an object keyed by the header row. Copy it or download it as a .json file. Everything happens in your browser.
How are dates, numbers, and booleans handled?
Numbers stay numbers and TRUE/FALSE become JSON booleans. Excel stores dates as day numbers; the converter reads each cell's number format and turns real dates into ISO 8601 strings like 2026-01-15 (or 2026-03-02T14:30:00 when there is a time). Empty cells become null, and formulas give their last calculated value.
What about blank or duplicate column names?
Blank headers become column_3-style keys and duplicates get a suffix (name, name_2), so no data is overwritten. Fully empty rows are skipped.
Does it support .xls, .csv, or Google Sheets?
It reads .xlsx workbooks from Excel, Google Sheets (File, Download, Microsoft Excel), LibreOffice, and Numbers. The old .xls format is not supported: save it as .xlsx first. For CSV files use CSV to JSON.
Is my spreadsheet uploaded?
No. The workbook is unzipped and parsed in your browser and never leaves your machine. Nothing is uploaded.