YAML to JSON Converter
Paste or drop YAML on the left. Convert to clean JSON on the right. Everything runs in your browser.
About this tool
This converter parses your YAML text entirely in your browser using a local JavaScript parser and outputs equivalent JSON. No files or data ever leave your device—ideal for sensitive configs or credentials you don’t want to upload.
Tips
- Use Indent to control pretty‑printing width. Set to
0
to minify. - Sort keys makes diffs easier when tracking changes in Git.
- Remove nulls strips properties with
null
values from objects after conversion.
Common YAML gotchas
- Indentation matters—use spaces, not tabs.
- Quote strings that look like numbers/dates if you need exact strings.
- Arrays can be inline (
[a, b]
) or multi‑line with dashes (- a
).
Privacy
100% client‑side. This page performs all parsing locally with no network requests (aside from the initial page load).