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.Choose your Excel file
- 2.Pick the worksheet and output shape
- 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.
| Aspect | This tool | Upload-based converters | Desktop software |
|---|---|---|---|
| Where the file is processed | In your browser, on this page | On the vendor's servers, after an upload | On your own machine, after installing an app |
| Account required | No | Usually — free tiers ask you to sign in before lifting a limit | No, though a licence may be needed |
| Size you can process for free | No size cap, no run limit | A few files per hour, or a ~5–10 MB cap before a paywall | Whatever your disk and RAM allow |
| Price | Free. Pro is $9/month, and only buys larger files and AI features | Usually a subscription — roughly $7–15/month as of November 2026 | A one-off licence, or a subscription |
| Works offline | Yes, once the page has loaded | No | Yes |
| Time before work starts on a 20 MB file | Immediate — there is nothing to upload | Dominated by the upload — about 16 s on a 10 Mbps uplink | Just the app launch |
| What it cannot preserve | Formulas become their last computed value; merged cells and styles are dropped | The same — the conversion is the same maths | The same, though some desktop apps re-render styles more faithfully |
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
On this page
- What is Excel to JSON
- What it does with your file
- How it actually behaves
- How to use it
- How this compares
- FAQ
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →