EPUB Table of Contents Generator
If a book's contents list is missing or wrong, rebuild it from the headings in the text. Choose how deep to go, and add a Contents page if you like.
- Free, no daily limits
- Book stays on your device
- Built from your headings
- No watermark
- Runs on your device. Files are never uploaded.
- Free and unlimited. No sign-up, no watermark.
EPUB table of contents generator in three steps
No account, no email, no waiting for an upload.
- STEP 01
Add your EPUB
Drop an EPUB on the page, or tap Choose file.
- STEP 02
Pick the depth
Choose Chapters only, Chapters and sections, or three levels. Tick the box to also add a Contents page at the start.
- STEP 03
Download the book
The note tells you how many entries the new contents list has.
What EPUB table of contents generator does, and what it doesn't
We'd rather tell you up front than surprise you after the download.
What you get
- Reads your headingsHeadings from h1 to h6 in every chapter become entries.
- Three depthsA short list of chapters, chapters with sections, or three levels.
- Works for new and old readersA navigation document for EPUB 3 and a contents file for older readers are both written.
- Optional Contents pageA visible page listing the entries is placed after the cover, so readers can tap through.
Good to know
- It needs headingsIf chapters contain no heading tags, there is nothing to build from, and you get a message. Chapters without headings may use their page title instead.
- Existing contents are replacedThe old list is overwritten in the new file. Your original stays untouched.
- DRM-protected books are refusedLocked books cannot be edited. For a book you write yourself, structure it with headings first via DOCX to EPUB or Markdown to EPUB.
Your books never leave your device
The tool runs inside your browser instead of on our servers, so there is nothing to upload, store or delete afterwards.
Typical online tool upload
Your file travels over the internet, sits on someone else's computer for a while, and you wait for the upload and the download.
Mediaextractr no upload
The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.
When people use EPUB table of contents generator
Fix a book with a useless contents list
Replace a list that points to the wrong places.
Add navigation to a converted file
Give a book converted from text a proper contents.
Create a deeper list for a manual
Show sections as well as chapters.
Make a textbook easier to browse
Add a contents page students can tap through.
Mediaextractr vs typical upload tools
| MediaextractrPrivate | Typical upload tools | |
|---|---|---|
| Your file is uploaded | Never | Yes |
| Sign-up needed | No | Often, after a few files |
| Daily file limit | None | Often 1–2 free files |
| Watermark | Never | Sometimes |
| Wait for upload & download | No | Yes |
| Speed on very large files | Depends on your device | Depends on their servers |
How the list is built
The tool walks through each chapter file in reading order and collects every heading. If a heading has no id, one is added so the entry can link straight to it. The first entry for a file points to the top of the file, so readers open the chapter at its start.
The levels are normalized, so a book whose top heading is h2 still shows a clean outline.
Depth and the Contents page
Chapters only gives a short, tidy list for novels. Chapters and sections suits non-fiction. Three levels suits manuals.
The optional Contents page is an actual page in the book, useful in apps that hide the built-in contents.
Next steps
Check your work with Validate EPUB. If the book is very long, Split EPUB chapters can break it into volumes using the new list.
Questions, answered
How do I add a table of contents to an EPUB?
Add the EPUB, choose the heading depth, and download. The list is built from the book's headings.
Can I add a visible Contents page?
Yes. Tick the box and a page is added near the start.
Is my book uploaded?
No. The contents are rebuilt in your browser.
What if my book has no headings?
The tool tells you there is nothing to build from. Add headings in the source and convert again.
Does it work on a phone or Mac?
Yes, in any modern browser on Windows, Mac, iOS and Android.
Will it replace my old contents list?
In the new file, yes. Your original file is not changed.