Nifty / Tools / Convert

JSON to YAML

Convert JSON (or JSONC) to readable YAML.

json-to-yaml
JSONDrop a file here
YAML
Loading…

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

How to use the JSON to YAML

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

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.

Can YAML represent everything JSON can?

Yes. YAML 1.2 is a superset of JSON, so every JSON document converts without losing data.

Related tools