EPUB to Text - Extract Plain Text from an EPUB Ebook
Need a book as plain text - for notes, a word count, text-to-speech, or reading on a simple device? This converter unpacks the EPUB on your own device, walks the chapters in the order the publisher intended, and writes them out as one tidy .txt file.
Books up to 20 MB. The file is processed on this device only - nothing is uploaded.
Chapters in reading order
How to use this tool
- Click the box above (or drag and drop) and choose a DRM-free .epub file up to 20 MB.
- Check the chapter list and word count shown after conversion - the preview shows the start of the text.
- Click Download .txt file to save the plain text.
How it works
An EPUB is a zipped set of XHTML chapters plus a package file (the OPF) that lists the correct reading order. This tool reuses the same tested parser as our EPUB Reader: it reads the container and OPF, follows the spine in order, cleans each chapter (scripts and unsafe markup are stripped), converts the cleaned HTML to text - block endings become line breaks, HTML entities such as & and accented characters are decoded - and joins the chapters under their headings.
Worked example
You download a free public-domain novel from Project Gutenberg. The converter lists its 24 chapters, reports 88,410 words, and the downloaded .txt opens with the book title, the author, then Chapter 1 under its own heading - ready to paste into a word counter or a text-to-speech tool.
Frequently Asked Questions
Is this EPUB to text converter free?
Yes - completely free, with no sign-up, no account and no limit.
Is my ebook uploaded to a server?
No. The file is converted 100% in your browser with JavaScript. It never leaves your device and is never stored by us.
Why won't my book convert? (DRM)
Most ebooks bought from stores such as Kindle, Kobo or Apple Books are protected by DRM (copy protection). This tool cannot and will not convert DRM-protected books, and it does not remove or crack DRM. DRM-free EPUB files open and convert normally.
What is the file size limit?
Books up to 20 MB are handled in the browser. A larger file gets a clear message instead of a broken conversion - try a smaller, DRM-free EPUB.
Are chapter headings and order preserved?
Yes. Chapters follow the EPUB spine (the publisher's reading order), each chapter starts with its heading, and the chapter list is shown before you download.
Related Text Tools
EPUB to HTML
Turn an EPUB ebook into one self-contained HTML file you can open anywhere.
Text / Markdown to EPUB
Turn plain text or Markdown into a proper EPUB ebook you can read in any reader.
EPUB Reader
Open and read EPUB ebooks right in your browser - chapter list and dark mode.
EPUB Metadata Editor
Edit an ebook's title, author and description - chapters untouched.
Word Counter
Count words, characters, sentences and reading time in any text.