Markdown Split
Free online tool to split large Markdown files into smaller, organized documents. Split by H1 headings, H2 headings, or custom delimiters like page break comments. Preview the split result before downloading as a ZIP archive with auto-generated filenames. Perfect for breaking apart long documentation, extracting chapters from a book manuscript, or dividing a monolithic README into separate files.
Drag and drop a Markdown file, or click to select
Upload a .md file to split it into multiple documents
Frequently Asked Questions
How do I split a Markdown file?
Upload your .md file, choose a split strategy (by H1 headings, H2 headings, or a custom delimiter), preview the result, and download the split files as a ZIP archive.
What split strategies are available?
Split by H1 headings (# Title), H2 headings (## Section), or a custom delimiter like <!-- split -->. The preview shows exactly how your file will be divided before you download.
How are the output filenames generated?
Filenames are auto-generated from the heading text, slugified and prefixed with a number (e.g., 01-introduction.md, 02-getting-started.md). This keeps files ordered and descriptively named.
What happens to YAML front matter when splitting?
The original YAML front matter is preserved in the first output file only. Subsequent files do not receive front matter, keeping them clean and ready to use independently.
Can I preview the split result before downloading?
Yes. After choosing your split strategy, a live preview shows the list of output files with their headings and line ranges. You can adjust the strategy before downloading.
Is there a file size limit?
You can upload Markdown files up to 5MB. Small files are processed instantly in your browser; larger files are handled server-side.