JSON to YAML
Convert JSON to YAML while keeping its structure.
- 1Add input
- 2Review and run
- 3Get your result
Tool input and files are processed in this browser without being uploaded.
Before you start
Convert exact JSON scalars, arrays and objects into a safe YAML subset. String values are quoted to avoid accidental YAML type conversion; large integer tokens are preserved.
How to use this tool
- Paste content into “JSON input” or choose a local file. A selected file takes priority until removed.
- Check your input, then select “Convert to YAML”.
- Review the YAML result, then use the available copy or download controls.
Supported inputs and limits
JSON text is limited to 1 MiB; conversion does not validate downstream YAML configuration semantics.
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?
Convert exact JSON scalars, arrays and objects into a safe YAML subset. String values are quoted to avoid accidental YAML type conversion; large integer tokens are preserved.