JSON to Excel Converter
Turn JSON or CSV into an Excel file with nested objects flattened, real dates and numbers, and a bold, frozen header.
The sheet appears here.
Turns JSON, JSON Lines or CSV into an Excel workbook (.xlsx). An array of objects becomes a sheet with a row per object and a column per key; nested objects become address.city columns. Numbers, booleans and dates are written as Excel values, so they sort, sum and filter as they should, and the header row is bold, frozen and has filters. The conversion runs in your browser; nothing is uploaded.
How it reads the input
- JSON: text starting with
{or[. A JSON error is shown with its line and column; the text is never read as CSV instead. - JSON Lines (.jsonl, NDJSON): one object per line, each a row. A line that is not an object is named in the error.
- CSV: anything else, with the delimiter found from the data and named under the input; set it under Delimiter. CSV values are typed the same way as JSON strings below, and a plain number such as
1.5is a number. The first row is the header; values past its last column are dropped, and the output names the rows that had them.
An array of arrays is written row for row, its first row the header when it holds only text. An object holding several arrays offers One sheet per array, each sheet named after its key, or Flatten into one row. Arrays inside a row are joined with commas, or written as JSON with Arrays as JSON. Keys that differ only in case are separate columns, and rows that lack a key leave its cell empty.
- Numbers are Excel numbers, shown in General format. A number with more than 15 digits before its decimal point is written as text, so no digit is lost.
trueandfalseare TRUE and FALSE;nullleaves the cell empty.- Text in the form
YYYY-MM-DDorYYYY-MM-DDThh:mm[:ss], from 1 January 1900, becomes an Excel date, shown as 28 Feb 2026 (and 14:30). A date that does not exist (2026-02-30) and one before 1900 stay text, as does a timestamp withZor an offset. - All other text stays text, leading zeros and long digit runs included.
The sheet is named after the opened file, or Sheet1, unless you type a name; Excel allows 31 characters and none of [ ] : * ? / \, so others are dropped. Columns are as wide as their longest value. Excel's limits are checked before anything is written: a cell of more than 32,767 characters, more than 1,048,576 rows or more than 16,384 columns is refused with the place named. Copy as TSV copies the previewed sheet as tab-separated text, which pastes a value per cell into Excel or Google Sheets. Pasted text is read as if typed, so text such as =1+1, 00042 or TRUE becomes a formula, a number or a boolean there; download the file to keep every type exact.
Examples
An order with every kind of value
- JSON
[ { "id": "00042", "order": 12345678901234567890, "total": 1299.5, "paid": true, "placed": "2026-02-28T14:30", "shipped": "2026-03-02T09:15:00Z", "customer": { "name": "Asha Rao", "city": "Pune" }, "tags": ["gift", "express"], "note": null } ]
Each cell of the sheet's second row:
- id
- 00042 (text)
- order
- 12345678901234567890 (text)
- total
- 1299.5 (number)
- paid
- TRUE (boolean)
- placed
- 28 Feb 2026 14:30 (date)
- shipped
- 2026-03-02T09:15:00Z (text)
- customer.name
- Asha Rao (text)
- customer.city
- Pune (text)
- tags
- gift, express (text)
- note
- (empty)
The 20-digit order number is text, so it reads exactly as sent; the timestamp with Z stays text, while the one without becomes a date.
Frequently asked questions
2026-02-28T14:30:00Z or …+05:30 is kept as text rather than shifted to some zone, and the output says how many there are. Convert them to local time first if you want Excel dates.=, + or @. That is why no formula guard is needed here, unlike a CSV file, whose cells Excel reads as if typed.See also
- Excel to JSON Converter — for the reverse: a sheet back to JSON or CSV.
- JSON to CSV Converter — for a plain CSV file instead of a workbook.
- CSV Editor — to edit a CSV in a grid before converting it.