Convert YAML to JSON instantly in your browser. Supports Kubernetes manifests, Docker Compose, GitHub Actions and any YAML document. Swap to JSON→YAML in one click.
The YAML to JSON converter parses any YAML document — including multi-document streams separated by `---` — using js-yaml and outputs a formatted, indented JSON object. Both editors stay live: edit the YAML side and JSON updates instantly, or edit JSON and YAML regenerates from it. JS-yaml fully supports YAML 1.2 including anchors (`&`) and aliases (`*`), so complex Kubernetes and Helm configurations with shared blocks convert cleanly.
QWhat happens with multi-document YAML?
YAML documents separated by `---` are parsed into an array of documents and output as a JSON array.
QAre YAML comments preserved?
YAML comments have no semantic meaning and are stripped during parsing. The JSON output contains only data values.
QIs my data sent to a server?
No. All conversion runs in a Web Worker inside your browser. Nothing is transmitted to any server.