Data
JSON ↔ YAML
JSON and configuration YAML
Convert JSON to configuration-style YAML or inspect YAML as JSON.
Try an example
Result
BeforeAfter
| Key | Value |
|---|
Usage guideWhen to use · How to use · Understand results
When to use this tool
Convert JSON to configuration-style YAML or inspect YAML as JSON.
How to use it
- YAML is common in Docker Compose, Kubernetes and GitHub Actions configuration. Move JSON settings from an API or program into a YAML configuration file, or convert YAML to JSON to inspect and process its structure. Indentation determines nesting.
Reading the result
Nested values are retained. Custom tags are rejected and aliases are disabled.