EPUB Table of Contents — Auto-Generated, Chapter-Based Navigation

Read the navigation already built into your EPUB (EPUB3 nav or EPUB2 NCX), auto-fill any chapters it leaves out, and view the full outline as a clean indented tree. Export it as Markdown, HTML or plain text in one click — everything runs locally in your browser, so your e-book never leaves your device.

Key Features

Smart TOC Extraction

Reads the real navigation from EPUB3 nav.xhtml and EPUB2 toc.ncx automatically, preserving the book's own structure and nesting.

Auto-Fill Missing Chapters

Chapters the built-in navigation skips are generated from their own headings (H1–H3), so every chapter has a place in the outline.

Clean Hierarchical Outline

Entries are grouped into an indented tree that mirrors the book's chapter and section hierarchy — easy to scan at a glance.

Export as Markdown, HTML or TXT

Copy or download the outline as GitHub-style Markdown, a standalone HTML page, or plain text for notes, docs and reading lists.

100% Private & In-Browser

The EPUB is parsed entirely in your browser with a pure-JavaScript engine. No file is ever uploaded or stored anywhere.

Free, No Sign-up

Works in any modern browser on any device. No account, no cost, no watermark — just drop in a file and go.

What Is an E-book Table of Contents?

Every well-formed EPUB carries a navigation document: EPUB 3 files use a nav.xhtml with a "toc" navigation element, and EPUB 2 files use a toc.ncx. This is the outline your e-reader or reading app shows when you open the "Table of Contents" — the chapters and sections a reader can jump to. Many files, though, ship an incomplete navigation: some chapters are missing entirely, or the outline stops at the chapter level. This tool reads whatever navigation the book already has, then auto-generates entries for the chapters it left out by scanning each chapter's H1–H3 headings, and shows the merged result as a clean indented outline. Export it as Markdown to paste into docs or READMEs, as HTML for a printable page, or as plain text for a reading list.

How to Use the EPUB Table of Contents Tool

Three steps — no sign-up, no upload, no cost.

1

Upload your EPUB

Drag and drop an .epub file onto the upload area, or click to browse. The book's own navigation is read and missing chapters are auto-filled instantly.

2

Review the outline

The complete table of contents is shown as an indented tree, with a breakdown of how many entries came from the book's navigation and how many were auto-generated.

3

Export or copy

Pick Markdown, HTML or plain text, then Copy the outline straight to your clipboard or download it as a file named <name>_toc.<ext>.

Good to Know

DRM-protected (encrypted) e-books cannot be read, so they cannot be processed. The outline is generated from the book's own navigation and chapter headings — a book whose files are missing or unreadable may produce an incomplete outline. Generated entries use each chapter's H1–H3 headings; chapters without headings fall back to the file name. The exported HTML is a standalone, self-contained page with no external dependencies. All processing happens on your device, and your original file is never modified.

Frequently Asked Questions