# EPUB to Markdown converter

> Open an unprotected .epub book and get one Markdown document: the book title as the top heading, then every chapter in reading order, separated by horizontal rules.

Source: https://markdownlens.ayushdev.com/epub-to-markdown · Updated 2026-11-12 · Markdown Lens, free and open source: https://github.com/ayushhagarwal/markdown-lens

Markdown Lens follows the EPUB package spine, uses the book title when available, and keeps chapter boundaries visible.

Open the converter: https://markdownlens.ayushdev.com/epub-to-markdown (drop a EPUB file on the page; it is processed in your browser and not uploaded).

## Steps

1. Choose an unprotected .epub file.
2. Chapters are converted in package reading order.
3. Review the combined Markdown and export it.

## What the converter preserves

- Book title and spine chapter order
- Chapter headings, paragraphs, lists, and links
- Basic tables, emphasis, and code
- Clear separators between source chapters

## Limitations

- DRM-protected books cannot be opened.
- Fixed-layout EPUB presentation is flattened.
- Fonts, reading-system styling, and interactive widgets are omitted.

## How an EPUB becomes Markdown

An EPUB is a ZIP of XHTML chapter files plus a package file that lists them in reading order (the spine). Markdown Lens reads that order, converts each chapter’s XHTML to Markdown, puts the book’s title at the top as a # heading, and inserts a --- rule between chapters so you can still see where each one starts.

## Good uses for EPUB to Markdown

- Pulling quotes and notes from your own or DRM-free books into a notes app.
- Converting documentation or reports published as EPUB back into editable source.
- Preparing a long text for search, summarizing, or an AI workflow you control.

## Frequently asked questions

### Does EPUB conversion require an account?

No. The book is parsed locally without an account or upload.

### Does it remove DRM?

No. Protected EPUB files are unsupported.

### Can I convert Kindle books?

Only DRM-free books in EPUB format. Kindle formats and protected files are not supported.

## Related

- [HTML to Markdown converter](https://markdownlens.ayushdev.com/html-to-markdown): Convert local HTML files into editable Markdown.
- [PDF to Markdown converter](https://markdownlens.ayushdev.com/pdf-to-markdown): Extract selectable PDF text into editable Markdown.
