Kadben

Convert Excel to JSON

Choose a workbook to turn one of its sheets into a JSON array: the header row gives the keys, and every row below becomes an object.

Runs in your browser. Nothing is uploaded.

Excel to JSON

Input
Drop a file here
Options

The result appears here.

How to use it

  1. Choose an .xlsx, .xlsm, .xlsb, .xls or .ods file, or drop it on the box.
  2. If the workbook has several sheets, choose one in the “Sheet” list.
  3. Turn off “First row is a header” to get arrays instead of objects, or turn on “Nest dotted headers” for nested JSON.
  4. Download the .json file or copy the result.

Rules and limits

How the workbook is read

Dotted headers back to nesting

Questions and answers

What does the JSON look like?

An array with one object per row, with the keys from the header row. Without a header row, you get an array of arrays.

Why is a date a plain number or a string in the JSON?

A date typed as text stays as typed, and a date without a date format in Excel is just a number. Give the column a date format in Excel and convert again.

Why are some numbers strings in the JSON?

Because the cell stores the number as text (Excel marks such cells with a green triangle). The JSON keeps it as a string, so leading zeros such as in 01067 are not lost.

Why is a formula result missing or out of date?

The page uses the value Excel saved with the file and does not recalculate. Open the file in Excel, let it recalculate, save it and convert again.

Related tools