LocalExcelTool
Get started

Excel to JSON

Convert a worksheet to JSON — an array of objects keyed by the first row, or raw row arrays. No upload.

What is Excel to JSON

Excel to JSON conversion treats the first row as column names and every following row as one record. An array of objects ([{ "name": "..." }]) drops straight into an API or a frontend; an array of arrays ([[...]]) preserves order and duplicates. If the header row contains blanks or duplicates, the output automatically falls back to row arrays so no column is silently lost.

🔒 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

The shape of the output

Each worksheet becomes a key in a single JSON object, and each sheet is an array of row objects keyed by the header row. That structure keeps multi-sheet workbooks intact — the thing CSV cannot do — and maps directly onto what an API or a database import expects.

Empty cells are omitted rather than written as null, so a sparse sheet produces compact objects instead of a wall of nulls. If your consumer needs every key present, fill the blanks in Excel first; deciding «missing» versus «null» is a data-modelling decision the converter should not make for you.

Numbers stay numbers, booleans stored as TRUE/FALSE stay booleans, and everything else is a string. Dates are the exception: they are written as the ISO date string when the cell is a real date, and as the original text when the cell was text all along.

Duplicate headers and other ways JSON breaks

Two columns with the same header collapse into one key, and the last one wins. That is a property of JSON objects, not a bug, but it silently loses a column. Rename duplicates in Excel before converting.

Headers containing spaces or punctuation produce keys that are awkward to use in code. They are kept verbatim rather than silently snake_cased, because renaming a field behind the user's back is worse than an ugly key — you can always transform the JSON afterwards.

An empty header cell becomes an empty key. Fill headers before converting; a row of unnamed columns produces objects that are impossible to reference. Two columns with the same header collapse into one key, and the second silently overwrites the first.

How to use

  1. 1.Choose your Excel file
  2. 2.Pick the worksheet and output shape
  3. 3.Run it, then copy the JSON

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

Objects or arrays — which should I pick?

Objects use the first row as keys: readable and ready for an API payload. Arrays keep the raw grid with no keys. If the header has blanks or duplicate names the converter switches to arrays automatically, because duplicate keys would drop columns.

Are cell types preserved?

Numbers stay numbers and text stays text in the JSON. Dates may surface as Excel serial numbers, so convert them in your application if you need ISO dates.

Does it handle large sheets?

Up to 30 MB. A few thousand rows are fine; hundreds of thousands will hit browser memory and clipboard limits, in which case convert to CSV instead.

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