SimplConvert

YAML to JSON converter

Convert YAML config files into JSON.Runs in your browser, nothing uploaded

Loading the tool…

About YAML to JSON

Paste YAML and get the same data as JSON. It is also a quick way to check a YAML file: if the indentation is off or something cannot be read, you will see the line where the problem is.

Anchors and aliases (& and *) are expanded, and files with several documents separated by --- become a JSON array with one item per document.

How to use it

  1. Paste your YAML or open a .yaml or .yml file.
  2. The JSON appears as you type. Choose the indent you prefer.
  3. Copy the JSON or download it.

Common YAML mistakes

Most YAML errors come from indentation: mixing tabs and spaces, or a line indented one space too far. Also watch for a colon inside a value, which needs the value to be quoted, like title: "Note: read me".

Questions

What happens to comments?

JSON has no comments, so YAML comments are left out of the result.

Is my file uploaded?

Everything happens inside your browser. Your file is never uploaded to a server, so it stays private and the tool keeps working even on a slow connection.