Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

XLSX to JSON Converter

Upload an Excel spreadsheet (.xlsx) and instantly convert it to JSON format

Your files never leave your browser
InputNo file loaded
Drop .xlsx file here or click to upload
Max 50MB · 100% Private
Supports .xlsx and .xls files
—
—
Output (JSON)0 chars
Ready·

Drop an Excel file and get structured JSON back — pick your sheet, toggle headers on or off, and grab the output as objects or arrays. No formatting by hand, no missing commas. And everything runs in your browser. Nothing gets uploaded.

How It Works

Upload .xlsx
→
Parse with SheetJS
→
Output JSON

The SheetJS library reads your Excel binary format directly in the browser — no server round-trip needed. It pulls out cell values, types, and sheet names, then maps rows into JSON structures based on your settings. Numbers stay as numbers, text stays as text, and dates get converted to their JS equivalents.

Examples

Employee Directory Spreadsheet

HR exports a staff list from Excel and needs it in JSON for the company intranet API.

INPUT
Name | Dept | Ext Alice | Engineering | 4021 Bob | Sales | 3087 Carol | Design | 5510
OUTPUT
[ {"Name":"Alice","Dept":"Engineering","Ext":4021}, {"Name":"Bob","Dept":"Sales","Ext":3087}, {"Name":"Carol","Dept":"Design","Ext":5510} ]

Product Inventory Without Headers

A warehouse spreadsheet with no header row — just raw item data. Output as array of arrays.

INPUT
SKU-001 | Widget A | 142 SKU-002 | Gadget B | 87 SKU-003 | Sprocket C | 305
OUTPUT
[ ["SKU-001","Widget A",142], ["SKU-002","Gadget B",87], ["SKU-003","Sprocket C",305] ]

Multi-Sheet Survey Results

A research team collected survey data across three sheets — "Q1", "Q2", "Demographics". They need just the Demographics sheet converted for their Python analysis script.

INPUT
ID | Age | Region 101 | 34 | Northeast 102 | 28 | Midwest 103 | 45 | West 104 | 52 | South
OUTPUT
[ {"ID":101,"Age":34,"Region":"Northeast"}, {"ID":102,"Age":28,"Region":"Midwest"}, {"ID":103,"Age":45,"Region":"West"}, {"ID":104,"Age":52,"Region":"South"} ]

Who Uses This

👨‍💻 Developers

Turning client-provided Excel files into API seed data or database fixtures without writing a parser.

📊 Data Analysts

Converting spreadsheet exports to JSON before loading them into notebooks or visualization tools.

📋 Project Managers

Reformatting tracker spreadsheets into JSON for importing into Jira, Notion, or custom dashboards.

🎓 Students

Quickly getting sample data from Excel into JSON format for class assignments and coding projects.

Common Mistakes

Leaving "First row as headers" on when there's no header row

Your first row of actual data gets swallowed as property names. You end up with weird keys like "SKU-001" instead of a column name. Toggle headers off if your spreadsheet starts with data in row 1.

Uploading a .csv file instead of .xlsx

This converter expects Excel binary format. CSV files won't parse correctly here. Use the CSV to JSON tool instead — it is built specifically for comma-separated text files.

Forgetting to select the right sheet

Multi-sheet workbooks default to the first sheet. If your data lives on "Sheet3" or a tab named "Raw Data", you'll get the wrong output unless you switch sheets in the dropdown before converting.

Technical Details

Frequently Asked Questions

How do I convert an Excel file to JSON?

Drop your .xlsx file onto this page (or click to browse). The tool reads it in your browser, maps each row to a JSON object using column headers as keys, and shows you the result instantly. Copy it or download the .json file — that's it.

Does this work with .xls files or only .xlsx?

Both. The parser handles the older .xls binary format and the newer .xlsx (Office Open XML) format. If you've got a really ancient Excel 95 file it might choke, but anything from Excel 97 onward should convert fine.

What happens to formulas in my spreadsheet?

Formulas get converted to their calculated values. So if cell B2 contains =SUM(A1:A10) and the result is 450, you'll see 450 in the JSON output. The formula itself isn't preserved — just the final number or text it produced.

Can I convert just one sheet from a workbook with multiple tabs?

Yes. After uploading, a dropdown appears with all sheet names from the workbook. Pick the one you need and hit Convert. It defaults to the first sheet, so if your data is on another tab, don't forget to switch.

Is my spreadsheet data sent to a server?

No. Everything runs in your browser using JavaScript. Your file is read locally, converted locally, and the JSON stays on your machine. Nothing gets uploaded anywhere. You can even turn off your internet and it still works.

Share: