YAML ↔ JSON Converter

Convert config files between YAML and JSON, processed locally in your browser.

When to use it

YAML is the most common format for config files (Docker Compose, Kubernetes, GitHub Actions, Ansible), while JSON is the universal format for APIs and most programming languages. This tool converts both ways.

How it works

Uses the open-source js-yaml library, widely used (including by Kubernetes itself), instead of a homemade parser. Nothing is sent to a server.

Frequently asked questions

Are YAML comments preserved when converting to JSON?

No — JSON doesn't support comments, so they're dropped when converting YAML → JSON.

Is my data sent to any server?

No — the entire conversion happens locally in your browser.