JSON to YAML converter
Turn JSON into readable YAML for configuration files such as Kubernetes and CI pipelines. Indentation and quoting follow YAML conventions.
Tooloat runs in your browser and needs JavaScript. It opens in a moment, and your files are processed on your device.
How it works
- Paste your data or open a file.
- Choose the input and output formats.
- Copy or download the converted data.
Why use it
- Readable output.
- Round trips back to JSON.
- Large files fine.
- Private.
Questions and answers
Is YAML a superset of JSON?
Effectively, most JSON is valid YAML, but YAML adds comments and anchors that do not exist in JSON.
Are comments kept?
JSON has none, so YAML output has none.
Related tools
- Convert JSON, CSV, YAML and XMLSwitch data between formats without a script.
- YAML to JSON converterConvert a YAML file to JSON and catch syntax errors on the way.
- JSON formatter and validatorPaste JSON and get it pretty printed, minified or key sorted.
- JSON to XML converterGenerate XML from JSON for systems that still require it.