Config Converter

JSON, JSON5, JSONC, compact JSON, YAML, TOML, INI, Java .properties, .env, XML, CSV and query strings, in any direction. Paste or drop a file and it works out the format itself.

Input
Result

Every parser and serialiser here is written for this page, with no third-party libraries: JSON and JSON5, a practical subset of YAML 1.2 covering mappings, sequences, flow style, block scalars and comments but not anchors or custom tags, TOML 1.0 including dotted keys, inline tables and arrays of tables, the Java .properties escaping rules, dotenv, INI, RFC 4180 CSV, and XML through the browser's own parser. Formats do not all hold the same shapes: TOML has no null, INI and .env are flat, CSV is a table. Where something has to be reshaped the note above the credit says so, rather than silently losing it.