YAML ↔ JSON Converter

Convert between YAML and JSON. Paste YAML or JSON and get the other format instantly.

Converted output will appear here...

About YAML and JSON

YAML is often used for config files (e.g. Docker Compose, GitHub Actions, Kubernetes). JSON is used in APIs and frontend configs. This tool converts between them without sending data to a server—everything runs in your browser.

How to use the YAML to JSON Converter

  1. Paste your YAML or JSON.
  2. Choose the direction of the conversion.
  3. Copy the converted result.

Frequently asked questions

Will comments in YAML be kept?
No. JSON has no comments, so YAML comments are dropped when converting.
Is my data uploaded anywhere?
No. This tool runs entirely in your browser, so what you type or paste stays on your device and is not sent to Devity.

More free tools