Tutorial · 5 min read

How to Convert Excel (XLSX) to JSON with Multiple Sheets

Excel files hold data that doesn't live in a flat table — multiple sheets, merged cells, complex formatting. When you need that data in JSON for an API, database, or web application, you need a converter that preserves structure without losing information. This guide walks through using the Excel to JSON Converter to handle single and multi-sheet workbooks, nested keys, and live editing — all in your browser.

Why JSON from Excel Is Trickier Than It Looks

Excel stores data in a grid, but real workbooks rarely have a single clean table. You might have:

A proper Excel to JSON converter handles these edge cases. The data keeps its meaning through the conversion.

1. Upload and Convert — The Basics

Converting a single-sheet Excel file to JSON takes three steps:

  1. Open the Excel to JSON Converter.
  2. Click Upload or drop your .xlsx file onto the drop zone.
  3. The file is parsed into an editable table. The JSON output appears in the right panel.

The result is an array of objects:

[
  {
    "id": 1,
    "name": "Alice",
    "email": "alice@example.com"
  },
  {
    "id": 2,
    "name": "Bob",
    "email": "bob@example.com"
  }
]

The first row is treated as headers and becomes JSON keys. The remaining rows become values.

2. Working with Multiple Sheets

Workbooks with multiple sheets are common. Here's how the converter handles them:

The active sheet indicator shows total rows parsed, so you know exactly how much data you're working with before downloading.

3. Converting to Nested JSON with Unflatten Keys

Many Excel exports use dot-notation column headers like contact.email or address.city. Enable the Unflatten Keys option to transform them into nested JSON automatically:

[
  {
    "name": "Alice",
    "contact": {
      "email": "alice@example.com",
      "phone": "123-456-7890"
    },
    "address": {
      "city": "Beijing"
    }
  }
]

This mirrors real-world API structures. The preview updates instantly, so you can toggle Unflatten Keys on and off to compare the flat vs nested output before exporting.

4. Data Type Preservation and Output Formats

Numbers, dates, and booleans in Excel cells are converted to their proper JSON types:

Two output formats are available:

Switch between them with the Output Format dropdown. The right panel updates instantly so you can see exactly what you'll get.

Try the Free Excel to JSON Converter

Upload XLSX, edit cells, see JSON live in real time. Multiple sheets, nested keys, and zero server uploads.

Convert Excel to JSON Now →

Best Practices for Excel to JSON Conversion

Frequently Asked Questions

How do I convert Excel XLSX to JSON online?

Upload your .xlsx file to the Excel to JSON Converter. The tool parses it into an editable table. Configure header rows, output format, and unflatten keys, then click download to export as JSON. All processing happens in your browser.

Does the converter support multiple sheets?

Yes. By default it shows the first sheet. Use the sheet selector dropdown to switch between sheets. When you download, only the active sheet is exported. This keeps the output focused rather than mixing all sheets into one file.

Can I convert Excel to nested JSON?

Yes. Enable the Unflatten Keys option. If your column headers use dot notation like address.city, they convert to nested JSON objects automatically. The preview updates instantly so you can see the result.

Can I edit the Excel data before exporting to JSON?

Yes. The table preview is fully editable. Double-click any cell to change values. You can also add or delete rows, and the JSON output updates in real time as you edit. No need to modify the original Excel file and re-upload.

Is my Excel data safe with this converter?

100% safe. All processing happens in your browser using client-side JavaScript. Your file is never uploaded to any server. The tool works offline once the page is loaded — no server storage, no tracking, no data leaks.