- Paste JSON into the left pane or use Open file. The YAML appears as you type; Ctrl/⌘+Enter converts immediately.
- Pick an indent of 2 or 4 spaces. Two is the convention for Kubernetes and GitHub Actions.
- Set Wrap to control long strings. At 80 columns, long text is written
as a folded
>-block; choose No wrapping to keep each value on one line. - Choose a quote style. "When needed" quotes only strings that would otherwise change meaning; Always double quotes every string, which some teams prefer for consistency.
- Turn on Sort keys for stable, diff-friendly output, then copy or
download the
.yamlfile.
⇄ YAML to JSON opens the YAML to JSON converter with your result loaded, which is a quick way to confirm the round trip.