Sign up free

Excel to JSON Converter

Turn spreadsheet rows into clean JSON for your app, API mock or config, with the header row as keys.

or drop files here

Accepts XLSX, XLS, ODS

Encrypted upload. Files are deleted automatically after 1 hour.

About Excel to JSON

Excel to JSON is for developers and analysts who get data as a spreadsheet but need it in code: seed data for an app, a mock API response, translations kept in a sheet, a product list for a static site. Upload an XLSX, XLS or ODS file and each row becomes a JSON object, with the header row supplying the keys.

The header is found automatically. A title row above the table is skipped, blank headers become column_1, column_2 and so on, and repeated names get a _2 suffix. Numbers stay numbers, empty cells become null, dates are written as ISO strings like 2024-03-01, and formulas give their results. A workbook with several sheets becomes one object with a key per sheet. If you'd rather have plain arrays, pick List of rows (arrays).

How to use Excel to JSON

  1. 1
    Upload the spreadsheet

    Choose or drop your .xlsx, .xls or .ods file, with the column names in the row above the data.

  2. 2
    Choose the JSON shape

    List of objects (one per row) is the default; List of rows (arrays) keeps the grid as nested arrays.

  3. 3
    Click Excel to JSON

    The workbook is read on our server and turned into indented UTF-8 JSON.

  4. 4
    Copy or download

    Copy the JSON from the result box, or download it as a .json file named after your workbook.

Why use Cubfile for this

  • Header row as keys

    Column names become property names, and a title above the table isn't mistaken for the header.

  • Types kept

    Numbers and true/false values stay unquoted, and empty cells are null rather than empty strings.

  • Every sheet included

    Several sheets become one object keyed by sheet name, so nothing is silently dropped.

  • Readable output

    Two-space indentation, with accented and Chinese characters written as they are.

FAQ

Excel to JSON: questions and answers

How does Excel to JSON pick the keys?
It uses the first row that has at least two filled cells, so a merged title across the top is ignored. Empty header cells get names like column_3, and a second Price column becomes Price_2.
What does the JSON look like for several sheets?
With one sheet you get an array of objects. With several, you get an object whose keys are the sheet names, each holding that sheet's rows. To turn such a file back into a workbook, use JSON to Excel.
How are dates and formulas handled?
Dates are written as ISO text, such as 2024-03-01 or 2024-03-01 14:30:00. Formula cells give the value the workbook last calculated, not the formula itself.
Is this Excel to JSON converter free, and what are the limits?
Yes, within the free plan: 2 tasks in total without an account, or 2 a day with one, for files up to 50 MB. VIP has unlimited tasks and 1 GB files.
Can I convert confidential data?
Yes. The file is encrypted on the way up, processed in an isolated process and deleted after one hour. We never read it or use it for AI training. For a CSV, CSV to JSON does the job in your browser without uploading anything.
Share Excel to JSON with a friendIt runs in any browser, and they can try it without signing up.

Related tools

XLSSQL Excel to SQLGenerate CREATE TABLE and INSERT statements from Excel or CSV.
XMLXLS XML to ExcelTurn repeating XML records into spreadsheet rows.
CSVXLS CSV to ExcelOpen CSV and TSV data in Excel with the right columns and encoding.
CSVJSON CSV to JSONConvert CSV to JSON in your browser. Nothing is uploaded.
CSVXML CSV to XMLConvert CSV or Excel rows into XML records.
XLSCSV Excel to CSVSave each sheet as CSV, line breaks in cells handled.
XLSHTML Excel to HTMLTurn a sheet into an HTML table you can paste into a page.
XLSJPG Excel to ImageSnapshot sheets and charts as images.