In depth
Why unsegmented manuscripts bottleneck audiobook production
Many drafts start life as one continuous document—either a sprawling 80,000-word TXT export, a web serial joined with scene dividers, or a novel with wildly uneven chapters swinging from 400 words to 11,000 words. Importing an unstructured wall of text makes chapter navigation impossible for listeners, complicates M4B marker generation, and turns minor synthesis retries into giant full-book re-renders.
This browser-side splitter restructures any manuscript up to 60 MB into crisp, consistently formatted `## Title` blocks before production starts. Every split executes locally inside client memory with zero upload latency and no login needed to compare break strategies across Headings, Word Count, and Delimiter modes.
Mode 1: Headings detection across Markdown and plain prose
In default `Headings` mode, the engine scans your text for ATX Markdown headers (`#`, `##`, or `###` at line starts). When Markdown headings are present, it splits strictly along those exact hierarchy breaks while preserving every original chapter heading verbatim.
If no Markdown hashes exist—such as in raw TXT exports or DOCX and PDF conversions—the splitter falls back automatically to chapter-pattern detection, matching lines like `Chapter 1`, `Prologue`, `Part Two`, `Epilogue`, or Chinese chapter headings and generating clean numbered sections ready for audio production.
Mode 2: Paragraph-safe Word Count splitting (500 to 10,000 words)
Essays, anthologies, and continuous serials often contain zero chapter headings at all. Switching to `Word Count` lets you choose a target chapter size from `500` to `10,000` words in `250`-word steps, defaulting to `2,500` words (roughly sixteen minutes of spoken narration at standard audiobook pacing).
Crucially, the splitter never slices through the middle of a sentence or paragraph. It tokenizes blocks separated by blank lines (`\n\n`) and accumulates complete paragraphs until adding the next paragraph would cross your target ceiling, opening the next sequential chapter cleanly at that natural narrative pause.
Mode 3: Custom delimiter splitting and regex-safe patterns
Authors frequently mark scene breaks using visual divider lines like `===`, `---`, or rows of asterisks. In `Delimiter` mode, the splitter passes your pattern directly to JavaScript's `new RegExp(pattern, 'gm')` multi-line matcher, discards empty slices, and automatically promotes any leading line of 80 characters or fewer into that chapter's display title (or assigns a clean sequential label like `Chapter N` when the opening line is longer prose).
Because the input compiles as a regular expression rather than a literal string, avoid unescaped quantifier characters like bare `***`—even though the UI placeholder shows `***` as an example, unescaped asterisks can trigger a RegExp quantifier error in your browser. To split on three or more asterisks safely, enter `^\*{3,}$`, or stick to regex-safe markers such as `===`, `---`, or `^###$`.
Auditing pacing with live per-chapter word counts
On the right side of the workspace, an ordered chapter list updates instantaneously with each segment's title and exact word count. Seeing a cluster of 2,400-word chapters followed by a 350-word epilogue or an 8,000-word finale lets you adjust word targets or regex markers immediately before exporting, preventing lopsided listening sessions.
Consistent segment lengths make audiobook listening noticeably smoother for commuters, keep playback bookmarks manageable across mobile apps, shorten per-chapter turnaround during proofing, and keep chapter rendering blocks predictable inside Studio. If you are curious how those word counts translate into total listening minutes, compare your numbers with the audiobook chapter length guide or audiobook length calculator.
Sending ## chapters to Studio vs. downloading structured TXT
Uploading EPUB, DOCX, text-layer PDF, TXT, or Markdown files up to 60 MB, testing all three splitting modes, checking chapter counts, previewing titles, and auditing per-part word lengths require no account and leave nothing on a remote server. Clicking the primary Studio button assembles every resulting section into `## Title\n\nContent` markdown and routes straight into `/settings/studio?view=new` under your chosen book title for multi-voice audiobook production.
Prefer saving the newly segmented manuscript locally first? Clicking `Download TXT` exports `<book-title>.txt` formatted with clean Markdown chapter headers and paragraph breaks at zero extra credits deducted for active FullCastBook subscribers and paid credit-pack holders. To inspect an existing EPUB's built-in table of contents, spine reading order, and skipped front matter without re-cutting chapters, visit the EPUB chapter extractor, or strip stray markup, URLs, and footnotes beforehand with the manuscript TTS cleaner.





