PDF Table of Contents Generator
Build a clickable table of contents page from the PDF's bookmarks, from detected headings or from your own list, with leaders, levels and correct page numbers.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Open the PDF
Load the document that needs a contents page.
- 2Choose the source
Pick bookmarks, detected headings or your own list.
- 3Check the entries
Read the table and adjust the size ratio or the levels.
- 4Set the layout
Type the title, choose leaders, text size and the offset for page numbers.
- 5Choose the position
Insert at the start or after a page number.
- 6Download
Preview the new pages and save the PDF.
About this tool
Long reports, theses, manuals and merged bundles are much easier to use with a contents page, but adding one usually means going back to Word. This generator makes it directly in the PDF. It takes the entries from the document's bookmarks, or finds headings itself by looking for text that is clearly bigger than the body text, or uses a list you type. It then inserts one or more contents pages at the start or after any page you choose, with a title, indented levels, dotted or ruled leaders and right-aligned page numbers. Every entry is a link to its page, and the page numbers already account for the pages that were inserted, so they stay right.
Where the entries come from
- Bookmarks: the best source when the PDF was exported from Word, Google Docs or LaTeX with headings, because they are exact. - Detected headings: text lines at least a chosen ratio bigger than the typical body size, such as 1.3 times. Bigger sizes become level 1, the next size level 2. Lines that only hold a number are ignored. - My list: one entry per line written as level | title | page, for full control.
With the default setting the tool uses bookmarks when there are any and detection when there are none.
Layout
Choose up to three levels, the text size, the title and dotted, ruled or no leaders. Long titles are shortened with an ellipsis so the page number always fits. When the list is longer than one page, more contents pages are added automatically.
Page numbers
The numbers printed in the contents are physical page numbers after the insertion. If your document counts pages differently, for example without the cover, use the offset: minus 2 prints 1 for the third physical page. For roman numbers on the front matter, combine this with the page labels editor.
Navigation
Each line is a link to the top of its page, and an optional bookmark for the contents page itself is added, so readers can always get back to it from the bookmarks panel.
Limits
Heading detection relies on font size, so documents where headings are only bold, not bigger, may need the manual list. Scanned pages need OCR first. The tool does not edit the existing pages; check the result in the preview before you share it, as this is a layout aid, not a proofreading service.
Worked example
A 48-page merged training manual has 9 bookmarks with sub-sections. With 2 levels and dotted leaders the tool inserts one contents page at the start; "Module 3: Safety" now points to page 18 instead of 17 because the contents page was counted.
Quick facts
- Category: Organize PDF
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: ISO 32000-1 (PDF 1.7), section 12.3.3 Document outline and 12.3.2 Destinations
Frequently asked questions
My PDF has no bookmarks. Will it still work?
Yes. The tool detects headings from the size of the text. Adjust the size ratio slider if it picks up too much or too little.
Are the entries clickable?
Yes. Every line is a link to the top of its target page, in all common PDF readers.
Can I put the contents after the cover page?
Yes. Choose After page and type 1, and the contents pages are inserted after the cover.
Why do the page numbers differ from the printed numbers on my pages?
The contents shows physical page numbers. Use the offset to match your document's own numbering.
Can I edit the entries before inserting?
Yes. Copy them from the table into My list, change the wording, levels or pages, and switch the source to My list.
Is the original file changed?
The download is a new PDF that contains your pages plus the contents pages. Your original file stays as it is.
