Convert XLTX to JSON

Turn XLTX documents into JSON files. One JSON file per worksheet, hidden ones included: an array with one object per row, keyed by the sheet's first row.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop XLTX files on the dialor turn it to pick what to do

Rows from every sheet as JSON.Each worksheet becomes its own JSON file, with one object per row.

  1. What you get

    One JSON file per worksheet, hidden sheets included. Each file holds an array with one object per row. The keys come from the first row of the sheet.

    Numbers are typed as numbers. Dates are written as YYYY-MM-DD. Booleans stay the text TRUE or FALSE, not true and false values.

  2. What changes

    Formulas are not kept as formulas. Each one gives the last value that was computed for it.

    The first row of a sheet is used for keys, so it does not appear as a row of data. A sheet with only one row has no data rows, so it becomes an empty array.

  3. Choosing a sheet

    Set Sheet to convert one worksheet. Give its name or its number counting from 1. When Sheet is left out, every worksheet is converted.

    If the file cannot be parsed, the conversion stops with input_corrupted. To join the resulting files afterward, you can merge JSON.

XLTX and JSON.What each format is, and the options this conversion takes.

  1. 01 · sheet

    Sheet

    The one worksheet to convert, by its name or by its number counting from 1. Every worksheet is converted when it is left out.

The formats

From · XLTX

Excel Template

An Excel template.

Extensions
.xltx
MIME type
application/vnd.openxmlformats-officedocument.spreadsheetml.template
Kind
Documents
To · JSON

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data

In your code.The same XLTX to JSON conversion through the API, for your app or your agent.

terminal
$ cv convert report.xltx report/ --to json
$ cv convert report.xltx report/ --to json

Questions.What people ask about XLTX to JSON.

01OF 04

Yes. Every worksheet gets its own JSON file, hidden ones included. Set Sheet to convert only one.

They come from the first row of each sheet. Every row after it becomes one object in the array.

No. Each formula gives its last computed value.

The sheet has only one row. That row supplies the keys, so no data rows are left.

More conversions.Other ways in and out of XLTX and JSON.