Converters
YAML to JSON Converter
Convert YAML configuration files to JSON, or JSON back to clean YAML.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the YAML to JSON Converter
- Choose the direction: YAML to JSON or JSON to YAML.
- Paste your data; it converts as you type.
- Copy the result.
Frequently asked questions
Does it support multiple YAML documents?
Yes. Documents separated by --- become items in a JSON array.
Are YAML anchors and aliases supported?
Yes. Anchors (&) and aliases (*) are resolved into their values.
What happens to comments?
JSON has no comments, so YAML comments are dropped when converting.