Skip to content

Developer tool

JSON to YAML

Paste JSON and copy a YAML version of the same data.

Processed in your browser. The text is not sent to our servers.

How to convert JSON to YAML

  1. Paste JSON.
  2. Click Convert to YAML.
  3. Copy the YAML.

Objects become indented keys and arrays become dash lists. Strings that could be confused with numbers or YAML markers are quoted.

Back to Developer tools

Frequently asked questions

What if the JSON is invalid?

The page reports that it could not be parsed, and nothing is converted.

Is the JSON uploaded?

No. Conversion runs in your browser.