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.
Unpack DRM-free .epub books in exact reading spine order and convert every XHTML chapter to clean Markdown locally in your browser.
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.
# 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.
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.
Yes. It parses META-INF/container.xml and the OPF spine manifest to extract chapters in their exact book sequence.
No. Like standard open parsers, it works on DRM-free EPUB files whose XHTML chapters can be read locally.
No. JSZip and the DOM parser execute entirely inside your local browser session.