Convert simple YAML (maps, lists, scalars) to JSON in your browser.
Supports nested maps, lists, quoted strings, numbers, booleans, null and inline [a, b] / {a: 1} values. Anchors, multi-line block scalars (| and >) and multiple documents are not supported. Runs locally.
Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter
Many APIs and tools accept only JSON while configs are often written in YAML.
No, JSON has no comments so they are dropped.
Tabs used for indentation and inconsistent indent levels are the common causes.
More free tools: 150+ free online calculators · Free printable planners