EPUB to TXT Converter
Pull the raw text out of an EPUB. Useful for notes, search, or pasting into an AI tool. The file stays on your machine.
Drop your EPUB file here
or click to browse
When this comes in handy
- You want to grep the book or open it in a real text editor.
- An AI assistant won't accept EPUB but will happily eat a .txt.
- You're rewriting passages into your own outline or notes.
- A text-to-speech app you like only reads plain text.
What you get in the .txt
Every word of the book, in reading order, with chapter headings called out. Bold, italics, fonts, and images get dropped. That's plain text. If you need the styling, convert to PDF instead.
About the EPUB format
EPUB was released by the International Digital Publishing Forum in 2007 and is now maintained by the W3C (after the IDPF merged in 2017). Open the file with a ZIP tool and you'll find XHTML chapters, CSS, images, and an OPF manifest declaring the reading order. Because the content is HTML under the hood, an EPUB can be styled, hyperlinked, and reflowed across any screen size. It's the format Kobo, Apple Books, Google Play Books, and (since 2022) Send to Kindle all accept. The structure is what makes a clean EPUB-to-text conversion possible: chapters are real headings, not just larger font sizes.
About the TXT format
Plain text predates personal computers — the modern ASCII standard is from 1963, with UTF-8 (the Unicode encoding most .txt files use now) finalized in 1993. There's no committee that "owns" plain text; it's just bytes that represent characters. A .txt file has no formatting, no images, no chapters, no metadata. That sounds like a downside until you realize it's also why every editor, every script, every AI model, and every screen reader on earth handles it without complaint.
When to use EPUB to TXT (and when not to)
Good fits:
- Feeding the book into an LLM or an analysis script that wants raw text.
- Using a text-to-speech tool that only reads plain text files.
- Searching across an entire book with grep, ripgrep, or your editor's find-in-files.
- Pulling quotes into a notes app without dragging styling along.
- Long-term archival in a format that will still be readable in 50 years.
Bad fits:
- You want to read the book on an e-reader — plain text on a Kindle is unpleasant. Keep the EPUB.
- The book is heavily illustrated. The .txt will be missing most of the actual content.
Common problems and how to fix them
- Special characters show up as boxes. Your text editor opened the file in the wrong encoding. The output is UTF-8 — set the editor to match.
- Chapter breaks aren't obvious. They are in the file (blank lines and the chapter title), but if you want hard separators, open the result in an editor and find-and-replace blank lines with
===. - Footnote markers appear as numbers inline. EPUBs don't always wrap footnote links in semantic markup. The conversion can't tell a footnote ref from regular text.
- Output is empty. The EPUB is probably DRM-protected (purchased from a store with locks). DRM blocks any conversion. Open it in its native reader app instead.
- Lines are weirdly wrapped. The text isn't hard-wrapped — it's one long paragraph per line. Tools like
fold -s -w 80can rewrap.
Frequently asked questions
Is the EPUB uploaded?
No. The file is read by JavaScript in your browser. Disconnect your internet after the page loads and the conversion still completes.
What size EPUB can I drop in?
Practically unlimited. Even a 50 MB EPUB produces a text file in seconds because no rendering is involved — just text extraction.
Does this work on a phone?
Yes. The result downloads to your default location. On iOS it'll be in the Files app under Downloads.
Will the metadata (author, title) be included?
The first lines of the output include the book title and author from the EPUB's OPF metadata, then the chapters start.
What if I want a Markdown file instead?
Open the .txt in any editor and add the small amount of Markdown you need. Automated EPUB-to-Markdown tools tend to over-format, which is annoying to clean up later.
What other formats can I get from EPUB?
PDF on this site. For Kindle's native AZW3, send the EPUB to your Send to Kindle email and Amazon converts it server-side.