Markdown
Markdown Document Splitter
Split a long document into separate files at each top-level heading.
How it works
- 1Paste a document with headings.
- 2Choose the heading level to split at.
- 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.
Related tools
See all →Markdown Editor
A fast, free online Markdown editor with live side-by-side preview.
Live Markdown Preview
Paste Markdown and see it rendered live, side by side, as you edit.
Split View Markdown Editor
A two-pane Markdown editor with the source and live preview side by side.
Fullscreen Markdown Editor
An immersive, full-window Markdown editor with live preview.