Free TXT to EPUB converter
TXT to EPUB converter that finds your chapters
To convert TXT to EPUB, choose your file: epubwise finds the chapters, title and author in the text and hands back a real ebook, free and without an account.
Convert a TXT to EPUB
- Upload
- Convert
- Download
Uploading…
Your EPUB is ready
Download EPUBDeleted from our server within an hour. Reading on a Kindle? Send it like this.
How did it turn out?
What went wrong?
Thank you. Your answer helps improve the converter; nothing from your file is kept.
- No sign-up
- Deleted within an hour
- Opens in any reading app
Free: 10 files a day. Only convert books you have the right to convert. DRM-protected books, such as most store-bought Kindle books, can't be converted.
Contents: 62 entries PREFACE. Chapter I. CHAPTER II. CHAPTER III. CHAPTER IV. CHAPTER V. CHAPTER VI. CHAPTER VII. CHAPTER VIII. CHAPTER IX. ... and 52 more
Contents: 15 entries I. A SCANDAL IN BOHEMIA I. II. III. II. THE RED-HEADED LEAGUE III. A CASE OF IDENTITY IV. THE BOSCOMBE VALLEY MYSTERY V. THE FIVE ORANGE PIPS VI. THE MAN WITH THE TWISTED LIP VII. THE ADVENTURE OF THE BLUE CARBUNCLE ... and 5 more
Title in your library Pride and Prejudice Author Jane Austen
Why not read the text file as it is?
A long .txt file on a phone or e-reader is one endless scroll: no chapters to jump to, no page memory on some devices, and line breaks in odd places when the text was wrapped at a fixed width. As an EPUB it becomes a book: it remembers where you stopped, reflows to your font size, and shows a contents list.
Typical sources are fan fiction, old Project Gutenberg plain-text files, transcripts, and drafts written in a plain text editor.
Getting the best result
Paragraphs
Leave a blank line between paragraphs, or start each one with an indent.
Chapters
Put each chapter title on its own line with a blank line after it, such as "Chapter 3".
Encoding
Save the file as UTF-8 so accented letters survive.
Title and author
Start the file with a "Title:" line and an "Author:" line, as Project Gutenberg files do, and the ebook is filed under them in your library. Without them it takes the file's name.
How it compares: 8 TXT to EPUB converters tested
Tested 4 and 5 November 2026. Three public-domain plain-text books from Project Gutenberg (Frankenstein, The Adventures of Sherlock Holmes and Pride and Prejudice) went through each converter's free tier with default settings and no account. One script measured every EPUB the same way. A chapter counts when the EPUB's contents list leads to it, each chapter once.
| Converter | Text kept | Chapters found: Frankenstein | Sherlock Holmes | Pride and Prejudice | Real title and author | Cover | Format |
|---|---|---|---|---|---|---|---|
| epubwise Calibre 9.17, with our own chapter finder | 99.9–100% | 28 of 28 | 12 of 12 | 61 of 61 | 3 of 3 books | yes | EPUB 3 |
| Calibre (default settings) Calibre 9.13, the desktop program | 99.9–100% | 24 of 28 | 0 of 12 | 2 of 61 | 0 of 3 books | yes | EPUB 2 |
| AnyConv Calibre 4.3 | 99.9–100% | 24 of 28 | 0 of 12 | 2 of 61 | 0 of 3 books | yes | EPUB 2 |
| CloudConvert Calibre 8.5 | 99.9–100% | 24 of 28 | 0 of 12 | 2 of 61 | 0 of 3 books | no | EPUB 2 |
| Convertio Calibre 4.99.5 | 99.9–100% | 24 of 28 | 0 of 12 | 2 of 61 | 0 of 3 books | no | EPUB 2 |
| FreeConvert Calibre 9.13 | 99.9–100% | 24 of 28 | 0 of 12 | 2 of 61 | 0 of 3 books | no | EPUB 2 |
| online-convert.com Calibre 9.15 | 99.9–100% | 24 of 28 | 0 of 12 | 2 of 61 | 0 of 3 books | no | EPUB 2 |
| word.to Calibre | 99.9–100% | 24 of 28 | 0 of 12 | 2 of 61 | 0 of 3 books | yes | EPUB 2 |
What the numbers say. Every converter here runs Calibre underneath, including word.to, the first result on Google for this search, and the words come through the same everywhere. The difference is chapters. A text file has no markup, so a converter has to guess where each chapter starts. Calibre's guess found the 24 numbered chapters of Frankenstein but not the four letters the book opens with, none of the twelve stories in Sherlock Holmes (their titles are lines like "I. A SCANDAL IN BOHEMIA"), and 2 of the 61 chapters of Pride and Prejudice, which leaves most of that book as one long chapter. epubwise reads the text first: chapter lines, numbered titles, the parts inside a story, even a chapter title printed in a picture's caption. It found every chapter in all three books, each one a real heading in the contents.
The book details differ too. The other converters name the ebook after the file (AnyConv calls every book "input", Convertio, FreeConvert and online-convert.com use a random code) and give the author as "Unknown". epubwise uses the title and author written at the top of the file. CloudConvert, Convertio, FreeConvert and online-convert.com also leave out the cover. Every file passes EPUBCheck, the official validator. Ours is EPUB 3, the others EPUB 2.
Where others did better: their files are smaller. Ours were 261–372 KB against 195–321 KB, because each chapter is its own file inside the EPUB and our cover carries the title and author. Any e-reader opens either size instantly.
Also useful
Writing in Word rather than a plain editor? Word to EPUB keeps your headings and italics. For the reverse trip, EPUB to TXT strips a book down to plain text. The conversion runs on Calibre, the free ebook program, on our server; the EPUB is deleted within an hour.
Questions
Will my chapters be detected?
Lines such as "Chapter 3" on their own, with a blank line after them, become chapters. A file with no chapter titles becomes one long chapter.
Which title and author does the ebook get?
The ones written at the top of the file, on lines starting "Title:" and "Author:" (Project Gutenberg files have them). Without those lines the ebook takes the file's name, with the author "Unknown".
Which text encoding should the file use?
UTF-8 works best. Files in other encodings usually convert, but unusual characters may come out wrong.