Convert Excel to JSON
Drop an .xlsx, .xls or .ods file below, pick the sheet and download JSON: an array with one object per row, using the header cells as keys. Values are written exactly as Excel shows them, so IDs keep their leading zeros, and columns named like address.city can be nested into objects. It runs in your browser.
Drop a file to convert
CSV, Excel, JSON, XML and more. It stays on your device; nothing is uploaded.
What the JSON looks like
Each row of the sheet becomes one object, and the header row supplies the keys: a sheet with the columns sku, name and price gives [{"sku": "00123", "name": "Canvas Tote", "price": "24.50"}, …]. The output is pretty-printed by default so it's easy to read; switch indentation off for a compact file.
Values are written as strings, taken from the text Excel displays in each cell. That's the safe default for IDs, phone numbers and postal codes, which would lose leading zeros or precision as JSON numbers. Formulas are exported as their calculated values. If the consumer needs real numbers or booleans, convert those columns with a formula in the mapping step.
Nested objects from dotted column names
Name columns with dots, such as customer.name and customer.city, and switch on Nest dot.keys into objects in step 4: those columns become a nested customer object. This is the reverse of how JSON to CSV flattens nested data, so a file can make the round trip.
Workbooks with title rows or several sheets
Reports often have a title, a company name or a date range above the table. The header detector picks the row that looks like column names, so the keys come from the real header; set the header row yourself if it guesses wrong. Each sheet is converted separately: choose it from the Sheet dropdown. Rename or drop columns in the mapping step to get exactly the keys your API or app expects.
Ask AI about this file
Ask ChatGPT, Claude or Cursor about your file. Fileshape cleans it, masks personal columns and gives your AI one link, so totals come from every row.
FAQ
Questions
How do I convert an Excel file to JSON?
Drop the workbook into the converter on this page, pick the sheet, check the columns and download JSON. Each row becomes an object keyed by the header row.
Are numbers written as JSON numbers?
Values are written as strings, exactly as Excel displays them, so IDs and codes keep their leading zeros. Convert specific columns with a formula if you need numeric types.
Is the workbook uploaded?
No. The conversion runs in your browser.
Related
Other conversions
- Convert Excel to CSV without breaking your dataConvert an Excel workbook to clean CSV in your browser: pick the sheet, skip title rows, keep leading zeros and choose comma or semicolon delimiters.
- Convert JSON to CSV, including nested JSONConvert JSON or JSON Lines to CSV in the browser. Nested objects become dot-named columns, arrays are joined, and the record list is found automatically.
- Convert CSV to JSONTurn CSV into a JSON array of objects, nested JSON via dot-named columns, or JSON Lines. Delimiters and quoted fields detected automatically.
- Convert CSV to Excel (XLSX) without losing leading zerosConvert a CSV to an Excel .xlsx file in your browser. Leading zeros and long IDs stay intact, numbers stay numbers, and the delimiter is detected for you.
Updated 2026-11-27