← All Tools

Table of Contents Generator for Kindle and EPUB

Table of Contents Generator for Kindle, EPUB3, and NCX formats. Paste your chapter headings and get a correctly structured, clickable TOC ready to publish — no coding required. Included in the Starter and Pro plans.

Loading tool...

Table of Contents Generator for Kindle and EPUB

KDP requires a specific TOC format for Kindle books. Get it wrong and your book fails quality review. This tool generates the correct code for Kindle HTML, EPUB3 nav.xhtml, and NCX formats.

Kindle and EPUB3 Table of Contents Code, Auto-Generated

Clickable TOC in Kindle HTML format ready to paste into your manuscript. EPUB3 nav.xhtml for Apple Books and Kobo. NCX XML for older EPUB readers. Plain text TOC for print editions. Supports H1, H2, and H3 heading levels.

Who This Is For

Authors formatting their own books for KDP without hiring a formatter. Anyone who has had a book rejected for TOC errors. Formatters who want to generate clean TOC code without hand-coding it.

Build a Clickable TOC From Your Chapter Headings

Paste your manuscript or just your chapter headings, select which heading levels to include, choose your output format, and copy the generated TOC code directly into your file.

For a full reference on EPUB table of contents structure — nav.xhtml format, toc.ncx for older readers, nested TOC hierarchies, and what KDP validates in your navigation document — see the EPUB TOC guide.

Common questions

It is a logic tool included in the Starter and Pro plans. No AI credits are used.
Either works. Paste the full manuscript and the tool extracts headings automatically, or paste just your chapter titles — one per line — if you want direct control over what appears in the TOC.
Copy the output and paste it into the correct location in your manuscript file. For Kindle HTML, it goes near the front of your HTML file. For EPUB3 nav.xhtml, it replaces or becomes your navigation document. For NCX XML, it replaces your toc.ncx file.
Yes. Use the heading detection options: auto-detect for standard heading styles, # prefix for chapters marked with a hash symbol, or all-caps lines if your headings are written in capitals. Pick whichever matches your manuscript.
Yes. H1, H2, and H3 levels are all supported and can be toggled independently. Use H1 for parts, H2 for chapters, and H3 for sections to get a properly nested TOC.
Yes. The tool uses whatever text your headings contain — Chapter 1, The Storm, Part Two: The Reckoning — any heading text works as a TOC entry.
Vellum and Scrivener generate TOCs automatically when you compile your manuscript. Use this tool if you're formatting manually, fixing a pre-existing EPUB file, or if your Kindle upload was rejected for a TOC error that you need to rebuild from scratch.