Skip to content
FormatMyCSV
Runs in your browser · Files are never uploaded

Convert Excel to JSON

Export the first worksheet of an Excel workbook as structured JSON for another app.

Workspace

XLSXJSON

Input data

or drop a Excel workbook file here

Options

Cleanup options
Advanced options

Use column numbers starting at 1. Omitted columns are deleted.

Enter comma-separated names in output order. Leave positions blank to keep their names.

Preview

Your rows and columns will appear here.

How to convert Excel to JSON

  1. Choose an .xlsx or .xls file.
  2. Check the first worksheet and choose whether the first row supplies object keys.
  3. Download or copy the JSON for use in another app.

Example

Download example workbook

Export the inventory sheet as JSON objects keyed by item, sku, and stock. Choose Keep as data if you prefer arrays.

Frequently asked questions

What is a CSV file in Excel?

A CSV is a text table that Excel can open. A workbook has more structure and can hold several sheets. If you already have an Excel workbook, use this tool to export its first worksheet directly. If your source is plain text, use CSV to JSON.

Is CSV the same as XLS?

No. XLS is an older Excel workbook format, while CSV holds rows in a text file. This tool accepts both XLS and XLSX workbooks and can use the first worksheet’s header as JSON keys. For a CSV result instead, use the Excel to CSV converter.

What type of CSV to use?

Use UTF-8 CSV with clear column names when an import service specifically asks for CSV. Excel to JSON produces JSON, so first check the format expected by your destination. If the destination expects tabular text, the XLSX to CSV tool lets you choose a separator for the exported sheet.

Can I choose which worksheet becomes JSON?

The first worksheet in workbook order supplies the records. To export a different sheet, move it to the first position in a workbook copy, then choose that file. The conversion runs in your browser, and FormatMyCSV never uploads the original workbook or the copy.

How are Excel dates and identifiers represented in JSON?

The converter uses formatted cell values as strings where available. A date appears as the worksheet displays it, and an identifier displayed with leading zeros can keep them. Check those fields in the preview before exporting, especially if the receiving app expects dates in a particular string format.

Can I export the worksheet as arrays instead of objects?

Yes. Set First row to Keep as data to produce an array of rows with values in worksheet order. If the first row contains column names and the destination expects objects, select Use as header. The names then become keys, and the first data record starts on the following row.