Free Online YAML to JSON Converter
The YAML to JSON converter translates YAML into JSON for use in APIs and JavaScript. It supports the common YAML subset: nested mappings, sequences, and scalars (strings, numbers, booleans, null).
How to Use
Paste YAML and click Convert. The equivalent JSON appears on the right.
- Handles indented maps and "- " sequences
- Converts scalars (numbers, true/false, null) automatically
- Best for config-style YAML
Supported Subset
Advanced YAML features (anchors, multi-line block scalars, complex flows) are not supported. For those, use a full parser like js-yaml in your build pipeline.
Related Developer Tools
You might also need
Tools from other categories that people pair with the YAML to JSON: