YAML to JSON Converter handles the YAML that real config files use: block mappings and sequences, plain and quoted scalars, comments, the document marker, | and > block scalars, and inline [a, b] / {a: 1} collections. It converts in both directions as you type.
Everything runs in the page. Nothing is uploaded.
Anchors and aliases, explicit tags, complex keys, and multiple documents in one file. Everything else common to config files works.
Yes. Any string that would otherwise read as a number, boolean, or null is quoted.
No. Comments are stripped during parsing; JSON has no place to put them.
No. Both directions run in JavaScript in the open tab.