Skip to main content
>_devtools

JSON <-> YAML Converter

Convert JSON documents to YAML or YAML documents to JSON, then copy or download the selected output.

What this does

Choose JSON to YAML or YAML to JSON, then paste or edit the source document. The direction control keeps your text when you switch formats.

Example

JSON input:
{"service":"api","port":4321}

YAML output:
service: api
port: 4321

Limits and behavior

  • YAML aliases and multiple documents are supported by the parser.
  • JSON output preserves parsed values; YAML comments and formatting are not preserved.