Paste YAML to convert it to JSON for APIs, tools, or storage that expect JSON.
YAML input
JSON output
Enter YAML to convert.
Related tools
How it works
YAML is parsed into a data structure, then written as indented JSON.
Parse errors from invalid YAML are shown clearly.
YAML notes
YAML supports features JSON does not; conversion may simplify or drop some constructs.
Privacy
Parsing and conversion stay on your device.
Common questions
- Multiple documents?
- Paste one YAML document at a time for predictable results.
- JSON to YAML?
- Use the JSON to YAML tool.
- Tabs vs spaces?
- Standard YAML indentation rules apply.
- Validate JSON output?
- Successful conversion produces valid JSON automatically.