GUIDE深度 · Deep dive

YAML Subset Supported Here

The generated YAML is a practical subset: key: value for objects, - for arrays, two-space nesting and single quotes for special strings. It does not include anchors, multiple documents or block scalars.

更新 2026-10-31 · 公式可核验

Output rules

Nested objects and arrays go on new lines with two more spaces.

Empty objects are {} and empty arrays [].

Special strings use single quotes, with inner quotes doubled.

Not supported

Anchors/aliases, multiple documents, block scalars |/>.

Custom tags and complex keys.

FAQ

Can I use it for Kubernetes?

For simple configs yes; validate complex fields with a full YAML tool.

Can I use tabs?

YAML forbids tab indentation; this tool emits spaces.

Sources

Related calculators

JSON to YAMLConvert JSON objects and arrays to indented YAML, including nesting and special-character quoting.

More guides

JSON vs YAMLRead guide