Generate the table of contents of an EPUB
Create the table of contents of an EPUB by choosing the heading levels to include.- 1Import
- 2Adjust
- 3Download
Drag and drop your EPUB books here
or click to select them from your device · 100% processed in your browser
About this tool
“Generate the table of contents automatically” creates an EPUB’s contents from the book’s headings or one chapter per file, with a hierarchy of nested sections.
The nav.xhtml file is created or updated, an NCX can be added for older readers, anchors are placed on headings and a visible contents page can be inserted.
Main benefits
- Nested hierarchy
- nav.xhtml and NCX
- Anchors added
- Visible page as an option
How to use “Generate the table of contents automatically”
Import the book
Drop one or more EPUBs.
Choose the source
Book headings, or one chapter per file.
Set the levels
Heading levels from 1 to 6 to keep.
Set the options
NCX, landmarks, visible contents page, table title.
Collect
Save the book equipped with its contents.
Key features
- Hierarchy: nested sections following heading levels
- nav.xhtml created or updated
- NCX for older readers
- Anchors added to headings
- Landmarks: start and contents
- Visible contents page, as an option
Compatible formats
Accepted formats
- EPUB
Output formats
- EPUB
- ZIP
Touch up an existing table?
To include or exclude entries, use the table of contents tool.
Common use cases
Book without contents
Give real navigation to an EPUB coming from a word processor.
Unusable table
Start over from the headings.
Long work
Create a multi-level table.
Compliance
Meet a platform’s navigation requirement.
Frequently asked questions (FAQ)
Where does the contents come from?
From the book’s headings, or one chapter per file.
How many levels?
From 1 to 6, as you choose.
Is an NCX needed?
Only for older readers; you choose.
Can I have a contents page in the text?
Yes, as an option.
What capacity?
20 books per pass, 100 MB each.
Related tools
Discover other tools for your e-books and EPUB files.
Repair the table of contents
Dead entries, anchors, nav and NCX
Table of contents
Choose the chapters in the table of contents
Check the navigation file
nav.xhtml and NCX
Rename chapters
Number or title the chapters
Split into chapters
Split at headings or scene breaks
Convert EPUB 2 to EPUB 3
Package, navigation and metadata
File privacy
Your files stay in your browser: processing happens on your device and no book is sent to a server.
Understanding the tool settings
Here is what each setting really changes in the result.
Source
Book headings or one chapter per file.
Levels
From 1 to 6.
NCX
Depending on version, or always.
Page
Visible contents, landmarks, table title.
Common problems and solutions
Contents too detailed?
Limit heading levels.
Documents without a title?
Tick adding them or change source.
Table not shown?
Your reader may use the NCX: add it.
Inconsistent titles?
Normalise them first with the case tool.
Book not read?
Only EPUB is accepted.
Bulky book?
Above 100 MB it is set aside.
Best practices
- Use hierarchical headings: level 1 for chapters.
- Limit to two levels: comfortable reading.
- Place the landmarks: direct access to the start.
- Add the NCX: old compatibility.
- Validate afterwards: check navigation.
- Keep the original: unchanged.
Security and privacy
Local processing
The work is done directly in your browser, on your device.
No upload required
Your files are sent to no server: nothing is uploaded or stored.
Local generation
Your browser builds the table; the book goes to no server.
Compatibility and limits
What the tool accepts, what it produces and how far it goes.
- EPUB books in; EPUB books equipped with a contents out, in a ZIP for a series.
- Capacity: 20 books per pass, 100 MB each.
Go further
Validate an EPUB
Check your book’s structure, package, navigation, XHTML and resources with EPUBCheck, and read errors and warnings file by file.
Check the OPF file
Check your book’s package file: required metadata, identifiers, manifest, media types, properties, reading order, fallbacks and container.
Add chapters
Add several chapters to your EPUB book at once from a simple list of titles, wherever you choose.
Merge chapters
Combine several chapters, consecutive or not, into a single chapter, with or without a scene break between them.
