Config Converter
Free online config file converter, JSON/YAML/TOML conversion
About Config Converter
Converts configuration data between JSON, YAML, and TOML using lightweight built-in parsers and serializers. You choose the input format and an output format (the input format is excluded from the output buttons), paste your config, and click Convert. It is intended for simple key/value configuration files rather than complex nested documents.
How to Use
1. Click JSON, YAML, or TOML to set the input format 2. Click one of the remaining formats to set the output format 3. Paste your configuration into the input textarea 4. Click the Convert to <FORMAT> button 5. Copy the result from the output textarea; errors appear in red below
Format Conversion Notes
JSON input uses native JSON.parse and supports the full JSON value space. YAML parsing is a simplified indent-based reader that handles key: value pairs, true/false/null, numbers, quoted strings, and block scalars; it skips if/elif/else/endif conditional lines. TOML parsing handles [section] and dotted [a.b] headers plus key = value with booleans, numbers, and strings. Output serialization handles nested objects, arrays (YAML as "- item" lists), and quotes string values when writing TOML.
▶Why can I not convert JSON to JSON?
▶Does the YAML parser support the full spec?
▶How are TOML arrays and multi-line strings handled?
▶What happens if the input is malformed?
If this tool has been helpful to you, consider buying me a coffee.
Buy me a coffee