Skip to content

JSON to YAML Converter

Converts JSON to YAML, with nested objects and lists, ready to paste into a config file.

0 characters

What is JSON to YAML Converter?

YAML is a data format that is easier to read than JSON because it uses indentation instead of braces and quotes. Config files for tools like Docker Compose and Kubernetes use it.

What this tool does

Reads your JSON and writes the same data as YAML. Text that could be mistaken for a number, true, false or null is put in quotes so the meaning is not changed.

How to use it

  1. Paste your JSON.
  2. Read the YAML in the result box.
  3. Copy it into your config file.

Did you know?

  • YAML is a superset of JSON in version 1.2, so every valid JSON document is also valid YAML.
  • YAML stands for YAML Ainโ€™t Markup Language.

More tools in this category