Convertly Epub

Generate the table of contents of an EPUB

Create the table of contents of an EPUB by choosing the heading levels to include.
  1. 1Import
  2. 2Adjust
  3. 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”

  1. Import the book

    Drop one or more EPUBs.

  2. Choose the source

    Book headings, or one chapter per file.

  3. Set the levels

    Heading levels from 1 to 6 to keep.

  4. Set the options

    NCX, landmarks, visible contents page, table title.

  5. 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.

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