Sign up free

JSON to Excel Converter

Turn a JSON array or API response into a spreadsheet with one row per record and one column per field.

or drop files here

Accepts JSON

Encrypted upload. Files are deleted automatically after 1 hour.

About JSON to Excel

JSON to Excel gets data out of developer land and into a sheet people can filter, sort and chart: an API response, an export from MongoDB or Firebase, a log file, a list of orders from a web shop. Upload the .json file and each object in the array becomes a row, with a column for every key that appears anywhere in the data.

Nested objects are flattened into dotted column names such as address.city, lists of plain values are joined into one cell, and lists of objects get numbered columns like items[0].sku. If the records sit under a key like data, items or results, that list is used, and an object made of several arrays gets one sheet per array. A .json file with one object per line, known as JSON Lines, works too.

How to use JSON to Excel

  1. 1
    Upload the JSON file

    Choose or drop a .json file saved from an API, a database export or a script.

  2. 2
    Click JSON to Excel

    Records are found, nested fields are flattened and the workbook is built on our server.

  3. 3
    Download the .xlsx

    Open it to find a bold, frozen header row and columns already sized to their contents.

Why use Cubfile for this

  • Nested data, flat columns

    address.city, address.zip and items[0].price each get their own column, so nothing hides inside a cell.

  • Every key becomes a header

    Records with different fields still line up; missing values are simply left blank.

  • Finds the records for you

    Arrays under data, items, results, records or rows are picked up without you editing the file.

  • One sheet per list

    A JSON object holding several arrays, like users and orders, becomes a workbook with a sheet for each.

FAQ

JSON to Excel: questions and answers

How does JSON to Excel handle nested objects?
It flattens them. An address object with city and zip inside becomes two columns, address.city and address.zip, and lists of objects spread over numbered columns such as items[0].name and items[1].name. Edited rows can go back into code through Excel to JSON, with the header row as keys.
Will it work if my JSON isn't an array?
Usually, yes. If the records sit under a key such as data, items, results, records or rows, that list is used. An object made of several arrays becomes one sheet per array, and a single object becomes one row.
Can I convert JSON to Excel from an API response?
Yes. Save the response as a .json file, for example from your browser's developer tools or with curl -o data.json, then upload it here.
What are the limits on the free plan?
JSON files up to 50 MB, with 2 tasks a day on a free account and 2 in total without one. VIP accepts up to 1 GB and has no daily limit.
Is it safe to upload JSON with customer data?
Yes. Transfers use HTTPS, every task runs in an isolated process, and your file and the workbook are deleted automatically after an hour. We never access or share them. For JSON you'd rather not upload at all, JSON to CSV flattens it right in your browser.
Share JSON to Excel with a friendIt runs in any browser, and they can try it without signing up.

Related tools

XLSSQL Excel to SQLGenerate CREATE TABLE and INSERT statements from Excel or CSV.
XMLXLS XML to ExcelTurn repeating XML records into spreadsheet rows.
CSVXLS CSV to ExcelOpen CSV and TSV data in Excel with the right columns and encoding.
CSVJSON CSV to JSONConvert CSV to JSON in your browser. Nothing is uploaded.
CSVXML CSV to XMLConvert CSV or Excel rows into XML records.
XLSCSV Excel to CSVSave each sheet as CSV, line breaks in cells handled.
XLSHTML Excel to HTMLTurn a sheet into an HTML table you can paste into a page.
XLSJPG Excel to ImageSnapshot sheets and charts as images.