JSON to YAML

Convert JSON documents into readable YAML.

JSON input

YAML output

About the JSON to YAML

YAML is the configuration language of Kubernetes manifests, GitHub Actions workflows and countless CI systems, while APIs almost always speak JSON. Converting between the two is a daily task.

Because YAML is a superset of JSON, every valid JSON document has a YAML equivalent. The output uses two-space indentation and quotes strings only when required.

Frequently asked questions

Related tools

YAML to JSON

Converters

Parse YAML and convert it into formatted JSON.

Open Tool

JSON to CSV

Converters

Turn an array of JSON objects into a CSV table.

Open Tool

CSV to JSON

Converters

Convert CSV or delimited text into a JSON array.

Open Tool