YAML to JSON converter
Convert YAML to JSON or JSON to YAML, with clear error messages.
How to use YAML to JSON converter
- Choose YAML to JSON or JSON to YAML.
- Paste your data in the input pane.
- Copy the result or download it as a file.
Questions and answers
Is my data sent anywhere?
No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.
Are comments kept?
No. JSON has no comments, so they are dropped when YAML becomes JSON.
What happens with invalid input?
You get a plain message with the line where parsing stopped, so you can fix it and carry on.
Related tools
Format JSON
Pretty-print, minify and validate JSON, with optional key sorting.Base64 encode and decode
Convert text to Base64 and back, with full Unicode support.URL encode and decode
Percent-encode text for use in URLs, or decode it back.JWT decoder
Read the header and payload of a JSON Web Token, with dates made readable.