Convert INI to JSONL

Turn INI files into JSONL. Each entry of a top-level list becomes one line of compact JSON, and any other value becomes a single line, with values and key order kept.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

INI settings as JSON Lines.Each entry of a top-level list becomes one line of compact JSON.

  1. What you get

    One JSONL file. Each entry of a top-level list becomes its own line of compact JSON, so every line holds one object you can read on its own.

    Any other value becomes a single line. Values and key order are kept as they are in the source.

  2. What stays the same

    The values stay as they are, and the keys keep their order. Nothing is reordered on the way to JSONL.

    Each line is compact JSON, so there is no extra spacing or indentation inside a line.

  3. Going the other way

    To turn JSON Lines back into settings, use JSONL to INI. To join several JSONL files into one, merge JSONL does that.

INI and JSONL.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 · JSONL

JSON Lines

JSON Lines, one JSON object per line, the format of logs and datasets.

Extensions
.jsonl .ndjson
MIME type
application/jsonl
Kind
Text and data

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

terminal
$ cv convert report.ini report.jsonl
$ cv convert report.ini report.jsonl

Questions.What people ask about INI to JSONL.

01OF 04

One line holds one entry of a top-level list as compact JSON. If the value is not a top-level list, the whole value is written as a single line.

No. Values and key order are kept.

One file.

Yes. INI covers the ini and cfg extensions, and the result is a JSONL file.

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