JSON ↔ YAML Converter
Convert between JSON and YAML in either direction with one click.
Quick answer: Convert between JSON and YAML in either direction with one click.
Last updated
Frequently asked questions
- Will my comments survive YAML → JSON?
- No — JSON has no comment syntax. Comments are silently dropped.
- What about anchors and aliases?
- We expand them on conversion to JSON, since JSON can't express references. The result has a little duplication but the same logical structure.
- How does the converter handle big numbers?
- Both formats use IEEE-754 doubles, so values above 2^53 lose precision. If you need exact large integers, keep them as strings in your source data.
- Are my files uploaded?
- No — both directions run entirely in your browser.
- Why is my YAML output sometimes very different from the input?
- We normalise — quoting strings only where required, choosing the canonical block style, alphabetising in some cases. The structure is identical even if the bytes aren't.