Home
Tom Utilities

YAML to JSON

XML & YAML Tools

Convert YAML documents into JSON for APIs and JavaScript applications.

Input

Result

How to use

Converting YAML to JSON

Press Convert to serialise the parsed YAML as JSON.

  1. Paste YAML into the input editor.
  2. Press Convert.
  3. Copy the JSON output.

Frequently asked questions

How many documents are converted?

The first document in a multi document stream is converted.

Are numeric keys supported?

Yes, keys are converted to strings because JSON requires string keys.