YAML to JSON
Convert one YAML document using a JSON-compatible schema. Comments and unsupported custom tags are not preserved.
Enter text to get started.
Converting your file
Working on your device…
What this tool does
Convert one YAML document using a JSON-compatible schema. Comments and unsupported custom tags are not preserved.
Select a supported file or paste text.
Use the options shown in the workspace.
Download the result and review it on your device.
When to use yaml to json
Move simple YAML data into a JSON-based workflow.

How to use yaml to json
- Paste the text or data into this tool’s input.
- Review the yaml to json options shown above.
- Run the tool and inspect the result before copying it.
Frequently asked questions
Can I paste several YAML documents?
This tool accepts a single YAML document. Split a multi-document stream before converting it.
What happens to comments and anchors?
Comments are not part of the JSON data. Supported aliases are resolved; this tool limits aliases to reduce excessive expansion.
Can I use application-specific YAML tags?
Custom tags are not supported by the JSON-compatible schema and produce an error.
Will dates become JavaScript date objects?
The JSON schema keeps date-like text as strings rather than converting it to Date objects. Review the generated JSON for your application.