Table of Contents
Generate a contents page from bookmarks or detected headings, with dot leaders and page numbers.
About this tool
Table of Contents builds a real contents page and inserts it into your PDF. Entries come from the document's bookmarks, from headings detected by font size, or — when neither exists — one entry per page.
Choose the title, how many heading levels to include, where to insert the page (start, after the cover, or end) and whether to draw dot leaders. Page numbers are calculated after the new pages are inserted, so they always match. Entries can also be made clickable.
The text is real, selectable PDF text in Sarabun, so Thai and English titles both render correctly and the result stays small. Works well at the end of a workflow: merge files, add page numbers, then create the contents page.
Engines: pdf-lib · pdfjs
How to use
- 1
Open your PDF (ideally with bookmarks).
- 2
Pick the source, depth and position.
- 3
Click “Create table of contents” and download.
Use cases
Reports and theses
Add a professional contents page to a merged report in seconds.
Course packs
List every handout in a combined PDF for students.
Print-ready books
Insert a contents page after the cover before sending to the printer.
Frequently asked questions
My PDF has no bookmarks — will it work?
Yes. “Automatic” falls back to detecting headings by font size, and then to one entry per page.
Are the entries clickable?
Turn on “Clickable entries”. For styled links, use Interactive TOC Generator.
Will page numbers be correct after inserting the TOC?
Yes, they are the physical page numbers in the final file.
You may also like
Interactive TOC Generator
Insert a table of contents whose entries are clickable links to each section.
Edit & AnnotateEdit Bookmarks
Add, rename, nest, reorder or delete PDF bookmarks (the outline shown in the sidebar of PDF readers).
Edit & AnnotateBookmarks Auto-Generator
Create bookmarks automatically from the headings in your PDF.
Edit & Annotate