Add Table of Contents
Insert a styled table-of-contents page from the document bookmarks or a manual list, with correct printed page numbers.
Add Table of Contents
Runs in your browser · files are not uploadedAbout Add Table of Contents
Add Table of Contents generates a real contents page: title, indented entries from the outline (or from a manual “Title | page” list), dot leaders and printed page numbers. The numbers are the page positions after the insertion, so what is printed matches what the reader shows once the TOC pages are in place — a document whose chapter starts on sheet 4 prints “4” even after the TOC shifted it. Entries wrap, long titles are truncated with an ellipsis, and multi-page tables paginate with a footer. A document without bookmarks is refused unless you switch to the manual list, and the report records the insertion point, page count and every entry with its source and printed page.
How to use Add Table of Contents
- Upload the PDF and choose the source: bookmarks or a manual list.
- For bookmarks, pick how many outline levels to include.
- For the manual list, write one entry per line as “Title | page”.
- Choose where to insert the contents page (front or end).
- Run the tool and check the printed numbers against the reader.
Supported formats, limits and processing
- Input: PDF
- Output: PDF + JSON report
- Processing: entirely in your browser. Files are never uploaded.
- Limits: up to 25 MB per file, 10 files per job, 200 pages. Plan limits may be higher.
Privacy and file handling
This tool uses JavaScript and WebAssembly inside your browser. Your document is read locally, the output is created locally, and no file content is transmitted to our servers. Only an anonymous usage event (tool name and status, never the filename or content) may be recorded to measure reliability.
Troubleshooting
- The printed page numbers look shifted
- They are the positions after the insertion, which is what the reader shows once the TOC pages exist. A chapter on sheet 3 prints “3” if one TOC page was added in front.
- “This PDF has no bookmarks to build a table of contents from”
- Generate bookmarks first with Edit PDF Bookmarks, or switch to the manual entry list.
- Long titles are cut off
- Entries wrap to the available width; titles that still overflow are truncated with an ellipsis so the page number column stays aligned.
Add Table of Contents FAQ
Are the printed page numbers correct after insertion?
Are the entries clickable?
My PDF has no bookmarks — can I still get a TOC?
How many entries fit on one page?
Related tools
More Edit PDF tools
Add Watermark to PDF
Add a text watermark with opacity, size, colour and rotation, or remove a matching text watermark with the companion tool.
Stamp PDF
Apply text, status, date, time, image, logo or seal stamps to a PDF with position, size, colour and opacity controls.
Edit PDF Text
Remove a matching text run from simple PDF content streams and draw replacement text at the chosen position. Works when the existing text is stored as a normal PDF string, not a custom-encoded glyph run.
Add Text to PDF
Place selectable text or a styled text box at precise page coordinates with font, size, colour, background, border and alignment controls.