Skip to content
Markdown

Markdown Document Splitter

Split a long document into separate files at each top-level heading.

How it works

  1. 1Paste a document with headings.
  2. 2Choose the heading level to split at.
  3. 3Copy the labelled file blocks.

Use cases

  • Break a monolith into pages.
  • Create per-section files.
  • Prepare a multi-page docs site.

Frequently asked questions

How are files labelled?

Each part is preceded by an HTML comment with a suggested filename derived from the heading.

What levels are supported?

Split at H1 or H2, depending on your document structure.

Is it private?

Yes. Both documents are compared entirely in your browser; nothing is uploaded.

See all →