JSON to YAML Converter
Convert JSON to YAML and back online. Preserves types, handles nesting, runs in your browser.
About JSON ↔ YAML Conversion
YAML is a more human-readable superset of JSON, popular for configuration files in tools like
Kubernetes, GitHub Actions, and Docker Compose. JSON is what most APIs speak. This tool
converts in either direction using js-yaml, the de-facto standard JavaScript YAML
parser. Strings, numbers, booleans, null, arrays, and objects round-trip cleanly through both
directions.
How to use
Pick a direction from the dropdown — JSON → YAML or YAML → JSON — then paste the input and press Convert. The tool reports parse errors with the line and column when possible, so it doubles as a quick syntax checker for either format.
Privacy
All parsing runs in your browser. Your data is never uploaded.