JSON to YAML Converter

Paste JSON and convert it to clean, indented YAML instantly, entirely in your browser.

Indent:
Copied
JSON Input0 B
YAML Output0 B

Every JSON document is valid input here, since JSON is a strict subset of YAML's data model — this simply re-serializes the same data using YAML's more human-readable block style.

Frequently asked questions

How do I convert JSON to YAML online?

Paste your JSON into the input box and click Convert. The js-yaml library re-serializes the parsed data as indented, block-style YAML.

Can I convert back to JSON afterward?

Yes — use the YAML to JSON converter, or the combined YAML Formatter page, to convert the result back.

Related tools

← Back to all tools