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.
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.
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.
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.
- 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
Excel Template
An Excel template.
- Extensions
- .xltx
- MIME type
- application
/vnd .openxmlformats -officedocument .spreadsheetml .template - Kind
- Documents
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.
$ cv convert report.xltx report/ --to json$ cv convert report.xltx report/ --to jsonQuestions.What people ask about XLTX to JSON.
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.