← All toolsDeveloper›Data & Formats
JSON ↔ YAML Converter
Convert JSON to YAML and YAML to JSON for config files like Docker Compose, Kubernetes and GitHub Actions. Runs in your browser.
Tip from Tink: YAML is picky about indentation: use spaces, never tabs.
name: "my-app" port: 8080 features: - auth - billing db: host: localhost ssl: true
Advertisement
How to use the JSON ↔ YAML Converter
- Pick a direction.
- Paste JSON or YAML.
- Copy the result.
Everything runs in your browser. Nothing you enter is uploaded.