YAML ↔ JSON Converter

Indent:
YAML Input0 lines

Supported YAML features

Scalars

Strings (quoted and unquoted), numbers, booleans (true/false/yes/no), null, and special floats.

Structures

Nested objects via indentation, arrays with dash prefix, and mixed nesting at any depth.

Flow Style

Inline arrays [a, b, c] and inline objects {a: 1, b: 2} with proper nesting support.

Block Scalars

Literal (|) and folded (>) multi-line strings with strip, clip, and keep chomp modes.

This tool is provided as-is for convenience. Output should be verified before use in any production or critical context.