YAML ⇄ JSON
Convert YAML configuration documents to JSON and back cleanly.
Your input is processed locally in this browser tab.
How to use YAML ⇄ JSON
Select YAML → JSON (default) or JSON → YAML in the Mode bar.
Configure 2- or 4-space indentation and optional alphabetical key sorting.
Copy the converted output or download .json / .yaml.
Frequently asked questions
Are flow arrays, block scalars (| and >), and comments supported in YAML input?
Yes. The built-in local YAML parser handles nested mappings, sequences, flow syntax, and comments cleanly.
Does conversion stay private?
Yes. All parsing runs entirely inside this browser tab.