Developer Tools
YAML to JSON
Parse one YAML document safely and export its data as JSON.
JavaScript is required to run the interactive tool. Open the tool separately if it does not load in the frame.
How to use it
Paste a YAML document and press Run. Duplicate keys and excessive aliases are rejected.
Example
A YAML mapping with two keys becomes a JSON object.
Frequently asked question
Can this run code in YAML?
No. The local parser converts data and does not execute custom tags or scripts.
Limits and privacy
Input is limited to 2 million characters and 100 alias expansions. Duplicate keys are rejected; custom tags and scripts are not executed.
Tool input is processed in a separate browser environment without advertising or analytics scripts. This page does not upload it to the service.