Convert XLTM to JSON

Turn XLTM 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 XLTM files on the dialor turn it to pick what to do

One JSON file for each worksheet.Each row becomes an object, keyed by the sheet's first row.

  1. What you get

    One JSON file per worksheet, and hidden worksheets are 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 or false values.

  2. What changes

    Formulas give their last computed values, so the JSON holds results, not the formulas themselves. A sheet with only one row becomes an empty array, because that row is used for the keys and no data rows follow it.

  3. Choosing one 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 you want to combine the files afterward, you can merge JSON.

XLTM 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 · XLTM

Excel Macro-Enabled Template

An Excel template with macros enabled.

Extensions
.xltm
MIME type
application/vnd.ms-excel.template.macroEnabled.12
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 XLTM to JSON conversion through the API, for your app or your agent.

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

Questions.What people ask about XLTM to JSON.

01OF 04

One for each worksheet, hidden ones included. Set Sheet to get only one.

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.

No. They stay the text TRUE or FALSE.

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