EPUB to Markdown

Turn a DRM-free EPUB into Markdown or plain text, chapters in reading order. Converted in your browser — the book is never uploaded. Free, no ads, works offline.

How the conversion works

An EPUB file is a zip archive of web pages with a little bookkeeping on top. One file inside, META-INF/container.xml, points to the book's package document, and the package document holds the two lists that matter: a manifest of every file in the book, and a spine that gives the reading order. This tool opens the zip in your browser, follows the container to the package, and walks the spine from start to finish.

Following the spine is the part that is easy to get wrong. The files in an EPUB are not stored in reading order — in the Project Gutenberg edition of The Yellow Wallpaper, for example, the cover page is the last file in the archive but the first page of the book. An archive also holds pages that are not part of the text at all, such as the table of contents. Joining the files in the order the archive happens to store them gives you the wrong book; the spine gives you the right one.

Each chapter is then converted from its HTML. Headings become Markdown headings, paragraphs stay paragraphs, numbered and bulleted lists keep their nesting, blockquotes stay quoted, and italic and bold survive as *italic* and **bold**. Links to web pages are kept; links from one part of the book to another are reduced to their text, since they point at files that will not exist next to your Markdown. Styling — fonts, colours, spacing — is dropped. Plain text output does the same walk and leaves out the Markdown syntax.

Characters that Markdown would read as formatting are escaped, so a sentence that begins "1999." does not turn into a numbered list, and an asterisk in the text stays an asterisk.

What is left out

Images are removed and counted, and the count is shown beside the result. Writing them out as image links would leave every one broken, since the pictures stay inside the EPUB. Pages marked as outside the reading order — notes, extras — and the EPUB 3 table of contents are skipped too, and also counted. Tables come through as one line per row with the cells separated by a vertical bar, which keeps their content without trying to reproduce their layout.

DRM, and other files that will not convert

Books bought from most large stores are protected with DRM: their chapters are encrypted, so there is no text in the file to convert. This tool recognises that and says so rather than producing garbage. Removing DRM is not something it does. Books from Project Gutenberg, Standard Ebooks, and many independent publishers are DRM-free and convert normally.

Some EPUBs scramble their embedded fonts so the fonts cannot be copied out. That is not DRM — the text is untouched — and such books convert like any other. A file that is not a zip, a zip that is not an EPUB, or an EPUB whose package is missing each gets its own message saying which.

Only EPUB is read. Kindle formats such as MOBI and AZW3 are a different and much larger problem, and are not supported.

Private by construction

The conversion runs entirely in your browser. The book is read from your disk into the page and never sent anywhere, so it works offline once the page has loaded. The Markdown it produces can be pasted into the Markdown Preview tool to read it rendered.

Is my book uploaded anywhere?

No. The EPUB is opened and converted inside your browser, and nothing is sent to a server. The page works offline once it has loaded.

Why does it say my EPUB is DRM-protected?

Because its chapters are encrypted, so there is no readable text in the file to convert. That is how store DRM works, and this tool does not remove it. DRM-free EPUBs, such as those from Project Gutenberg or Standard Ebooks, convert normally.

Are the chapters in the right order?

Yes. The order comes from the book’s own reading order (its spine), not from the order of the files inside the archive, which is often different.

What happens to images?

They are left out, and the number left out is shown with the result. Image links would all be broken, since the images stay inside the EPUB file.

Can it convert Kindle books (MOBI, AZW3)?

No. Only EPUB 2 and EPUB 3 are supported. Kindle formats are a different file structure entirely.

What is the difference between Markdown and plain text output?

Markdown keeps the structure as text you can render: # for headings, - and 1. for lists, *italics* and **bold**. Plain text keeps the same words and paragraphs with none of that syntax.

Updated October 1, 2026

This site is vibe coded. The tools here were built largely by AI, so treat what they tell you as a starting point rather than an answer — double-check anything that matters before you rely on it.

Crunchify.net — 139 free tools, no ads, no tracking.