Excel to JSON Converter

Need the reverse conversion?
JSON to Excel Converter

Excel Spreadsheet Input

No data

Import JSON to preview it as a spreadsheet.

0 rows × 0 columns
Memory: 0 B
Showing 0 of 0

JSON Output

Settings

Excel Import Options

Import an Excel file to convert to JSON

Supports .xlsx, .xlsm, and .xls files

How to convert Excel to JSON online – step-by-step guide

Use this online Excel to JSON converter to transform spreadsheets into JSON arrays or objects for APIs, databases, and web applications.

  1. Step 1 – Upload your Excel file

    • Upload an .xlsx, .xlsm, or .xls file.
    • A spreadsheet preview appears on the left for the selected sheet.
    • For CSV files, use a CSV-to-JSON tool or convert to Excel format first.
  2. Step 2 – Configure conversion options

    • Select the worksheet to convert (for multi-sheet workbooks).
    • Enable First row contains headers to use the first row as JSON keys.
    • Optionally specify a range (e.g., A1:D100) to convert only part of the sheet.
  3. Step 3 – Review the JSON output

    • When headers are enabled, JSON is an array of objects (one per row).
    • Each row becomes a JSON object with column headers as keys and cell values as values.
    • Check that dates, numbers, and text are correctly formatted in the JSON output.
  4. Step 4 – Copy or download JSON

    • Use Copy to send the JSON array to your clipboard.
    • Use Download to save as a .json file.
    • Import the JSON into databases, send it to APIs, or use it in frontend applications.

Quick tips for Excel to JSON

  • Keep one header row at the top so each JSON object gets consistent keys.
  • Dates and numbers are read as they appear in Excel; double-check them before sending to APIs.
  • For very large sheets, convert smaller ranges first to keep output manageable.
Example: Excel spreadsheet to JSON array
// Excel spreadsheet (with headers)
| Name        | Email              | Age | Active |
|-------------|--------------------|-----|--------|
| Maeve       | maeve@example.com | 28  | true   |
| Alex        | alex@example.com   | 32  | false  |

// JSON output
[
  {
    "Name": "Maeve",
    "Email": "maeve@example.com",
    "Age": 28,
    "Active": true
  },
  {
    "Name": "Alex",
    "Email": "alex@example.com",
    "Age": 32,
    "Active": false
  }
]

Related Excel & JSON tools

Work with spreadsheet data and JSON using these complementary conversion and formatting tools.

Frequently Asked Questions

What Excel formats are supported?

This tool supports modern Excel formats including .xlsx, .xlsm (macro-enabled), and legacy .xls files. Both single and multi-sheet workbooks are supported.

How does sheet selection work?

After importing an Excel file, you can select which sheet to convert using the dropdown in settings. Sheet names are automatically detected from your workbook.

Can I convert specific cell ranges?

Yes. Use the range option in settings to specify a cell range like 'A1:D10'. Leave it empty to convert the entire used range of the selected sheet.

How are headers handled?

When 'First row contains headers' is enabled, the first row values become JSON object keys. When disabled, generic keys like 'Column1', 'Column2' are used.

Is my data secure?

Yes, all data processing happens entirely in your browser. Your Excel file is parsed locally and never sent to any server, ensuring completely private and secure conversion.

Excel (XLS & XLSX) to JSON Converter - Online | JSONSwiss