How to Convert Excel to JSON
Published November 2026 · 6 min read

You have a neat table in Excel or Google Sheets: products, contacts, prices, a list of locations. Now a website, an app or a developer needs that same data as JSON. There is no single button for this in a spreadsheet, but the route is short: export the table as a CSV file, then convert the CSV to JSON.
This guide walks through both steps and points out the few things that most often go wrong, so the result is correct the first time.
First, what are you converting to?
JSON is a text format that stores data as named fields. A spreadsheet row such as Anna, 34, Berlin becomes a record with labels attached to each value. Programs and websites like it because every value is clearly named. If you want a deeper comparison, see our practical guide to CSV and JSON.
Here is what a small table looks like after conversion:
name,city,price
Anna,Berlin,12.50
Ben,Paris,9becomes
[
{ "name": "Anna", "city": "Berlin", "price": "12.50" },
{ "name": "Ben", "city": "Paris", "price": "9" }
]Each row turns into one record, and the headings in your first row become the field names.
Step 1: Prepare your spreadsheet
- Put headings in the first row. They become the field names, so keep them short and consistent, such as name and city.
- Keep it to one flat table. Remove merged cells, blank rows, totals and notes above or below the data.
- Use one sheet. A CSV file holds a single sheet, so only the sheet you have open is exported.
Step 2: Save the table as CSV
In Excel: choose File → Save As, then in the file type list pick CSV UTF-8 (Comma delimited) (*.csv). The UTF-8 version keeps accents and non-English characters intact.
In Google Sheets: choose File → Download → Comma-separated values (.csv).
Step 3: Convert the CSV to JSON
- Open the CSV to JSON converter.
- Choose your CSV file, or paste its contents into the text box.
- Click Convert now.
- Copy the JSON or download it as a file.
The conversion happens in your browser, so your spreadsheet is not uploaded anywhere. That is helpful when the table contains customer names, prices or other business information.
Common problems and how to fix them
Everything ends up in one column. In some regions, Excel separates columns with semicolons instead of commas, and the converter expects commas. Open the CSV in a plain text editor to check. If you see semicolons, export again from Google Sheets, which always uses commas, or change the list separator in your computer's regional settings.
Numbers appear in quotation marks. The converter keeps every value as text exactly as it appears in the file, so 12.50 becomes "12.50". This is deliberate. It stops leading zeros in codes such as 00123 from being lost. If the program using the JSON needs real numbers, it can convert those fields when it reads them.
Accents look wrong. This usually means the file was saved without UTF-8. Save again using the CSV UTF-8 option.
A row looks shifted. Values that contain commas must be wrapped in quotation marks in the CSV. Excel and Sheets do this for you when exporting, but hand-edited files sometimes miss it.
You get an error about the header row. The file needs a heading row and at least one row of data below it.
Going back from JSON to a spreadsheet
If you later need to open JSON data in Excel, the JSON to CSV converter does the reverse. It works best when the JSON is a list of similar records. Nested data, such as a list inside a record, does not fit neatly into columns and may need tidying first.
A quick checklist
- Headings in row one, one clean table, one sheet.
- Saved as CSV UTF-8 (Comma delimited).
- Commas, not semicolons, between columns.
- Scan the JSON once before you use it: spot-check the first and last records.
Got a CSV file ready?
Convert it to JSON now → Free, private, and no account needed.