Two-way conversion
Convert YAML to JSON or JSON to YAML from the same two panes.
Paste YAML to convert it to JSON, or paste JSON to generate YAML — both directions, instantly.
🔒 Your data stays on your device and is never uploaded.
YAML is popular for config files like Docker Compose and GitHub Actions, while JSON is the universal data-exchange format. This free converter handles nested maps, lists, quoted and unquoted strings, numbers, booleans and null values in both directions.
Convert YAML to JSON or JSON to YAML from the same two panes.
Handles nested mappings and sequences, plus inline flow lists and maps.
Parsing and generation both run locally in your browser.
Nested mappings and sequences using indentation, strings, numbers, booleans, null, comments and inline flow lists like [a, b, c] and flow maps like {a: 1, b: 2}.
No, only a single YAML document per conversion is supported. Remove any --- document separators before converting.
No. Keys are written to YAML in the same order they appear in the JSON object.
No. Both conversions run entirely in your browser using JavaScript.