UTILITIES NEWBIE

JSON to YAML converter

Write a YAML representation of a supported JSON document using a fixed JSON-to-YAML conversion.

Source

0 characters

Import a local UTF-8 file
Print and optional local draft

An explicit save stores only source text as plaintext in this browser on this device. Do not save secrets or use a shared device. Nothing is saved or loaded automatically.

No draft has been loaded.

Output

Worked input and output

Input

{"name":"Ada","enabled":true}

Output

name: Ada
enabled: true

The JSON string remains a YAML string and the boolean remains a boolean. The formatter chooses YAML spelling and two-space indentation where nesting is present.