Skip to content

YAML to JSON Converter

Convert config files between YAML and JSON. Useful for Kubernetes manifests, GitHub Actions and API specs.

Runs in your browser. Nothing you enter is uploaded or stored.

How to use YAML to JSON Converter

  1. Paste YAML or JSON.
  2. Choose the direction.
  3. Copy or download the converted file.

Questions

Are comments kept?

No. JSON has no comments, so YAML comments are dropped when converting to JSON.

Does it support multiple YAML documents?

Files with several documents separated by --- are converted to a JSON array.