Developer Tool
YAML / JSON Converter
Convert between YAML and JSON. Perfect for Docker Compose, Kubernetes manifests, and GitHub Actions workflows. Everything runs in your browser.
Indent:
Examples:
YAML input
JSON output
Output will appear here
How to use this tool
- 1
Choose a direction
Select YAML → JSON to convert a config file to JSON, or JSON → YAML to convert a JSON object to clean YAML.
- 2
Paste your config or load an example
Paste YAML or JSON into the input area, or click one of the example buttons (docker-compose, GitHub Actions, Kubernetes) to load a sample.
- 3
Copy the output
Click Copy to grab the converted result. Use the indent selector to choose 2 or 4 space indentation in the output.