JSON/YAML Converter

Real-time interconversion between JSON and YAML.

JSON to YAML
Indent
👉 Input area
👏 Output area

What is JSON/YAML Converter?

A tool to convert JSON to YAML and YAML to JSON mutually.
Conversion is performed in real time immediately after input into the input area.

How to use JSON/YAML Converter

Select whether you want to convert to JSON or YAML in the conversion type.

Conversion is performed according to the selected conversion type in real time, starting immediately after the input is entered in the input area.
If the JSON or YAML syntax is incorrect, the conversion will fail.

About conversion options

Indent

You can specify the number of spaces to be used for indentation. Minified is only enabled when converting from YAML to JSON, and both spaces and line breaks are removed.

About JSON (JavaScript Object Notation)

The following is a brief description of some of the JSON syntax.

  • Enclose strings in double quotation marks "" (single quotation marks are not allowed)
  • Enclose the whole thing in {} or .
  • Key:Value makes one data, and Key:Value is separated by a colon :.
  • Separate data with comma , (no need to use commas for trailing data)

For more information, see Working with JSON and JSON.