Convert ODS to JSON

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

Spreadsheet rows as JSON objects.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, and the keys come from the first row of the sheet.

    Formulas give their last computed values. Dates are written as YYYY-MM-DD, and numbers are typed as numbers.

  2. What changes

    Booleans stay the text TRUE or FALSE, not JSON true or false. A sheet with only one row becomes an empty array, because that row is used for the keys and no rows are left to write.

  3. Choosing one sheet

    Set Sheet to a worksheet name, or to its number counting from 1, to convert only that sheet. When Sheet is left out, every worksheet is converted.

    To combine the results afterwards, you can merge JSON files.

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

OpenDocument Spreadsheet

OpenDocument spreadsheet, the native format of LibreOffice Calc.

Extensions
.ods
MIME type
application/vnd.oasis.opendocument.spreadsheet
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 ODS to JSON conversion through the API, for your app or your agent.

terminal
$ cv convert sheet.ods sheet/ --to json
$ cv convert sheet.ods sheet/ --to json

Questions.What people ask about ODS to JSON.

01OF 04

Yes. Each worksheet becomes one JSON file, and hidden worksheets are included.

From the first row of the sheet. Each later row becomes an object that uses those keys.

No. They stay the text TRUE or FALSE.

The last computed value is written, not the formula.

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