Excel to JSON Converter

Convert Excel spreadsheets into clean JSON online. Select sheets, convert to an array of objects or 2D array, preserve data types, copy to clipboard, or download JSON file.

100% In-Browser Privacy — Zero Server Upload
Choose Excel (.xlsx) file or drag here
Extracts typed JSON from .xlsx, .xlsm with multi-sheet support

How to use Excel to JSON Converter

Transform Microsoft Excel (.xlsx) spreadsheets and workbooks into clean, developer-friendly JSON format directly in your browser. Choose between an Array of Objects (using your first row as object keys) or a 2D Array of Rows. Data types are preserved accurately: numbers remain numeric values, booleans remain true/false, and empty cells become null or omitted. Copy the generated JSON snippet with a single click or download it as a .json file for backend APIs, seed databases, or automated scripts.

  1. Upload your Excel workbook (.xlsx) or drag and drop it into the dropzone.
  2. Select the worksheet you want to convert from the sheet tabs.
  3. Choose your JSON output format: 'Array of Objects' (best for databases and REST APIs) or '2D Array of Rows' (compact matrix).
  4. Toggle pretty-printing on for readable 2-space indentation or off for minified JSON.
  5. Click 'Copy JSON' to place the payload on your clipboard, or click 'Download JSON' to save the .json file.

Hierarchical Object Mapping & Type Coercion

The engine extracts cell coordinates from worksheet XML, resolves shared string references, and maps row arrays to key-value objects using the first row as a dictionary schema. Numeric floating-point values, scientific notations, and boolean flags are coerced to their corresponding ECMAScript primitive types before serialization via JSON.stringify.

  • Large files with over 10,000 rows may generate JSON files larger than 10 MiB. We recommend using minified mode for massive datasets.
  • Date values in Excel are stored as serial day offsets; our parser converts standard date-formatted cells into ISO 8601 timestamp strings.

All spreadsheet operations are processed entirely inside your local web browser. Your workbooks, tables, and confidential records are never sent to external servers or cloud services.

Practical examples

Product Catalog to REST API Payload

Input
Excel sheet with columns: id, title, price, inStock. Rows: (1, 'Wireless Mouse', 24.99, TRUE), (2, 'Mechanical Keyboard', 89.00, FALSE).
Result
[ { "id": 1, "title": "Wireless Mouse", "price": 24.99, "inStock": true }, { "id": 2, "title": "Mechanical Keyboard", "price": 89, "inStock": false } ]

Column headers become object keys, and numbers and booleans retain their native JSON types instead of being converted into strings.

Matrix Data for Charting & Graphics

Input
Excel sheet with 2D numerical matrix: coordinates and weights.
Result
[ ["X", "Y", "Weight"], [10, 20, 1.5], [15, 25, 2.8] ]

Using the '2D Array of Rows' mode outputs a compact grid array ideal for graphing libraries like D3.js and Chart.js.

Frequently asked questions

How are missing or blank cells represented in JSON?

In 'Array of Objects' mode, blank cells are assigned 'null' or empty strings ('') so that every object preserves an identical schema structure. In '2D Array' mode, empty cells are preserved as empty strings to maintain column coordinate alignment.

What happens if my Excel headers contain spaces or special characters?

Headers are trimmed of redundant outer whitespace. If a column has no header, a fallback identifier like 'Column_3' is assigned so that no JSON object keys are undefined.

Can I process confidential client data?

Yes. The entire JSON serialization runs within your browser's JavaScript runtime. Zero bytes are uploaded to remote servers, making this safe for HIPAA, GDPR, and confidential financial datasets.

Related tools

Available

JSON to Excel Converter

Convert JSON data into formatted Excel (.xlsx) workbooks online. Supports arrays of objects, 2D arrays, and nested object flattening with auto-fit column headers. 100% private.

Excel Tools
Available

Excel to CSV Converter

Convert Excel (.xlsx) workbooks to clean CSV files online. Select sheets, customize delimiters, export UTF-8 with BOM, and download with formula injection protection.

Excel Tools