paste in · real .xlsx out

JSON to Excel Converter — types that survive the trip

Paste JSON and get a real .xlsx workbook. Numbers stay numbers, booleans stay booleans, and Excel opens it with the types already set. Assembled in your browser — no upload, no watermark.

Converter — Ready
Awaiting input
jq-style: .field .[] select(.f == "x")
idle — paste JSON and the sheet shows up here
0 rows 0 columns Excel output
runs entirely in your browser
nothing is uploaded, ever
no sign-up, no account
free — no paid tier, ever
The basics

What is a JSON to Excel converter?

A JSON to Excel converter produces a genuine Excel .xlsx workbook from JSON data. Not a renamed CSV, not an HTML table — a real Office Open XML file with typed cells that Excel, Numbers, LibreOffice Calc, Google Sheets, and every other spreadsheet application open natively.

That distinction matters more than it sounds. A CSV is a flat text format with no types: every cell is text, so a number, a date, and a currency amount all arrive as the same kind of value. The moment you sort by a numeric column, or sum it, or plot it, a CSV gives you text-handling surprises. An .xlsx file stores each cell with its actual type, so 249.5 is a number, true is a boolean, and Excel filters, sorts, and sums them correctly.

HopConvert builds the workbook in your browser. It writes a real .xlsx package — the OOXML parts Excel expects, assembled and zipped locally by JavaScript — with a bold, shaded header row, frozen so it stays visible while you scroll, and column widths sized to the content. Nested objects are flattened into columns like user__name, and arrays of objects expand into one row per element.

Nothing is uploaded, which matters for data that should not leave your machine. The file is assembled in a few milliseconds and downloaded straight from the browser.

Step by step

How to convert JSON to Excel in 4 steps

Most conversions take under a minute. No login, no upload to a server, no installation.

  1. Paste or upload

    Drop a .json file into the upload zone or paste a JSON array of objects into the box. A single object becomes a one-row sheet.

  2. Configure the sheet

    Open the settings cog to name the worksheet, toggle the frozen header row, and add a numbered index column if you want one.

  3. Preview

    A live preview shows the exact rows, columns, and file size that will be written — so you know before you download.

  4. Download

    Click Download .xlsx to save a real Excel workbook. It opens directly in Excel, Google Sheets, Numbers, or LibreOffice Calc.

Why HopConvert

Built for the JSON you actually want in a spreadsheet

A real workbook, not a CSV with a spreadsheet extension. Here is what that buys you.

A genuine .xlsx file

A real Office Open XML package — not a renamed CSV and not HTML. Excel, Numbers, LibreOffice, and Google Sheets all open it without a warning dialog.

Real cell types

Numbers are written as numbers, booleans as booleans, and text as text. Sort by a price column and it sorts numerically; sum it and it sums.

Browser-only privacy

Customer exports, internal reports, and API responses are assembled locally in JavaScript. Nothing is uploaded, logged, or stored.

Frozen header row

The header stays visible while you scroll, and it is bold on a light blue fill so the sheet is readable the moment it opens.

Auto-sized columns

Each column width is measured against its header and longest value, so nothing shows as #### and nothing is padded out needlessly.

jq-style filtering

Export only the rows you need with select(.active == true) before the workbook is built.

Comparison

JSON to Excel vs JSON to CSV

Both open in a spreadsheet. Only one of them keeps your data typed.

Aspect .xlsx workbook .csv file
File format Office Open XML (a ZIP package) Plain text
Cell types Number, boolean, text — preserved Every cell is text
Sorting a price column Numerically Alphabetically (1, 10, 2)
Column widths Auto-sized Not stored
Frozen header Yes No
Formatting Bold header, fills None
File size Larger Smaller
Best for Analysis, pivot tables, sharing Bulk loads, ingestion, simple data
Use cases

When teams reach for JSON to Excel

Whenever the person who needs the data works in a spreadsheet rather than a terminal.

Analyst hand-offs

Export a filtered API slice as a typed workbook an analyst can pivot without a data-engineering ticket.

Finance and ops reporting

Turn a JSON export from a billing system into a workbook where sums, totals, and charts just work.

QA and bug reproduction

Package the exact payload that failed into a workbook so the bug can be reproduced from the ticket alone.

Customer data exports

Give customers a spreadsheet of their own records — assembled locally, never uploaded to a server.

Survey and form results

Convert a form submission export into a workbook with real numbers in numeric columns.

Ad-hoc exploration

Get from "here is the API response" to "here is a pivot table" in under a minute.

The complete guide

JSON to Excel: the complete guide

Everything about turning JSON into a real Excel workbook — the .xlsx format, cell types, and why they matter.

Read the full JSON to Excel guide

Related tools: JSON to Excel guide · JSON to CSV

What is a .xlsx file, really?

An .xlsx workbook is a ZIP archive containing XML parts. When you unzip one, you find something like this:

[Content_Types].xml          describes what each part is
_rels/.rels                  links the package to the workbook
xl/workbook.xml              lists the sheets and their names
xl/_rels/workbook.xml.rels   links the workbook to its parts
xl/styles.xml                fonts, fills, borders, number formats
xl/worksheets/sheet1.xml     the actual cell data

That is the whole idea behind Office Open XML, the format Microsoft introduced with Excel 2007 and which every modern spreadsheet application now reads. Because it is XML rather than a proprietary binary blob, files are smaller, diffable, and — importantly — straightforward to generate.

HopConvert writes these parts directly in JavaScript, in your browser, and packages them with a small ZIP writer. There is no library download, no server round trip, and no file ever leaving your machine.

