Excel to JSON ConverterExcel to JSON

No workbook open

Drop an .xlsx, .xlsm or .xls file here

Drop an .xlsx, .xlsm or .xls here, or press Sample to watch a two-tab workbook turn into JSON without leaving your machine.

No JSON yet

Open a workbook on the left and the selected sheet appears here as JSON.

The file is read in this tab. Nothing is uploaded, so a customer list stays a customer list.
Success
Warning

What happens to a spreadsheet on the way to JSON

A worksheet already looks like the thing you want: a header row, then records. Most of converting it is mechanical: read the cells, key each row by its column name, write it out. The interesting part is what a cell actually contains, because that is rarely what it appears to show.

Dates are the clearest example. Excel does not store a date; it stores a number counting days from an epoch, and applies a display format on top. Read that cell naively and you get 46243. Read the displayed text instead and you get 8/9/26, which is either August 9th or September 8th depending on whose machine opened it. This page reads the underlying value and writes ISO 8601, 2026-08-09T12:34:56.000Z, which means one thing everywhere.

Long identifiers are the harder problem, and this is where being honest matters more than sounding capable. A cell stored as text comes through byte-for-byte: 8901240544102066246 stays exactly that, and 007 keeps its zeros. A cell stored as a number is a different story. Excel shows and stores at most 15 significant digits for a number, so a 19-digit account number lost its last four digits before the file was ever written, and reading it in JavaScript, where every number is an IEEE-754 double, cannot bring it back.

So this page does the one useful thing available: it counts those cells and tells you. Most converters hand you 8901240544102066000 with no indication anything happened, and you find out weeks later when a lookup fails. A warning is not as good as a guarantee, but it beats a silent wrong answer, and once you know, the fix upstream is simple.

Converting a workbook

  1. Choose or drop your file – .xlsx, .xlsm and .xls are accepted, either dropped on the left pane or picked with Upload. The bytes are parsed right here in the tab, so a payroll export never travels anywhere. No file handy? Sample builds a genuine .xlsx in memory (SIM subscriber records on one sheet, radio cell readings on another) and hands it to the reader just like an upload.
  2. Pick the sheet – The Sheet dropdown lists each tab by name. JSON is produced for the one you select, and switching tabs rebuilds the output from the workbook already in memory rather than reading the file again.
  3. Say whether the first row is a header – On gives you an array of objects keyed by column name. Off gives you an array of arrays, which is what you want when the sheet starts straight into data or the header is merged across cells.
  4. Check the warning if one appears – If a numeric cell held more than 15 significant digits, an amber box lists its address, for example C4: up to four cells, then a count of the rest. Those values are already in the JSON as rounded numbers, so treat them as suspect.
  5. Copy or download – Two-space indented JSON. From here JSON to Table and the rest of the site are one click away.

Give an ID column the Text format before its first value goes in, or type each ID with a leading apostrophe. Switching a column that already holds numbers to Text afterwards only changes how the rounded value is displayed; the cell is still a number underneath, which is why this page keeps flagging it.

Four columns, four different outcomes

The first two hold identical digits. The only difference is that one cell was formatted as Text and the other as a number, and that difference decides whether the value survives.

subscribers.xlsx → subscribers.json Text survives, numbers may not
subscribers.xlsxSheet 1 · mixed cell formats
iccid_texticcid_numpostcodeactivated
8901240544102066246890124054410206624600709/08/2026

Column 1 formatted as Text · column 2 as a number

subscribers.jsonISO dates · text kept exactly
[
  {
    "iccid_text": "8901240544102066246",
    "iccid_num": 8901240544102066000,
    "postcode": "007",
    "activated": "2026-08-09T00:00:00.000Z"
  }
]
// iccid_num flagged: digits lost before the file was saved

When you would use this

Loading a spreadsheet into an API or database

Somebody maintains the source of truth in Excel and the system that needs it speaks JSON. This is the single most common reason people convert, and the precision warning matters most here, because a mangled identifier will not fail loudly: it will just quietly match the wrong record.

Turning a hand-maintained sheet into fixtures

A worksheet is a pleasant way to write test data and an unpleasant way to store it. Convert once, commit the JSON, and the tests stop depending on a binary file nobody can diff.

Auditing what a workbook really holds

Formatting hides a lot. Converting to JSON strips the presentation away and shows the values underneath, which is often the fastest way to find out why two columns that look identical do not compare equal.

Getting out of a binary format

An .xlsx is a zip full of XML: you cannot diff it, grep it, or review it in a pull request. JSON, or CSV, gives you something a text tool can work with.

What this converter does carefully

  • Text cells are passed through byte-for-byte. Leading zeros, long ICCIDs and account numbers stored as text arrive exactly as typed.
  • Dates become ISO 8601, not serial numbers or locale strings. No guessing whether 8/9/26 is August or September.
  • Lossy numeric cells are counted and named. This is the honest limit of what a converter can do about a spreadsheet, and it is more than the alternatives offer.
  • Displayed text is never used as the value. Excel would render that same 19-digit cell as 8.90124E+18, six significant figures, and plenty of converters take it at face value.
  • Every sheet in the workbook is available, and only the one you pick is read.
  • Blank cells stay blank rather than collapsing the grid, so a row keeps its shape.
  • Nothing is uploaded. No server sees the file.

Questions people actually ask

Why is my ID wrong by a few digits?

Your ID went in as a number. Excel rounds anything past 15 significant digits on entry, so a 19-digit ICCID was saved with its last few digits turned into zeros long before this page saw it. The amber box names the affected cells. The real fix is upstream: give the column a Text format, re-enter or re-import the IDs, then convert again.

Can you not just read the raw digits out of the file?

For a file Excel wrote, there are no extra digits left in it to read. A file produced by another tool sometimes does hold them, but the underlying spreadsheet library parses that value into a JavaScript number before we ever see it: verified rather than assumed. Rather than promise a fix that works only occasionally, this page reports the loss.

Why is my date a long ISO string instead of what the cell showed?

Because what the cell showed depends on the regional settings of whoever opened it. ISO 8601 is unambiguous and sorts correctly as text, which is what you want in JSON. If you need a friendlier format, do the formatting where the data is displayed, not where it is stored.

What happens to formulas?

Formulas are not re-run. The converter takes the cached result Excel wrote next to each formula, so =SUM(B2:B9) becomes whatever total was on screen when the file was last saved. If someone switched the workbook to manual recalculation, that cached total may be stale, so press F9 and save before converting figures you will rely on.

Does it handle .xls as well as .xlsx?

Yes. .xlsx and .xlsm are zipped XML packages described by ECMA-376, and .xls is the binary format Excel used up to 2003. All three go through the same reader, so the JSON has the same shape whichever one you drop in.

My sheet has merged header cells and the columns look wrong.

Merged cells report their value once, in the top-left cell of the merge, and empty everywhere else, so a merged header produces one named column and several blank ones. Turn off the header option to get plain arrays, or unmerge the header row in the source.

Related tools

Worth reading