Guides

YAML multi-document (---) explained

Common in K8s/CI: one file contains multiple documents—how to parse/convert.

Related tools

Tip: open the tool page to see Pro batch/advanced modes.

Why multi-doc exists

Kubernetes and CI configs often store multiple resources in one YAML file separated by `---`.

Partial edits can easily break structure when copying snippets.

Practical tips

Parse into an array and validate each document separately.

When converting back to YAML, emit `---` documents to preserve the common format.