YAML to JSON converter

Simply convert YAML to JSON with this online live converter.

About YAML to JSON converter

Parses a YAML document and outputs the same data as indented JSON. Useful for feeding configuration files to tools and APIs that only speak JSON, or for checking exactly how a YAML file is interpreted.

When you would use it

How to use it

  1. Paste the YAML into the left field.
  2. Read the JSON on the right, indented with three spaces.
  3. Copy the result with the copy button.

Things worth knowing

Frequently asked questions

Why did my version number 1.10 become 1.1?
Unquoted 1.10 is a floating-point number in YAML, and numbers do not keep trailing zeros. Write it as "1.10" with quotes to keep it a string.
Why is the output empty with no error?
The YAML parsed to an empty value, for example a file with only comments. Make sure the document contains at least one key or list item.

All the tools