JSON to Excel Converter

Paste a JSON array or upload a .json file and get a real Excel spreadsheet in one click. Each object becomes a row, each key becomes a column, nested objects are flattened into dot-named columns like address.city, and numbers stay numbers. Check the live table preview, then download an .xlsx file or a CSV.

An array of objects works best. An object holding such an array is detected automatically.
Arrays inside items

One cell joins simple lists with commas (and keeps lists of objects as JSON text). Column per item creates tags.0, tags.1 and so on.

0rows
0columns
Ready.

    Runs entirely in your browser. Nothing you enter is uploaded or stored.

    Rate this tool

    Be the first to rate this tool

    How to use the JSON to Excel

    1. Paste your JSON into the box, or choose or drop a .json file.
    2. Check the preview: each object is a row and each key a column, with nested keys joined by dots.
    3. Choose how arrays inside items are handled, and set the file and sheet names if you like.
    4. Click Download Excel (.xlsx) to get the spreadsheet, or Download CSV for a plain text table.

    How JSON becomes a spreadsheet

    JSON from an API, a database export or a log file is usually a list of records: an array where every item is an object with the same kind of keys. A spreadsheet is the same idea laid out as a grid. This converter turns every object into one row and every key into one column. Columns appear in the order keys are first seen, so if a later record has an extra field, a new column is added and earlier rows simply leave that cell empty. If you paste a single object that wraps the list, such as {"users": [ … ]}, the tool finds the array of records inside it automatically.

    Flattening nested JSON

    Spreadsheets cannot hold an object inside a cell, so nested objects are flattened with dot notation. A record like {"address": {"city": "Austin", "zip": "78701"}} becomes two columns, address.city and address.zip, at any depth. Arrays have two options. “One cell” joins simple lists such as tags into a readable value like math, poetry, and keeps arrays of objects as compact JSON text so no data is lost. “Column per item” spreads arrays across indexed columns like tags.0 and tags.1, which is handy when every record has a short list of the same length.

    A real Excel file, built in your browser

    The download is a genuine Office Open XML workbook (.xlsx), the native format of Microsoft Excel, also opened by Google Sheets, Apple Numbers and LibreOffice. The tool writes the workbook files itself and packs them into the .xlsx container directly in your browser, so your data is never uploaded. JSON numbers are saved as true numeric cells, so you can sum, sort and chart them straight away; true and false become Excel booleans; text stays text, which keeps values like ZIP codes with leading zeros intact. The header row is bold and frozen, and column widths are sized to fit the content. Excel limits a cell to 32,767 characters and a sheet to 1,048,576 rows and 16,384 columns; the tool tells you if your data runs into those limits.

    When to choose CSV instead

    CSV is plain text, so it is the most portable choice for importing into databases, scripts and other tools. The CSV download uses commas, quotes values that contain commas, quotes or line breaks, and starts with a UTF-8 byte order mark so Excel shows accented letters and emoji correctly. If your JSON fails to parse, the tool shows your browser’s description of the problem, including its line and column when the browser reports a position; tidy and validate it first with the JSON formatter. Going the other way with encoded data? The Base64 encoder and decoder can help.

    Examples

    • [{"name":"Ada","age":36},{"name":"Alan","age":41}] → 2 rows, columns name and age, with ages stored as numbers
    • {"name":"Ada","address":{"city":"London"}} → 1 row with columns name and address.city
    • {"tags":["a","b"]} → tags = “a, b” (One cell) or tags.0 = a, tags.1 = b (Column per item)
    • {"data":[{"id":1},{"id":2}]} → the “data” array is used, giving 2 rows

    JSON to Excel FAQ

    Is the downloaded file a real Excel file?

    Yes. It is a standard .xlsx workbook that opens in Microsoft Excel, Google Sheets, Apple Numbers and LibreOffice, not a CSV renamed to .xlsx. Numbers are stored as numbers and the header row is bold and frozen.

    Is my JSON uploaded to a server?

    No. Parsing, flattening and building the spreadsheet all happen in your browser, so your data stays on your device.

    How are nested objects handled?

    They are flattened into columns joined with dots. For example, user.address.city is the city inside the address inside the user object.

    What if my records have different keys?

    Every key found in any record gets a column. Records that do not have a key simply leave that cell empty.

    Why do my ZIP codes keep their leading zeros?

    Values that are strings in your JSON, like "02134", are saved as text cells, so Excel keeps them exactly. Values that are JSON numbers are saved as numeric cells.

    How big a file can I convert?

    JSON files up to 50 MB can be loaded. Very large files depend on your device’s memory, and Excel itself allows up to 1,048,576 rows per sheet.

    Related tools

    All Developer Tools
    JSON Formatter & ValidatorBeautify, minify and validate JSON with clear error messages.Base64 Encode / DecodeEncode or decode Base64 for text and files, UTF-8 safe.Compare Two ListsFind differences, common items, and unique entries between two text lists.Cron Expression GeneratorBuild cron schedules with simple menus, or paste any cron expression to explain it in plain English and see the next 5 run times.Diff CheckerCompare two texts and see every added, removed and changed line, with word or character highlights, side by side or unified.HEX to RGB ConverterConvert HEX color codes to RGB, RGBA and HSL and back, with a live swatch, color picker, alpha control and copy-ready CSS.JSON to CSVConvert a JSON array to CSV with nested objects flattened into dot-named columns, comma, semicolon or tab delimiters and a live preview.PX to REM ConverterConvert pixels (px) to rem and rem to px with custom root font size and CSS table.Regex TesterTest JavaScript regular expressions live: highlighted matches, capture and named groups, indices, flags and a replace preview.Unix Timestamp ConverterSee the current Unix epoch time live, convert timestamps in seconds, milliseconds or microseconds to dates, and dates back to timestamps.URL Decode & EncodeDecode or encode URLs and query strings (percent-encoding), with + as space option and a query parameter table.Morse Code TranslatorTranslate text to Morse code and Morse back to text, then play it as audio or a flashing light at any WPM.Image CompressorShrink JPG, PNG and WebP images to 20 KB, 50 KB, 100 KB or any size.