Nifty / Tools / Convert

YAML to JSON

Convert YAML, such as Kubernetes manifests, GitHub Actions workflows or Docker Compose files, to JSON.

yaml-to-json
YAMLDrop a file here
JSON
Loading…

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

How to use the YAML to JSON

  1. Paste YAML on the left.
  2. Choose the JSON indentation.
  3. Copy the JSON.

Questions

Is my data uploaded anywhere?

No. The tool runs entirely in your browser. Nothing you paste or drop is sent to a server, logged or stored, so it's safe for API responses, config files and other private data.

What happens to YAML comments?

JSON has no comments, so they're dropped in the JSON output. Your YAML isn't changed.

Related tools