Convert JSON to YAML
Transform JSON into clean YAML, ideal for configuration files.
Your files never leave your device
How to go from JSON to YAML
- 1
Paste or upload the JSON
Any valid structure.
- 2
Convert
Identical structure, YAML syntax.
- 3
Copy or download
Ready for your docker-compose, CI or config.
Why use this tool
More readable config
YAML drops braces and quotes: ideal for configuration.
Faithful structure
Nesting, arrays and types are preserved exactly.
For DevOps
Kubernetes, Docker Compose, GitHub Actions… they all speak YAML.
Private
Your configs never leave the browser.
Frequently asked questions
Are data types preserved?
Yes: numbers, booleans, nulls, arrays and nested objects keep their type in YAML.
What about strings that look like numbers?
The serializer quotes them when needed so they stay strings.
Can I convert package.json or configs?
Yes, any valid JSON converts; it's handy for migrating configuration between tools.
Does it validate my JSON?
Yes: if the JSON has syntax errors we warn you instead of generating broken YAML.