UTILITIES NEWBIE

YAML to JSON converter

Convert the supported YAML data subset into a JSON value you can inspect, copy or download.

Source

0 characters

Import a local UTF-8 file
Print and optional local draft

An explicit save stores only source text as plaintext in this browser on this device. Do not save secrets or use a shared device. Nothing is saved or loaded automatically.

No draft has been loaded.

Output

Worked input and output

Input

name: Ada
enabled: true

Output

{
  "name": "Ada",
  "enabled": true
}

A mapping becomes a JSON object. The plain scalar true is interpreted as a boolean; quote a YAML value when you intend supported string text instead.