All Tools View Categories About Contact Privacy

Multi-document YAML Splitter

Split a --- separated Kubernetes YAML stream into individual documents.

Runs entirely in your browser - nothing is uploaded and no cluster connection is made.
0
documents
Your split documents will appear here.

About Multi-document YAML Splitter

A single kubectl apply -f can take a stream of several YAML documents joined by ---. The Multi-document YAML Splitter takes that stream and breaks it into individual resources so you can read, save or apply them one at a time.

Paste your multi-document YAML, optionally keep the labelled headers, and the tool emits each document on its own with an index and a kind/name label detected from the content. The documents stay byte-for-byte the same; only the separators and headers are managed.

Everything runs locally and nothing is uploaded.

Features

  • Split on --- - standard document separators.
  • Labels - index plus kind/name per doc.
  • Headers toggle - raw output when off.
  • Counts - how many documents found.
  • No validation - preserves your YAML as-is.
  • Copy / Download / Print - get the split output wherever you need it.

How to Use

  1. Paste the multi-document YAML.
  2. Toggle the headers.
  3. Copy the split output.

Examples

Example 1 - two docs. Deployment + Service split apart.

Example 2 - single doc. returned unchanged.

Example 3 - raw. headers off, joined by ---.

Benefits

  • Clear - one resource per block.
  • Faithful - content preserved.
  • Labelled - easy to identify docs.
  • Flexible - headers optional.
  • Private - everything runs in the browser.
  • Copy, download or print - get the output where you need it.

Frequently Asked Questions

What does this splitter do?
It takes a YAML stream containing several documents separated by --- lines and splits it into individual documents, labelling each with its index and kind/name when present.
How are documents separated?
Documents are split on lines that are exactly --- (optionally with surrounding spaces). Leading and trailing blank lines are trimmed.
Are the documents validated?
No full schema validation is done; the tool detects kind and name with a light scan so you can identify each document.
Can I disable the headers?
Yes. Toggle off the document headers to get only the raw documents separated by ---.
Does this connect to a cluster?
No. Everything is assembled in your browser and nothing is uploaded.
Can I download it?
Yes. Copy the output, download split.txt, or print it.