DevConvertor

JSON to YAML

Convert JSON to YAML with js-yaml, preserving objects, arrays, strings, numbers, booleans, and null exactly as they were in the source JSON.

ReadyData ConvertersFree · No account required

Features

  • Preserves objects, arrays, strings, numbers, booleans, and null exactly
  • Real YAML output via js-yaml, not string templating

How to use

  1. Paste JSON into the input.
  2. Click Convert.
  3. Copy or download the YAML result.

Example

Input

{"a":1,"b":[1,2],"c":null}

Output

a: 1
b:
  - 1
  - 2
c: null