Skip to content
Jellykit

EPUB to Text

Extract the readable text of a DRM-free EPUB book in reading order, as plain text or Markdown, in one file or one file per chapter.

  • Runs on your device
  • Works in the background
Loading tool

About EPUB to Text

Get the words out of an e-book: for quoting, searching, reading on a device that does not open EPUB, or feeding into another tool. Chapters come out in reading order, with headings, paragraphs, lists and block quotes kept as plain-text structure or as Markdown with emphasis.

Choose one file for the whole book or one file per chapter. The book is unpacked in your browser and never uploaded. Only DRM-free books can be read; a protected book is reported as such.

How it works

  1. The book is a zip archive. Its container file points to the package file, which lists the chapters in reading order; only those documents are unpacked, never the images or fonts.
  2. Each chapter’s XHTML is read by a forgiving parser, so sloppy markup does not lose a chapter. Scripts, styles, print page-number markers and ruby readings are left out.
  3. Headings, paragraphs, lists, block quotes, line breaks, code and rules are kept. In Markdown, italic and bold text are marked and punctuation that Markdown would misread is escaped.
  4. Pages with no text, such as a cover picture, are skipped. Images themselves are not carried over.

Questions

Can it open Kindle or DRM-protected books?

No. It reads EPUB files without DRM. If a book’s chapters are encrypted, the tool says so rather than producing garbage. Kindle formats such as AZW and MOBI are not EPUB.

Where are the chapter titles taken from?

From the first heading in each chapter, or the chapter’s own title when it has no heading. They name the files when you choose one file per chapter.

How large a book can it handle?

Books up to 300 MB, which covers heavily illustrated ones, since only the text documents are unpacked. The text of one book may be up to 256 MB once unpacked.

Are footnotes and tables kept?

Their text is. Footnotes appear where the book places them, and each table row becomes one line with its cells separated by tabs (or by a vertical bar in Markdown).

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.