JSON to YAML
Convert JSON to clean, readable YAML for configs and Kubernetes files.
Runs on your device. Files are never uploaded.How to use JSON to YAML
- Paste your JSON
- Choose the indent
- Copy the YAML
About this tool
Paste JSON and get YAML with correct quoting for tricky values such as “yes”, “null” and numbers written as text. Choose a 2 or 4 space indent. Runs in your browser.
Like every tool on YantraStack, it is free with no accounts, limits or watermarks, and it works offline once the page has loaded. See how to verify that nothing is uploaded.
Questions
Can it convert YAML back to JSON?
Not yet. This tool converts JSON to YAML only.
Guides
How to convert CSV to JSON and JSON to CSV online
Paste CSV or JSON and convert in either direction, choose comma, semicolon, tab or pipe, and keep numbers and true/false as real values.
How to convert JSON to YAML for config and Kubernetes files
Turn JSON into clean YAML with 2 or 4 space indentation in your browser, and learn the main differences between the two formats.