A LITTLE ORDER, A BETTER READ

Convert TXT to EPUB with Chapters

Turn a plain-text novel into an EPUB with a linked table of contents. Detect chapter headings, review the results, and edit titles before exporting. Your file stays on your device.

Runs locally
01Upload TXT
02Review chapters
03Export book

01Upload TXT

TXT / UTF-8 / GB18030

Your next read starts here

Drop a TXT file here, or click to choose one

Up to 100 MB per file · No account needed

02Chapter detection

Original order kept

Automatic: Chapter 1, Chapter IV, Prologue, Epilogue; optional names after - or :. Also supports Markdown and Chinese headings.

03Chapters & preview

Waiting for a file

A place for every chapter

Upload a novel to review its chapters, edit titles, and preview the text.

How to convert TXT to EPUB

  1. Choose a TXT file, or try the example.
  2. Review the detected chapters and preview the text. If needed, adjust the detection method and detect again.
  3. Edit chapter titles, enter the book details, and export your EPUB.

Detecting again resets chapter-title edits. Review the chapter list before exporting.

Supported chapter headings

Automatic detection supports standalone, unindented Chapter headings with Arabic or Roman numerals, plus Prologue and Epilogue. Titles may follow a hyphen or colon. English keywords and Roman numerals are case-insensitive.

Automatic examples

Chapter 1
CHAPTER 12 - The Return
Chapter IV: The Market
Prologue
Epilogue

Markdown example

# Chapter One

Markdown headings and Chinese chapter headings are also supported. Other formats may require a custom regex.

Your files stay on your device

Chapter detection and conversion run in your browser. Your novel and chapter edits are not uploaded to a server. No account is required. Refreshing or closing the page clears the current workspace, so download your export before leaving.

Formats and limits

  • Input: one TXT file.
  • Output: EPUB or UTF-8 TXT.
  • File limit: 100 MB; practical capacity depends on device memory.
  • Preview: up to 20,000 characters per chapter; exports include the complete chapter body.
  • Chapter One, bare numbers, and title-only headings are not detected automatically unless marked as Markdown headings or matched by a custom rule.
  • English skipped-number and duplicate-number checks are not available.
  • Chapter detection cannot determine whether story content is missing from the source.

Frequently asked questions

Is this TXT to EPUB converter free?

The current version is free to use. No payment or registration is required.

Will my novel be uploaded?

No. Chapter detection and conversion run locally in your browser. Your novel content is not uploaded to a server.

Why is my TXT file detected as one chapter?

Your file may not contain headings that match the supported formats. If no headings match, all text is preserved as Full text. Check the headings in your source, or try Markdown headings or a custom regex.

Can I edit the table of contents before exporting?

You can review the chapter list and edit chapter titles before exporting. Manual merging, splitting, and drag-and-drop reordering are not currently available.

Can I upload an existing EPUB to repair its contents?

No. Chapter Studio currently accepts TXT files only. Importing or repairing an existing EPUB is not supported.

From text to book in three steps

  1. Upload TXT

    Choose or drop one file. Auto-detect supports UTF-8, GB18030 / GBK, and UTF-16 with a BOM. If text looks wrong, select its encoding and detect again.

  2. Review chapters

    Automatic detection matches standalone, unindented headings such as Chapter 1, CHAPTER 12 - The Return, Chapter 3: The Garden, CHAPTER I - The Letter, Chapter IV: The Market, Prologue, Epilogue, and Prologue - Before the Journey. English keywords and Roman numerals are case-insensitive. Markdown headings and existing Chinese chapter and extra headings are also supported.

    Chapter One, bare numbers, and name-only headings are not detected automatically unless they are Markdown headings. Custom regex matches trimmed lines and is case-sensitive. Detection trims blank lines at chapter boundaries and removes Markdown heading markers. Text before the first heading becomes Preface; a file with no headings becomes Full text.

    Search the chapter list and edit titles before export. Detecting again resets title edits. Review notes flag empty chapters; skipped and duplicate chapter numbers are checked only for Chinese chapter headings. English chapter-number checks are not available.

  3. Export EPUB or TXT

    Enter a book title and optional author. For EPUB, choose English or Chinese as the book language; this sets language metadata without translating your text. EPUB includes linked contents and a legacy NCX contents list. TXT is UTF-8 with an optional BOM. Chapter order, body text, and paragraphs are preserved; your original file is unchanged.

Uploading a new file replaces this workspace. Refreshing or closing the page clears your file and edits. Detection uses local rules; review the result before exporting. The file limit is 100 MB, and practical capacity depends on your device's memory. The preview shows up to 20,000 characters per chapter; exports include the full body.