YAML ↔ JSON Converter

Convert between YAML and JSON in either direction. Useful for Kubernetes manifests, CI configs, and OpenAPI specs.

Enter input above to see the result.

What is this for?

YAML and JSON describe the same data structures — nested maps, lists, and primitive values — but with fundamentally different trade-offs. YAML prioritises human readability with minimal syntax; JSON prioritises strict, machine-parseable structure. This converter transforms between them losslessly for any structure both formats can express. It runs entirely in your browser using YAML 1.2 parsing, so no data leaves your machine.

When to use it

How it works

Common gotchas

Limitations and workarounds