YAML to JSON
Read your YAML and convert it to JSON.
- 1Add input
- 2Review and run
- 3Get your result
Tool input and files are processed in this browser without being uploaded.
Before you start
Read a bounded YAML subset into JSON without evaluating custom tags. Anchors, aliases, merge keys and multiple documents are rejected; duplicate keys are errors.
How to use this tool
- Paste content into “YAML input” or choose a local file. A selected file takes priority until removed.
- Check your input, then select “Convert to JSON”.
- Review the JSON result, then use the available copy or download controls.
Supported inputs and limits
YAML text is limited to 1 MiB; review types and structure after JSON conversion.
Worked example
Example input
id: 9007199254740993 name: "中文" ok: true
Example options
{}Example output
{
"id": 9007199254740993,
"name": "中文",
"ok": true
}When something does not work
Correct the reported syntax or range and run again. Formatting is not execution: scripts, SQL, expressions and pasted markup do not run against your system or a remote service.
Frequently asked questions
Are my files uploaded?
No. Files and tool input are processed in your browser. Moving around the site can keep a temporary workspace in the same tab. Refreshing or closing the tab clears it, so download results you want to keep.
What should I check in this result?
Read a bounded YAML subset into JSON without evaluating custom tags. Anchors, aliases, merge keys and multiple documents are rejected; duplicate keys are errors.