LocalExcelTool
Get started

JSON to Excel

Convert a JSON array into .xlsx — keys become columns automatically. Paste or pick a file, no upload.

What is JSON to Excel

JSON to Excel conversion expands object keys into columns and each object into a row. Key order follows first appearance, and keys that only exist in some objects still get their own column (missing cells stay empty). Nested objects and arrays are written as JSON strings inside a single cell, so flatten them beforehand if you need separate columns.

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Offline
Works with the network disconnected

Flattening nested data into rows

An array of objects becomes one row per object, with the union of all keys as the header. Objects that are missing a key simply leave that cell empty, so a ragged array still produces a clean rectangular sheet.

Nested objects are flattened with dot notation (customer.name becomes a column called customer.name), which keeps the meaning visible without inventing column names. Arrays inside an object are joined into a single cell rather than expanded into extra rows — expanding them would multiply the row count and lose the one-to-one mapping with the source records.

A top-level object that is not an array becomes a single row. That is the right behaviour for a config file or an API response describing one entity, and it is the case most converters get wrong by refusing to convert at all.

Types, nulls and very large values

Numbers stay numbers so they can be summed. Strings that look like numbers stay strings, which preserves leading zeros in postcodes and account numbers — and which is why a JSON export of numeric IDs sometimes arrives as text in one column and numbers in another.

null is written as an empty cell rather than the text «null». Writing the word would make COUNT and AVERAGE treat it as text and quietly exclude the row.

Integers longer than 15 digits lose precision the moment Excel stores them as numbers — that is a limit of the spreadsheet's floating-point format, not of the conversion. IDs, hashes and phone numbers with a leading plus should be forced to text.

How to use

  1. 1.Paste JSON or choose a .json file
  2. 2.Click Run
  3. 3.Download the generated .xlsx

How this compares

There are three ways to do this conversion: in the browser (this page), through a server-side converter, or with a desktop app. The useful difference is not speed — it is where your file goes and how far the free tier actually reaches.

AspectThis toolUpload-based converters
Where the file is processedIn your browser, on this pageOn the vendor's servers, after an upload
Account requiredNoUsually — free tiers ask you to sign in before lifting a limit
Size you can process for freeNo size cap, no run limitA few files per hour, or a ~5–10 MB cap before a paywall
PriceFree. Pro is $9/month, and only buys larger files and AI featuresUsually a subscription — roughly $7–15/month as of November 2026
Works offlineYes, once the page has loadedNo
Time before work starts on a 20 MB fileImmediate — there is nothing to uploadDominated by the upload — about 16 s on a 10 Mbps uplink
What it cannot preserveFormulas become their last computed value; merged cells and styles are droppedThe same — the conversion is the same maths

Server-side converters are genuinely better at some things: very large files, sharing results with a team, keeping a conversion history, and automating batches from a script. For the case in front of you — one file, one format change, right now — they mostly add an upload wait and a sign-up form.

Frequently asked questions

What JSON shapes are accepted?

An array of objects, an array of arrays (a ready-made table), or a single object. Nested values are stored as JSON text in one cell.

My objects have different keys — will columns break?

No. The union of all keys becomes the header row and anything missing is left empty, so rows never shift.

Is my data uploaded?

No. Both the JSON parsing and the .xlsx assembly happen inside this page.

What this kind of conversion cannot keep

Spreadsheet conversion is lossy by nature: a workbook carries formulas, styles, merged cells and multiple sheets, while CSV carries rows of text. This tool keeps values and order, recalculates nothing, and drops presentation on purpose. That is why it can run without a server — and why a converted file will not look like the original.

More in Spreadsheets & Docs