{ } JSON Workbench100% Private • Zero Server Uploads

"Excel to JSON":{ }

Convert an Excel workbook (.xlsx) to JSON: each row becomes an object keyed by the header row, numbers and booleans keep their types, and dates become ISO 8601 strings. Pick any sheet, then copy or download. The file is read 100% in your browser: nothing is uploaded.

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

How to use

  1. Click Choose .xlsx file (or drop the workbook onto the box, or load the sample).
  2. Pick the sheet to convert if the workbook has more than one.
  3. 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.
  4. Copy the JSON or download it as a .json file.

Examples

Sheet with a header row → objects

Input
id | name  | joined     | active
1  | Ada   | 2026-01-15 | TRUE
2  | Linus | 2026-03-02 | FALSE
Output
[
  { "id": 1, "name": "Ada", "joined": "2026-01-15", "active": true },
  { "id": 2, "name": "Linus", "joined": "2026-03-02", "active": false }
]

Header off → arrays

Input
sku | qty
A-1 | 3
Output
[
  ["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.

Related tools