Booleans, null, and a list
Quoted strings stay strings. Null and booleans use JSON literals.
enabled: true region: null tags: - api - worker
Paste YAML. JSON is written beside it. Comments are not kept.
JSON has no comment syntax. Comments in the YAML are discarded and do not appear in the output.
Ctrl+Enter or ⌘+Enter runs this tool immediately.
Waiting for input.
Parsing stays in this browser. Input is not uploaded or saved.
Quoted strings stay strings. Null and booleans use JSON literals.
enabled: true region: null tags: - api - worker
The block becomes a JSON string. Line breaks follow the YAML block style.
banner: | Line one Line two
Convert valid JSON into YAML with 2-space or 4-space indentation. Nested objects, arrays, and multiline strings are preserved, and invalid JSON is reported instead of repaired.
Convert one YAML document to TOML in the browser. Comments are dropped, null is rejected, and multi-document streams are not merged.
Check YAML syntax without converting or rewriting it. Errors include a line and column when the parser provides them, and valid input is left unchanged.