Convert XLSB to JSON

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

Spreadsheet rows as JSON data.Each worksheet becomes its own JSON file, with one object per row.

  1. What you get

    One JSON file for each worksheet in the workbook, 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 in the output. Booleans stay the text TRUE or FALSE, not JSON true and false.

  2. How values are written

    Formulas give their last computed values, not the formulas themselves. Dates are written as YYYY-MM-DD.

    A sheet with only one row becomes an empty array, because that row is used for the keys and no rows are left as data.

  3. Choosing one sheet

    Set Sheet to convert one worksheet instead of all of them. 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.

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

Excel Binary Workbook

Excel's binary workbook format, smaller and faster than xlsx for big sheets.

Extensions
.xlsb
MIME type
application/vnd.ms-excel.sheet.binary.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 XLSB to JSON conversion through the API, for your app or your agent.

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

Questions.What people ask about XLSB to JSON.

01OF 04

Yes, by default. Each worksheet gets its own JSON file, and hidden sheets are included. Set Sheet to convert only one.

They come from the first row of each sheet. Every following row becomes one object with those keys.

No. Formulas give their last computed values, and those values are what is written.

The file could not be parsed. The conversion stops with input_corrupted when that happens.

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