JSON to YAML Converter
Convert JSON to YAML online instantly. Handles nested objects, arrays and strings. Free converter that runs entirely in your browser.
Two-space indentation. Strings containing special characters are single-quoted.
Frequently asked questions
- What YAML style does it produce?
- Block style with two-space indentation, the format used by most config files like docker-compose.yml and GitHub Actions.
- How are strings quoted?
- Plain strings are unquoted. Strings containing colons, hashes, quotes or leading special characters are wrapped in single quotes.
- How are null and booleans handled?
- JSON null becomes null, true stays true and false stays false - all valid YAML.
- Does my JSON leave the browser?
- No. Parsing and conversion both happen locally in your browser.
This tool runs entirely in your browser. No data is uploaded anywhere.