EPUB to Markdown

Extract an EPUB e-book into Markdown. Chapters follow the book's reading order and images are embedded.

Example

EPUB e-book
Chapter 1
It was a bright cold day…
Markdown
# Chapter 1

It was a bright cold day…

What it keeps

  • Chapter text in spine (reading) order, with a --- rule between chapters
  • Headings, emphasis, links, lists and tables
  • Images, embedded as data URIs
  • Navigation, contents and cover pages are skipped

Where it struggles

  • CSS styling is dropped
  • DRM-protected books can't be opened
  • Footnotes and pop-ups become inline text

Frequently asked questions

Can it open any EPUB?

Any DRM-free EPUB. Books with copy protection can't be unpacked.

What happens to images?

Images inside the book are embedded in the Markdown as data URIs. CSS styling is dropped.

Is the book uploaded?

No. The EPUB is unzipped and read inside your browser.