#112 · Data & File Converters Ready to use

JSON to YAML Converter

Convert JSON code to clean YAML with custom indent.

Work area

Loading tool…

How to use

  1. 1Paste JSON.
  2. 2Pick 2 or 4 spaces.
  3. 3Copy the YAML.

Example

{"a":[1,2]} -> a:\n - 1\n - 2.

Prints mappings and lists recursively with your indent, quoting special strings, all locally.

Privacy: everything runs in your browser's local memory (RAM); nothing is sent to servers.

FAQ

Valid YAML?

Yes, for plain configs and lists.

Keep exploring

View all tools