Convert INI to CBOR

Turn INI files into CBOR. The same structure and key order in CBOR, with integers, floats, booleans, null, text, arrays and maps keeping their types and dates as text.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Settings in a compact binary file.Sections and keys keep their order, and values keep their types.

  1. What you get

    One CBOR file with the same structure and key order as the INI file. Sections become maps, and the keys inside them stay in the order you wrote them.

    Integers, floats, booleans, null, text, arrays and maps keep their types. A number stays a number and a boolean stays a boolean, so a program reading the CBOR does not have to guess.

  2. Dates

    Dates are stored as text. They are not turned into a CBOR date type, so a program that reads the file gets the same characters that were in the INI file.

  3. Going back

    To turn a CBOR file into settings again, use CBOR to INI. The conversion has no options, so there is nothing to set before you start.

INI and CBOR.What each format is.

The formats

From · INI

INI

Sections of key and value pairs, the settings format of Windows and many tools.

Extensions
.ini .cfg
MIME type
text/x-ini
Kind
Text and data
To · CBOR

CBOR

Concise Binary Object Representation, the binary JSON of IoT and web standards.

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

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

terminal
$ cv convert report.ini report.cbor
$ cv convert report.ini report.cbor

Questions.What people ask about INI to CBOR.

01OF 04

Yes. The structure and key order in the CBOR match the INI file.

Yes. Integers, floats, booleans and null keep their types in the CBOR file. Text, arrays and maps do too.

As text. They are not converted to a CBOR date type.

Yes. INI files use the extensions ini and cfg, and both are read as INI.

More conversions.Other ways in and out of INI and CBOR.