How toml to json converter works
TOML (Tom's Obvious, Minimal Language) is a configuration file format designed to map unambiguously to a hash table, like JSON. This converter parses your TOML into a JavaScript value and pretty-prints it as indented JSON. It supports tables [a.b], arrays of tables [[name]], inline tables {x = 1}, arrays, strings (basic and literal), integers (with underscores and hex/oct/bin), floats, booleans and datetimes.
Switch the direction to JSON to TOML and the converter serializes a JSON object back into TOML: nested objects become [table] headers, arrays of objects become [[array-of-tables]] headers, and scalars become key = value lines. Strings are emitted as single-quoted literals where possible, falling back to double-quoted basic strings with escaping when needed.
Because TOML's root must be a table, only JSON objects round-trip cleanly (a top-level array or scalar is rejected with a clear message). Everything runs client-side, so your configuration never leaves your browser.