JSON to YAML converter
Converts JSON to YAML with safe quoting and configurable indentation - the output round-trips back to the same JSON values.
1 · JSON input
Nothing is sent to a server.
Other Tools
Popular tools from across A2Z
What this does
Parses your JSON, then serializes it as YAML with js-yaml's dumper - arrays, nested objects and multiline strings are all handled, with configurable indentation.
Round-trips correctly
The generated YAML is produced by the same library used to parse it back, so converting to YAML and back to JSON reproduces the original values for every JSON type this tool accepts.
Privacy
Converted entirely in your browser - nothing is sent to a server.
Rate this tool
Was this tool useful? Your feedback helps us improve it.