Converter · runs in your browser
YAML to JSON
Paste YAML (a docker-compose file, Kubernetes manifest, GitHub Actions workflow or OpenAPI spec) and get formatted JSON. Anchors and aliases are expanded, and files with several --- documents become a JSON array.
Good to know
- Anchors (&name) and aliases (*name) are expanded, so "worker" above gets the same environment as "web".
- Quote values like "80:80", "yes" or "1.10" if they must stay text. Unquoted, YAML may read them as numbers or booleans.
- Tabs aren't allowed for indentation in YAML. Use spaces.
- Everything happens in your browser. Your data isn't uploaded or stored.