Excel to JSON converter
Turn an Excel sheet into JSON. Pick the sheet, keep the dates readable, and your workbook never leaves your browser.
Drop an Excel or CSV file here
CSV, TSV or .xlsx, up to 100 MB. It stays on your computer.
- No sign-up
- Nothing uploaded
- Any sheet in the workbook
Your sheet as JSON, dates and all.
Your workbook stays on your computer
The .xlsx is opened in your browser. Nothing is sent to Mammoth or anyone else.
Any sheet, not only the first
A workbook with several tabs gets a Sheet menu, so you can convert Orders, then Returns, without opening Excel.
Dates you can read
A date cell becomes 2026-11-01, not the 46327 Excel stores. Numbers and TRUE/FALSE keep their types.
How to convert Excel to JSON
The first row of the sheet gives the keys and each row below it becomes one object.
- 1
Add your workbook
Drop an .xlsx file on the box or choose one. CSV works too.
- 2
Pick the sheet
Switch sheets from the menu, and choose an array or JSON Lines.
- 3
Download or copy
Save the .json file, or copy it into your code.
Other ways to do it
Excel has no Save as JSON. These are the usual ways round it.
Python with pandas
A job you script once
- Readable datesYes
- Pick any sheetYes
- No code or installNo
- Runs on a scheduleYes
Office Scripts in Excel
Excel for the web users
- Readable datesYes
- Pick any sheetYes
- No code or installNo
- Runs on a scheduleYes
- This page
This converter
One-off files, no setup
- Readable datesYes
- Pick any sheetYes
- No code or installYes
- Runs on a scheduleNo
How to convert Excel to JSON without a converter
Excel can't save a sheet as JSON. In Excel for the web, an Office Script can write a table out as JSON; Microsoft publishes a sample. In Python, pandas reads the workbook and writes JSON in two lines.
In Excel for the web, with Office Scripts:
- 1
Format the data as a table (Insert > Table).
- 2
Open the Automate tab and choose New Script.
- 3
Paste Microsoft's “Output Excel data as JSON” sample and run it. The JSON appears in the script's output.
Only need a CSV? The CSV to JSON converter takes the same steps for .csv files.
import pandas as pd
df = pd.read_excel("orders.xlsx", sheet_name="Orders")
df.to_json("orders.json", orient="records", date_format="iso", indent=2)read_excel needs the openpyxl package installed. date_format="iso" writes dates as text instead of milliseconds.
Your file stays private
The converter runs inside this page. Your workbook is opened and written out as JSON on your computer, and nothing is sent to Mammoth. That makes it safe for sheets with customer or salary data in them.
Once the page has loaded, it works with your internet switched off.
Getting the same workbook every month?
Mammoth can take it from there. Put each month's workbook in a folder and the rows are added to one table, ready to download as JSON.
Monthly workbooks
| September | Sep 30 | North | 41,200.00 | |
| September | Sep 30 | South | 38,755.50 | |
| October | Oct 31 | North | 43,880.10 | |
| October | Oct 31 | South | 37,020.00 | |
| November | Nov 30 | North | 45,115.75 |
Illustration. Every new file in the folder is added to the same table.