Skip to main content
HandyWeb

JSON and YAML Converter

Convert JSON to YAML or YAML to JSON. Several YAML documents become one JSON array.

Runs on your device.

Direction
0 characters0 bytes
0 characters0 bytes

How to Use It

  1. Choose the direction.
  2. Paste the JSON or the YAML.
  3. Copy the output.

Questions and Answers

Why are some strings in quotes in the YAML?

A string such as "true" or "1.0" would be read as a boolean or a number without quotes. The quotes keep it a string.

Good to Know

YAML comments and anchors do not survive in JSON. Numbers larger than 2 to the 53rd are rounded.

Source code of this toolReport a problem on GitHub