JSON Converter
Convert JSON to and from YAML, XML, and TOML, right in your browser. Pick a format and direction, paste your data, and copy the result. Indentation, nested objects, arrays, and all the standard scalar types carry over both ways.
Convert JSON to and from YAML, XML, and TOML, right in your browser. Pick a format and direction, paste your data, and copy the result. Indentation, nested objects, arrays, and all the standard scalar types carry over both ways.
Pick a target format (YAML, XML, or TOML) and a direction, paste your data, and the converted output appears as you type. Nothing leaves your browser. The converter preserves your data structure including nested objects, arrays, nulls, booleans, and numbers, and you can feed an output straight back in by flipping the direction.
YAML round-trips losslessly and lets you set the indent. For XML, object keys become elements, arrays repeat the element, keys starting with @ become attributes, and a #text key holds element text, with options for the root name and the XML declaration. TOML turns nested objects into [table] headers and arrays of objects into [[array of tables]], but since TOML has no null type, null values are dropped on the way out.