JSON to YAML
Convert JSON to clean, readable YAML for Kubernetes manifests, Docker Compose, GitHub Actions and config files.
Runs in your browser. Nothing is uploaded Free, no sign-up Works on mobile
Indent
How to convert JSON to YAML
- Paste your JSON or open a file.
- Adjust the options if needed.
- Copy the YAML or download it as a file.
Frequently asked questions
Is YAML a superset of JSON?
Yes, YAML 1.2 can read JSON, but block-style YAML is easier to read and edit by hand, which is why configs use it.
Is my data sent to a server?
No. Everything runs in your browser, so API keys, tokens, configs and customer data never leave your machine.
Related tools
All Developer Tools →- YAML to JSON Convert YAML config files to JSON, with syntax errors reported with line numbers.
- JSON Formatter Pretty-print messy JSON, find syntax errors fast, or minify it for production.
- JSON to XML Convert JSON objects to well-formed XML.
- XML to JSON Convert XML documents, feeds and SOAP responses to JSON.
- TOML to JSON Convert TOML files such as Cargo.toml, pyproject.toml and Hugo configs to JSON.
- JSON to TOML Convert a JSON object to TOML for Rust, Python and static-site generator configs.