Convert Excel to JSON

“convert excel to json” comes up constantly, so this page leads with the exact answer, gives you a tool to try it on your own numbers, and only then explains the detail. Everything works in Excel on Windows and Mac and maps almost one-to-one to Google Sheets. Copy the answer above and get back to work, or read on to turn a one-off fix into something you never have to look up again.

Exact answer

In Excel: convert a worksheet to JSON by exporting the range with headers and mapping each data row to one object whose keys are the header cells — or use Power Query (Data ▸ Get Data ▸ From File ▸ From JSON) for the reverse direction.

ƒxExcel to JSON ConverterLive
JSON output
2

2 records

Runs entirely in your browser — your data never leaves this page.
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

JSON stores records as objects with named fields, while a worksheet stores them as rows under header cells. Converting between the two means deciding which row holds the field names and how empty cells should appear (empty string vs. missing key). Excel itself has no one-click "save as JSON"; Power Query imports JSON, but exporting requires a tool or script. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. For “convert excel to json”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a data step that keeps your analysis trustworthy useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

A sheet has headers name and qty in row 1, with Bolt M8 / 42 in row 2 and Nut M8 / 120 in row 3. Converted with the first row as headers, the output is [{"name":"Bolt M8","qty":"42"},{"name":"Nut M8","qty":"120"}] — two records, keys taken from row 1. APIs, config files, and most web tooling speak JSON. Converting a worksheet to JSON lets spreadsheet data feed scripts and apps without manual re-typing. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.

In Google Sheets

If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. If you take one thing from this page on “convert excel to json”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.

Common mistakes

  • Merged header cells, which leave some columns without a key.
  • Expecting Excel's Save As dialog to offer JSON — it does not; you need a converter or script.
  • Forgetting that all cell values arrive as text; cast numbers in the consuming code.
  • Using a sheet where the real headers start in row 3 — move them to row 1 first.

Frequently asked questions

Can Excel save a file as JSON directly?

No. Save As has no JSON option. Use a converter like the one above, Power Automate, or a script (Office Scripts, Python).

How do I open a JSON file in Excel?

Data ▸ Get Data ▸ From File ▸ From JSON, then expand the records into columns in Power Query and Close & Load.

Does the converter upload my spreadsheet?

No. The conversion runs entirely in your browser; the file never leaves your machine.

Other ways people ask this

This is also commonly searched as “convert excel into json”, “converter excel to json”, “can i convert excel to json” and “convert excel to json online”. They describe the identical operation, so you are in the right place no matter how you phrased it.

Platform & version notes

  • Some variants pin a specific edition (the web version). The method above is stable across recent Excel releases — older versions only differ in where a ribbon icon sits, not in what the steps achieve.

Does this still work in older versions?

It does. The approach has been stable across recent Excel releases; only the ribbon icons have shifted cosmetically, so the steps above still apply.

Why do people search for this in so many different ways?

Because the same task has many names. “convert excel into json”, “converter excel to json”, “can i convert excel to json” all point at the one operation explained on this page, which is why they all lead here.