TinyTools

Excel to JSON Converter Online

Convert Excel workbooks (.xlsx, .xls) and CSV files into clean, structured JSON arrays.

Runs locally in your browser. Your spreadsheets are never uploaded to any server.
0 Rows 0 Columns
Excel Source File

Choose Excel file or drag & drop here

Supports .xlsx, .xls, .csv up to 50MB

Sheet Preview (First 5 Rows)
Upload a spreadsheet or click "Sample File" to preview rows
JSON Output
0 chars 0 lines 0 B

How to Convert Excel Workbooks (.xlsx / .xls) to JSON Online

Converting tabular spreadsheets into JSON is a routine task when seeding databases, building API payloads, importing product catalogs, and automating data pipelines. TinyTools Excel to JSON Converter provides a client-side conversion engine that transforms Microsoft Excel workbooks directly into JSON arrays with complete control over headers, sheet selection, and indentation.

Step-by-Step Conversion Guide

  1. Select File: Drag and drop your .xlsx, .xls, or .csv spreadsheet into the dropzone, or click to browse your local device.
  2. Choose Active Sheet: If your workbook contains multiple tabs, select the desired worksheet from the Active Sheet dropdown.
  3. Set Header Preferences: Leave First row contains headers checked if your sheet has column titles (e.g. ID, Name, Price). Uncheck it to generate an array of row arrays.
  4. Export JSON: Click Copy JSON to copy the output to your clipboard, or click Download .json to save the file.

Excel to JSON Conversion Example

Suppose your Excel sheet contains the following rows of product data:

SKU Product Price Available
PRD-101 Smart Thermostat 149.99 TRUE
PRD-102 Door Sensor 29.50 FALSE

The generated JSON array parses data types cleanly (numbers as floats/integers, booleans as true/false):

[
  {
    "SKU": "PRD-101",
    "Product": "Smart Thermostat",
    "Price": 149.99,
    "Available": true
  },
  {
    "SKU": "PRD-102",
    "Product": "Door Sensor",
    "Price": 29.5,
    "Available": false
  }
]

Common Developer Use Cases

Database Seeding

Convert client-provided spreadsheets into JSON fixtures for MongoDB, PostgreSQL, Firebase, or Prisma seed scripts.

API Mock Data & Testing

Generate realistic JSON arrays for Postman collections, Cypress tests, and frontend development before production APIs are ready.

CMS Content Migration

Migrate legacy Excel spreadsheets containing blog articles, product categories, or translation dictionaries into headless CMS platforms.

Confidential Data Handling

Convert sensitive business spreadsheets containing salary tiers, medical codes, or internal user lists without uploading data to external servers.

Technical Details & SheetJS Engine

This converter is powered by SheetJS, the industry standard for spreadsheet processing. The library reads raw binary byte streams using FileReader.readAsArrayBuffer:

Related JSON Tools

Browse All JSON Tools

Frequently Asked Questions

How do I convert an Excel (.xlsx) file to JSON online?

Upload your .xlsx, .xls, or .csv file into TinyTools or click 'Sample File' to test. Choose which worksheet to parse, toggle whether the first row contains headers, and copy or download the generated JSON array.

Is my Excel spreadsheet uploaded to your servers?

No. The spreadsheet is parsed 100% locally inside your browser using JavaScript. No files or rows of data are ever sent over the network to any remote server.

Can this tool parse multiple sheets from one workbook?

Yes. When you load a multi-sheet Excel file, a sheet selector dropdown appears allowing you to switch between tabs and convert any sheet into JSON instantly.

How does the converter handle empty cells and date columns?

Empty cells are omitted or mapped to null depending on your schema. Dates are converted into ISO 8601 strings or formatted dates based on Excel's internal serial numbers.

Can I output minified JSON for production APIs?

Yes. You can switch between 2-space formatted JSON for human readability and minified (single-line) JSON for compact API payloads.