Free EPUB to Markdown Converter (Chapter-by-Chapter)

Unpack DRM-free .epub books in exact reading spine order and convert every XHTML chapter to clean Markdown locally in your browser.

How Local EPUB Conversion Works

Unzips the EPUB archive locally with JSZip, reads META-INF/container.xml to locate the OPF package manifest, resolves the exact <spine> reading order, and converts each chapter XHTML file into clean Markdown separated by horizontal rules.

EPUB files bundle CSS stylesheets, navigation manifests, and verbose XHTML markup. Stripping those layers produces clean chapter text ideal for Obsidian notes, personal reading archives, or long-context LLM book analysis.

Key Capabilities

  • True OPF Spine Reading Order: Parses container.xml and the OPF spine manifest so chapters appear in exact book sequence rather than alphabetical filename order.
  • Clean XHTML Sanitization: Strips inline stylesheets, scripts, and epub layout wrappers while preserving headings, blockquotes, links, lists, and tables.
  • 100% Browser-Local: Your DRM-free ebooks and technical manuals are unpacked exclusively on your device with zero uploads.
  • Ideal for Obsidian & Long-Context LLMs: Export entire manuals or research books into one portable .md file ready for personal knowledge management.

How to Convert EPUB to Markdown

  1. Drop your DRM-free .epub file: Select an .epub ebook up to 16 MB using the local converter above.
  2. Parse chapters in spine order: MarkItDown unzips the archive in memory and converts every chapter XHTML file cleanly.
  3. Download your Markdown book: Copy or download the unified .md file for notes, search, or AI summarization.

Example Output (Systems_Design_Handbook.epub (2.4 MB))

# Systems_Design_Handbook

# Chapter 1: Reliable Pipelines

Local-first tools keep user data private while minimizing latency across edge networks.

---

# Chapter 2: Structured Output

Consistent Markdown headings and tables make long technical manuals searchable and easy to chunk.

Offline Desktop & More Converters

Converting large multi-book archives or ZIP bundles? MarkItDown for Windows handles large local files offline with no browser memory ceiling. Download MarkItDown for Windows or read the Supported Formats documentation.

Frequently Asked Questions

Does MarkItDown keep chapters in the right reading order?

Yes. It parses META-INF/container.xml and the OPF spine manifest to extract chapters in their exact book sequence.

Can it convert DRM-protected EPUB files?

No. Like standard open parsers, it works on DRM-free EPUB files whose XHTML chapters can be read locally.

Are my ebooks uploaded to any server?

No. JSZip and the DOM parser execute entirely inside your local browser session.