JSON to YAML
Convert JSON to clean YAML for configuration files and Kubernetes manifests.
Input
Result
How to use
Converting JSON to YAML
Press Convert to serialise your JSON as YAML.
- Paste JSON into the input editor.
- Press Convert.
- Copy the YAML output.
Frequently asked questions
Is the YAML output indented consistently?
Yes, two space indentation is used by default for maximum tool compatibility.
Are dates preserved?
Values stay as they are in JSON. A string that looks like a date remains a string.
Related tools
YAML to JSON
Convert YAML documents into JSON for APIs and JavaScript applications.
YAML Formatter
Parse and re-serialise YAML with consistent indentation and validation.
JSON to XML
Convert a JSON document into well formed XML with a configurable root element.
JSON Formatter
Beautify and validate JSON with configurable indentation, error highlighting and one click copy.
JSON Validator
Check whether your JSON is valid and see a clear explanation of any syntax problem.
JSON Minifier
Remove every unnecessary space and newline to produce the smallest possible JSON payload.