YAML ⇄ JSON converter
Convert configuration files between YAML and JSON, with the line of any error. Your data stays in this tab, so it’s safe for files with secrets.
Runs in your browser. Your files are never uploaded or stored.
Something not working, or missing an option?
How to use YAML ⇄ JSON converter
- Paste YAML or JSON, or open a file.
- Choose the direction.
- Copy or download the result.
Questions
Are comments kept?
No. JSON has no comments, so YAML comments are dropped when converting.
Are my files uploaded?
No. The tool runs inside your browser, and the page is blocked from sending data anywhere. You can check by turning off your internet connection: it keeps working.
Open-source parts
- js-yaml MIT