Skip to content
CornerTools

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.

1

The sheet appears here.

Rows: 0

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.5 is 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.
  • true and false are TRUE and FALSE; null leaves the cell empty.
  • Text in the form YYYY-MM-DD or YYYY-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 with Z or 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

Excel stores numbers as 64-bit floating point and shows at most 15 significant digits, so 12345678901234567890 typed into a cell becomes 12345678901234500000. This converter writes a number with more than 15 digits before its decimal point as text instead, keeping every digit. Card numbers, order IDs and similar values sent as JSON strings are always text.
Excel dates have no time zone, so a timestamp such as 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.
No. Every string is written as a text cell, which Excel displays and never calculates, even when it starts with =, + or @. That is why no formula guard is needed here, unlike a CSV file, whose cells Excel reads as if typed.
Yes. The workbook is standard Office Open XML (.xlsx), which Google Sheets (File → Import, or opened from Drive) and LibreOffice Calc both open. One difference: LibreOffice does not count Excel's phantom 29 February 1900, so it shows dates from 1 January to 28 February 1900 a day early; later dates match.

See also