JSON to YAML

Turn strict JSON into YAML for DevOps and config workflows. Output uses 2-space indentation and preserves Unicode in strings.

Result

Paste JSON, then Convert.

How to convert JSON to YAML

  1. Paste JSON into the input.
  2. Click Convert.
  3. Review the 2-space YAML output.
  4. Copy or download it. Use YAML to JSON if you need JSON again.

FAQ

The output is standard YAML from your JSON structure. Always review config files before applying to a cluster.
Scalars, objects, and arrays map directly. JSON booleans and numbers keep their types in the YAML output.
For typical JSON data, yes. YAML-only features like anchors are not emitted from JSON input.
No. Conversion stays in the browser.
No --- document header is added by default. The output is a plain YAML stream suitable for pasting into existing config files.

Related tools