Excel to JSON Converter

Convert an Excel spreadsheet to JSON in your browser — each row becomes an object keyed by the header. Your file is read locally and never uploaded.

Document Tools Free No upload Instant

Loading Excel to JSON Converter…

Your browser is preparing the tool. It runs 100% locally.

Quick Answer

Drop an .xlsx or .xls file and the tool reads the first sheet and returns a JSON array — one object per row, with the keys taken from the header row. So a sheet of name, age and city becomes a list of objects with those properties. It converts the first worksheet only, and the file is read entirely in your browser, so nothing is uploaded.

What the Excel to JSON Converter Does

This tool takes a spreadsheet and produces JSON that mirrors its rows. The first row is treated as the header, and every row beneath it becomes an object whose property names are those headers, ready to paste into code or an API.

It is the quick way to get tabular data out of Excel and into a format your application can consume, without writing an import script or installing anything.

How It Works

When you drop a file, the tool loads a spreadsheet library in your browser, reads the workbook from the file's bytes, and takes the first worksheet. It maps the header row to keys and each data row to an object, then outputs the whole thing as nicely indented JSON.

Everything happens locally. The spreadsheet is parsed in the page using the file you provide, so the data never leaves your device — there is no upload step and no server involved.

Data source & conversion logic

  1. Read the workbook. Parse the dropped .xlsx or .xls file in your browser with a spreadsheet library.
  2. Take the first sheet. Select the first worksheet from the workbook to convert.
  3. Map headers to keys. Use the first row as the property names for each row object.
  4. Output JSON. Turn every data row into an object and return the array as indented JSON.

Row to object mapping

first row → the keys (property names) each later row → one object { key: cell, … } the first worksheet only
Worked example
sheet name, age, city + row Alice, 30, Paris → [ {"name": "Alice", "age": 30, "city": "Paris"} ]

The header row becomes the keys. Only the first sheet is converted, and cells are read as their computed values — a formula returns its result, not the formula text.

Privacy

Your spreadsheet never leaves your device. It is read and converted in your browser with no network request, so nothing is uploaded.

Because the work is local, you can convert spreadsheets containing private or business data without it being stored or sent anywhere.

Nothing persists between sessions — close the tab and the file and its JSON are gone.

Standards & references

  • Office Open XML (.xlsx) — The modern Excel file format, an open standard (ECMA-376). The tool reads it, and the older .xls binary format, with a spreadsheet library in the browser.
  • Header row as keys — The first row supplies the property names for each row object. If two headers are the same, the library disambiguates them, and a sheet without a header row produces awkward keys.
  • First worksheet only — A workbook can hold many sheets, but this tool converts the first one. For other sheets, a sheet splitter or selecting the sheet in Excel first is needed.

Accuracy & Limitations

For a clean sheet with a header row and simple values, the JSON is an exact, faithful representation of the data — each row an object keyed by the headers, ready to use.

It converts the first worksheet only. A multi-sheet workbook yields just the first sheet's data, so move or copy the sheet you want to the front, or split the workbook first, if it is not sheet one.

Cells are read as computed values. A formula comes through as its result rather than the formula text, and numeric or date formatting is read as the underlying value, so a formatted date may appear as a serial number unless it was stored as text.

Empty cells may be omitted from a row's object rather than included as empty, and merged cells or complex layouts do not map neatly to flat rows. It works best on a plain, tabular sheet.

Real-World Use Cases

Importing spreadsheet data

Turn an Excel sheet into JSON your app can read.

Seeding a database

Convert tabular data to objects for an import script.

Feeding an API

Produce a JSON array from a spreadsheet for a request body.

Inspecting data

See a sheet's rows as structured JSON objects.

When to use it — and when not to

Good for

  • Converting a tabular Excel sheet to JSON
  • Getting rows as header-keyed objects
  • Preparing data for an app or API
  • Keeping the file private (local conversion)

Not the best choice for

  • Multi-sheet workbooks (first sheet only)
  • Preserving formulas as text
  • Merged cells or complex layouts
  • Exact date and number formatting

For another sheet, split the workbook or move the sheet to the front first. To keep formula text or exact formatting, handle it in Excel before converting. For the reverse direction, use a JSON-to-Excel converter.

Frequently Asked Questions

How are the JSON keys chosen?
From the first row of the sheet, which is treated as the header. Each row below becomes an object whose property names are those headers, so a clean header row gives clean keys.
Does it convert every sheet in the file?
No, only the first worksheet. If the data you want is on another sheet, move it to the front in Excel, or use a sheet splitter, before converting.
What happens to formulas?
They are read as their computed values, not the formula text. So a cell with a sum comes through as the resulting number, which is usually what you want for data import.
Why does a date come out as a number?
Excel stores dates as serial numbers, and the tool reads the underlying value. If you need the date as text, format it as text in Excel first, or convert the serial number in your code.
Is my spreadsheet uploaded?
No. It is read and converted entirely in your browser. Nothing is sent to a server, so private or business data stays on your device.
What if my sheet has no header row?
The first row is still used as the keys, which would produce awkward property names from the data. Add a header row first for clean, meaningful keys.
What happens to duplicate headers?
The library disambiguates repeated header names, typically by appending a number, so each key in the resulting objects is unique even if two columns share a name.
Are empty cells included?
Often an empty cell is left out of that row's object rather than included as an empty value. Check the output if you rely on every key being present in every object.
Can it handle .xls as well as .xlsx?
Yes. The library reads both the modern .xlsx format and the older .xls binary format, so either will convert.
How big a file can it convert?
It works within your browser's memory. Typical spreadsheets convert instantly; very large files may be slower since the whole workbook is parsed in the page.
Does it keep cell formatting or colours?
No. JSON holds data, not presentation, so cell colours, fonts and styles are not represented. Only the values become part of the JSON.
What is the output format exactly?
An array of objects, indented for readability, where each object is one row keyed by the headers. You can paste it straight into code or a request body.

References

Reads the first worksheet with the SheetJS library and turns each row into a JSON object keyed by the header row; honest that it converts the first sheet only and reads computed values.

Popular

CSV to JSON Converter

CSV to JSON Converter online: fast, private and free for everyday document work.

DocumentOpen Tool
Popular

JSON to CSV Converter

Convert with JSON to CSV Converter, preserving structure and data, with zero uploads.

DocumentOpen Tool
Trending

Markdown to HTML

Markdown to HTML in seconds — accurate, free and processed locally in your browser.

DocumentOpen Tool

CSV to Excel Converter

Convert with CSV to Excel Converter, preserving structure and data, with zero uploads.

DocumentOpen Tool

Excel to CSV Converter

Excel to CSV Converter online: fast, private and free for everyday document work.

DocumentOpen Tool

JSON to Excel Converter

Convert with JSON to Excel Converter, preserving structure and data, with zero uploads.

DocumentOpen Tool

Ready to try the Excel to JSON Converter?

It is free, private and runs entirely in your browser — no sign-up, no uploads, no limits.