EPUB to Markdown ebook converter
Open an .epub file and this EPUB to Markdown converter gives you the whole book as one markdown file, chapter by chapter in reading order.
Why convert EPUB to Markdown?
An EPUB is a zip file full of web pages, style sheets, fonts and images. That is perfect for an e-reader but awkward when you want to quote a passage, search the text, feed it to a notes app or edit it. When you convert EPUB to markdown, you get a single plain text file you can open in any editor, put under version control, search with ordinary tools or paste into Obsidian.
The converter reads the book's spine, the list that sets the reading order, so chapters appear in the same order an e-reader shows them, separated by a horizontal rule. The title and author from the book's metadata go at the top. Headings, paragraphs, lists, tables, links, bold and italic come across as markdown. Images are replaced by their alt text so the file stays small, and styling such as fonts, colours and page breaks is dropped. A progress bar shows each chapter as it is converted.
The book is unpacked in your browser; it is never uploaded. That makes this EPUB to MD tool safe for drafts and private manuscripts. Books with DRM, such as most titles bought from big ebook stores, are encrypted and cannot be read by this or any other converter. DRM-free books, public-domain titles and your own exports work well. Because markdown is plain text, even a long novel usually comes out well under a megabyte.
Why use this EPUB to Markdown tool
Reading order
Chapters follow the book's spine, exactly as an e-reader shows them.
Structure kept
Headings, lists, links, bold and italic come across as markdown.
Private
The book is unpacked in your browser; nothing is uploaded.
How to convert EPUB to Markdown
- Open an .epub file.
- Wait while the chapters are converted.
- Copy, download, or open the result in the editor.
Common uses for EPUB to Markdown
- Pull quotes and passages from a DRM-free book into your notes app for study, teaching or research.
- Edit your own self-published ebook as plain text, fix typos in one place, then rebuild it after the changes with the reverse tool.
- Search a long book for a phrase, a character or a name with your usual text editor, then jump straight to every match.
- Put a public-domain book from a free library under version control, or publish it chapter by chapter on a static site.
- Read the book as a clean, distraction-free page in the markdown reader, with the same light and dark themes as the rest of the site.
- Make a quick printable copy of a DRM-free book with Markdown to PDF, for reading with a pen in hand.
Frequently asked questions
Does it work with DRM-protected books?
No. Books with DRM are encrypted and cannot be read by any converter.
Are images included?
Images are replaced by their description, so the text stays light.
Can I make an EPUB from markdown?
Yes, with Markdown to EPUB.
Is EPUB to Markdown free?
Yes. It is free, needs no account or sign-up, and works in desktop and mobile browsers. Big books with many chapters just take a few seconds longer, and the progress bar shows which chapter is being converted. Very large illustrated books depend on your device's memory.
Can I turn the markdown back into an EPUB?
Yes. Edit the file, then use Markdown to EPUB; every # heading becomes a chapter with its own entry in the table of contents.
What about footnotes?
Footnotes come across as text and links where the book has them, but the pop-up behaviour you get on an e-reader is lost. The footnote text usually lands at the end of its chapter or in a notes chapter, as it does in the book itself.
Open editor