YAML to JSON
Convert YAML into formatted JSON.
Input
Output
Convert YAML into JSON. Errors are reported if the YAML is invalid.
How to use
- Paste YAML.
- The JSON generates automatically.
- Copy the result.
Frequently asked questions
- Which YAML version?
- Standard YAML 1.1/1.2 core types via js-yaml.
- Is it safe?
- It uses safe loading — no custom code execution.