🔒 100% private — runs in your browser, nothing is uploaded

Excel to JSON Converter

Convert .xlsx, .xls or .csv sheets to JSON locally — pick a sheet, toggle the header row, copy or download the JSON.

The conversion has two distinct steps, and keeping them separate is what makes the output predictable. First SheetJS (the Community Edition, Apache-2.0, self-hosted on this site) reads the workbook and turns the chosen sheet into rows of cell values — an array of arrays, exactly as the cells sit. Then a small pure conversion core maps those rows to JSON: with the header toggle on, the first row becomes the keys and each later row becomes one object, so a sheet with headers Name, Age and rows Ada, 36 and Bo, 28 converts to [{"Name": "Ada", "Age": 36}, {"Name": "Bo", "Age": 28}] — note the ages stay numbers, because SheetJS hands over typed cell values and the core never stringifies them. With the toggle off you get the array of arrays back untouched, headers included as the first row.

Everything runs in your browser; your file is never uploaded, your data stays on your device, is never uploaded, never stored and never put into a link. The spreadsheet is parsed locally with SheetJS (Apache-2.0), loaded from this site’s own static files — no online converter is involved.

Quick answers

How do I convert an Excel file to JSON?

Open the .xlsx, .xls or .csv file on this page, pick the sheet, and copy or download the JSON. With the header toggle on, a sheet headed Name, Age with rows Ada, 36 and Bo, 28 becomes [{"Name": "Ada", "Age": 36}, {"Name": "Bo", "Age": 28}].

Parsing is local (SheetJS, self-hosted) and cell types are preserved — numbers do not come back as strings.

What does the header toggle change?

On: the first row supplies the object keys and the output is an array of objects. Off: the output is the sheet as an array of arrays, first row included, with no keys invented.

Blank header cells are named Column N and duplicate headers get a (2) suffix, so no column is ever lost to an empty or repeated key.

How to use

  1. Open an .xlsx, .xls or .csv file from your device — it is parsed locally with SheetJS, loaded from this site’s own static files.
  2. If the workbook has several sheets, pick the one you want from the Sheet dropdown.
  3. Leave “first row is a header” on to get an array of objects keyed by the header names, or turn it off for a plain array of arrays.
  4. Copy the JSON or download it as a .json file. If the parser library cannot load, the page says so plainly instead of failing silently.

About this tool

Edge cases are handled the way a developer would want: a cell missing from a short row becomes an empty string under its header rather than shifting later values into the wrong keys, a blank header cell is named “Column N” so no key is ever empty, and a duplicated header name gains a “ (2)” suffix so the second column cannot silently overwrite the first. Dates and formulas arrive as SheetJS resolves them (formulas as their cached results), and merged cells fill only their top-left cell — check the JSON against the sheet for those. Nothing is uploaded: the file is read in the browser, which is also why very large workbooks are bounded by your device’s memory rather than a server limit.

Frequently asked questions

Is my spreadsheet uploaded to a server?

No. The file is read by your browser and parsed locally by SheetJS, which this site serves from its own static files. Nothing about the file — not its name, not its contents — is sent anywhere, and the JSON is generated on your device.

What JSON shape do I get?

With the header toggle on (the default): an array of objects, one per data row, keyed by the header row — [{"Name": "Ada", "Age": 36}]. With it off: an array of arrays mirroring the sheet grid, including the first row. Cell types are preserved: numbers stay numbers, text stays text.

Which file formats are supported?

Excel .xlsx and .xls workbooks and .csv files — anything the SheetJS Community Edition can read. Multi-sheet workbooks are supported through the Sheet dropdown; only the selected sheet is converted at a time.

What if the converter says the library did not load?

That message means the XLSX global from /static/xlsx.full.min.js was unavailable when you picked a file — usually a blocked or interrupted static download. The page refuses to guess rather than producing wrong JSON; reload and try again, and if it persists, the file itself was never read.

📦 Embed this tool on your site

<iframe src="https://verystep.com/embed/excel-to-json-converter/" title="Excel to JSON Converter" width="100%" height="520" loading="lazy" style="border:0"></iframe>

Free to use. The embed shows a small "Powered by Verystep" link.

First time embedding? Read the step-by-step guide →

More free tools