Convert JSON into TOML.
The JSON to TOML converter turns a JSON object into TOML text, updating as you type. Because TOML has no null value and always starts with a table, JSON with a null or a non-object top level is rejected with an explanatory message. Use it to build config files from existing JSON data.
TOML is a configuration format built on key-value pairs and tables. A JSON object becomes a TOML table, nested objects become [section] tables, arrays of objects become arrays of tables written as [[name]], and strings, numbers and booleans map directly. The mapping is not complete in both directions. TOML requires the top-level value to be a table, so a JSON document that is a bare array or scalar cannot be a TOML document. TOML has no null type, so a JSON null cannot be represented, whether it is a value or an array element. JSON has no date type either, so a string such as "2024-01-05" stays a string in the TOML. The layout of the output is decided by the writer, but the data stays the same.
TOML deliberately has no null type, so there is no way to write it.
No. A TOML document must be a table, so wrap the array in an object.
Not necessarily. The data is equivalent, but the order and layout are chosen by the writer.
As arrays of tables using double-bracket headers like [[users]].
No. JSON carries neither, so you add comments by hand and date values stay strings.
No. The conversion runs in the page and the text you enter is not sent anywhere.