Split document by headings
Break a document into separate parts, starting a new one at every heading of the level you pick.
Split document by headings
Paste a long document and this tool cuts it into separate parts wherever a heading of the level you choose appears. It is built for the moment a single file has outgrown itself — a specification with dozens of "## " sections that needs to become individual pages, meeting notes structured by numbered agenda items, or a long guide you want to feed into another tool one section at a time.
Four heading formats are supported: Markdown (#, ##, up to ######), underlined titles (a line followed by === or ---), uppercase lines used as headings, and numbered headings such as "1." or "1.1". The level control picks which depth counts as a split point — the number of # for Markdown, the dot-separated digit count for numbered headings, and === versus --- for underlined ones. Choose whether each part keeps its original heading markup or shows a plain, stripped title, and set the text that separates one part from the next.
The remaining options handle real documents, not tidy ones. Turn on part numbering or a per-part word count to annotate the output. Skip parts with no content under their heading, a common leftover from outline drafts. Set a maximum character length and any part that runs longer is broken further at paragraph, then word, boundaries, so nothing is truncated mid-sentence. Switch to a list of titles with their lengths when you need a table of contents rather than the full text.
Splitting runs entirely in your browser — nothing you paste is uploaded anywhere. Copy the result, download it as a .txt file, or send it back into the input to run another tool on it.