Why use this tool?
Paste YAML or JSON on either side — convert instantly in both directions.
How it works
- Paste YAML on the left or JSON on the right.
- The other side converts automatically.
- Use the swap button to flip which side drives the conversion.
Frequently asked questions
What happens if my YAML or JSON has a syntax error?An inline error message explains what's wrong, without clearing what you've typed.
Does it preserve comments?No — JSON doesn't support comments, so any YAML comments are dropped during conversion.
Is there a file size limit?No hard limit, but very large files may be slower since conversion runs entirely in your browser.