Why cell types matter more than you would expect

A CSV file is typeless. Every value is a string, and your spreadsheet application has to guess what each one means. When it guesses wrong, you get the classic problems:

ValueIn a CSVIn an .xlsx
249.50Text — sorts as "249.50" between "2" and "30"Number — sorts and sums correctly
trueText — never matches a TRUE filterBoolean — filters and pivots correctly
007Text, but Excel may auto-convert it to 7Text — stays exactly as written
1e3TextNumber — 1000
Long textTextText

HopConvert writes each cell with the type it actually has in the JSON: numbers as numeric cells, booleans as boolean cells, and everything else as inline strings. That is why the workbook you download sorts correctly straight away.

JSON to Excel or JSON to CSV?

Use the workbook when a person will open the file and work with it. Use CSV when a machine will read it.

  • Workbook (.xlsx): types, formatting, column widths, frozen headers. Bigger files, but this is what you send to a human.
  • CSV: tiny, universal, trivially streamed. This is what you load into Postgres, BigQuery, or a pipeline — and what the JSON to CSV converter is for.

A practical rule: if the next step is a spreadsheet, use the workbook. If the next step is a database or a script, use CSV.

How is the column set decided?

Every record is read, and the column list is the union of all keys, in order of first appearance. Records missing a key get an empty cell. The result always has the same number of columns, which is what a worksheet needs.

Each column is also auto-sized: the width is measured from the header and the longest value in that column, then clamped between 10 and 46 characters. This stops numeric columns from showing as ####### and stops text columns from being padded out to an arbitrary width.

How is nested data handled?

A worksheet is flat, so nested objects are flattened into column names joined by __ — {"user": {"name": "Alice"}} becomes the column user__name. Arrays of objects expand into one row per element with the parent fields repeated, which is exactly the header/detail layout pivot tables expect.

If you need genuine nesting, Excel supports it natively through JSON-typed columns in modern versions — but that is a manual step. For automatic conversion, flattening is the practical choice.

What are the practical limits?

Because the workbook is built in memory in your browser, the ceiling is your tab's available memory rather than a server limit. In practice:

  • Up to about 50,000 rows — instant, and the file stays a sensible size.
  • 100,000 to 500,000 rows — works, but expect a few seconds and a noticeably larger file.
  • Beyond that — use CSV, which streams and compresses far better, or split the data.

There is no enforced limit and no upload, so nothing fails with a "file too large" error. The browser simply runs out of room first, and you get a clear message instead of a broken download.

Common edge cases

  • Top-level object instead of an array: becomes a one-row sheet.
  • Top-level array of scalars: becomes a single column named value.
  • Empty strings and nulls: written as empty cells, so Excel shows them as blank rather than the word "null".
  • Unicode, emoji, and RTL text: written as UTF-8 and render correctly.
  • Values containing newlines: preserved inside the cell, because XML escaping handles them properly.
  • Sheet name restrictions: Excel forbids \ / ? * [ ] : and caps names at 31 characters. HopConvert sanitises the name for you.
  • Numbers beyond 2^53-1: JSON.parse loses precision on very large integers. Keep 64-bit IDs as strings in the source JSON.
Tools for this job

The same job, the way you need it

Free tools for the specific version of this conversion you are actually doing.

JSON to CSV for Excel

Need a plain .csv instead of a workbook? Here are the encoding and delimiter details that matter.

JSON to CSV without uploading

Convert sensitive payloads in your browser, with a request log you can check.

FAQ

Frequently asked questions

Everything you need to know about converting JSON into a real Excel workbook.

What is a JSON to Excel converter?
A JSON to Excel converter builds a genuine Office Open XML (.xlsx) workbook from JSON data. Unlike renaming a CSV to .xls, the file contains typed cells, real column widths, and a styled header row, so it opens natively in Excel, Numbers, LibreOffice Calc, and Google Sheets.
Is the .xlsx file a real Excel file?
Yes. The workbook is assembled in your browser as an OOXML package — the same ZIP-and-XML structure Excel itself writes — and downloaded as a genuine .xlsx file. It is not a CSV with a different extension.
Do numbers stay numbers?
Yes. Numeric values are written as numeric cells, booleans as boolean cells, and everything else as text. That is why sorting by a price column sorts numerically instead of alphabetically.
Is HopConvert free to use?
Yes — 100% free with no sign-up, no watermark, and no premium tier. There are no server costs to pass on because the workbook is generated locally.
Is my JSON uploaded anywhere?
No. The workbook is assembled entirely in your browser with JavaScript. There is no backend that could receive your file, and the "Verify: nothing uploaded" button shows a live audit of every network request the page makes.
How many rows can it handle?
There is no hard limit — the constraint is your browser tab's memory. Up to about 50,000 rows is instant; beyond 500,000 rows you are better served by CSV, which is far more compact and streams better.
How is nested JSON handled?
Nested objects are flattened into column names joined by __, so {"user": {"name": "Alice"}} becomes the column user__name. Arrays of objects expand into one row per element with parent fields repeated.
Should I use CSV instead?
Use the workbook when a person will open and work with the file. Use CSV when a machine will read it — database bulk loads, pipelines, and scripts all prefer CSV because it is smaller and universally parseable.
Does it work in Google Sheets?
Yes. Download the .xlsx and upload it via File, then Import, then Upload, then Replace spreadsheet. Or use the JSON to CSV converter and import the CSV directly, which is usually simpler in Sheets.

Build the Excel workbook

Free, instant, and private — your JSON never leaves this tab.

Start Converting Read the FAQ