JSON to YAML converter — paste JSON, get YAML

Paste JSON, get YAML. Same data, easier to read.

YAML is JSON's friendlier cousin: less punctuation, comments, anchors, aliases. This converter turns any valid JSON into idiomatic YAML — strings get unquoted where safe, multi-line strings use block scalars, and arrays use the dash form. Useful when migrating a config from package.json to a YAML-based tool (GitHub Actions, Kubernetes manifests, Docker Compose), or when documenting a JSON API response in a Markdown file where YAML reads better. The reverse converter (YAML to JSON) is one click away. Both run locally with no upload.

Related tools

  • YAML to JSON converter — paste YAML, get JSON
  • JSON Toolkit
  • JSON to CSV converter — flatten arrays of objects