JSON to YAML Converter
Paste or drop JSON on the left. Convert to clean YAML on the right. Everything runs in your browser.
About this tool
This converter parses your JSON entirely in your browser with the built-in JSON parser, then outputs equivalent YAML using a local JavaScript library. No files or data ever leave your device—ideal for sensitive configs.
Tips
- Use Indent to control YAML indentation width.
- Sort keys produces stable YAML for cleaner diffs.
- Remove nulls strips properties with
null
values from objects before conversion. - Inline (flow) style uses compact one-line collections where possible.
Common JSON gotchas
- JSON requires double-quoted keys/strings and no trailing commas.
- Numbers are IEEE-754 doubles—very large integers may lose precision.
undefined
, functions, and comments aren’t valid JSON.
Privacy
100% client-side. This page performs all parsing locally with no network requests (aside from the initial page load).