YAML to JSON converter
Turn YAML config into JSON.
Runs in your browserNo sign-upNo watermark
Your files never leave your device.
Quick answer
To convert YAML to JSON, paste your YAML or drop the file in. The result is pretty-printed JSON.
Drop a YAML file here, or paste below
How to convert YAML to JSON
- Paste your YAML into the left box, or drop a file in. Try an example if you just want to see it work.
- The result appears on the right as you type.
- Press Download, or Copy to paste it somewhere else.
YAML is common in config files. JSON is what tools and APIs read.
Common questions
Does it support anchors and multiple lines?
Yes. Anchors and aliases are resolved, and multi-line strings are read correctly.
What about comments?
JSON has no comments, so they are dropped.
What if my YAML has several documents?
This tool reads one document. Convert each document separately.
Is my data uploaded anywhere?
No. The conversion happens inside your browser tab, so your data never leaves your device. We cannot see it or keep a copy.
What if my input has an error?
The page shows a message saying what is wrong, so you can fix it. Nothing is changed until the input is valid.