PdfLuxe logoPdfLuxe

PdfLuxe › Tools › Table of Contents

Table of Contents

A long PDF without a contents page makes readers scroll and guess. This tool reads your document's own text, finds its headings — lines set noticeably larger than the body text, plus lines that begin “Chapter”, “Part” or “Section” — and builds a contents page at the front, with real links that jump to each heading's page. Free, no sign-up, no watermark, and it runs in your browser: your files never leave your device.

PDF → PDF with contents page
Open Table of Contents — free

How to use Table of Contents

  1. Add your PDF — it is read on your device, never uploaded anywhere.
  2. Tap Add contents page. The headings are detected from the document's text sizes.
  3. Download the new PDF — contents page first, then your document, with page numbers that match the new file.

Good to know

How Table of Contents works

This tool builds a proper contents page and inserts it at the front of your PDF with pdf-lib. You supply the entries — each a title and the page it belongs to — and the tool draws a clean contents page with dotted leaders and page numbers, then makes every entry clickable: tapping an entry in a PDF reader jumps straight to that page, because each line carries a real internal link annotation, not just printed text. The contents page is added as a new first page and the document's existing pages shift by one, which the tool accounts for in the link targets.

That distinction — printed text versus working links — is what separates a contents page from a picture of one. A reader on a phone, where scrolling a 200-page document is miserable, can open the contents, tap 'Chapter 4', and land exactly there. The entries themselves come from you rather than from automatic detection, which keeps the tool honest: it never invents chapter titles it cannot actually find in your document.

When to use Table of Contents

Privacy — your files stay on your device

Your files are processed on your own device, in your browser, and are never uploaded. There is no account, no sign-up and no cloud copy of your document: the work happens in this tab, and the result exists only as the file you download. The contents page is built and linked in this tab; your PDF is never uploaded.

Questions people ask

Is this really free?

Yes. Every tool in PdfLuxe is free with no premium tier: no sign-up, no credits that run out, and no watermark on what you download.

Are my files uploaded anywhere?

No. The tool runs entirely in your browser, on your own device. The file you add is never uploaded to a server.

How are headings detected?

The most common text size in the document counts as body size. Short lines set at least about 28% larger, and lines starting with Chapter, Part, Section or Appendix, become entries; bigger headings indent less, smaller ones more.

My PDF is a scan — will it work?

A scanned PDF has no text layer to read, so no headings can be detected and the tool says so rather than inventing a contents page. Run OCR PDF first to add a text layer.

Are the entries really clickable?

Yes — each entry is a PDF link annotation to its page. The printed page numbers also match the new file (contents pages included in the count).

What if no headings are found?

The tool reports that plainly and adds nothing. If the document's headings are the same size as its body text, Create Bookmarks can suggest headings and lets you edit them by hand.

Do the contents entries really work as links?

Yes. Each entry is drawn with a genuine internal link to its target page, so clicking or tapping it in any standard PDF reader jumps to that page. Print the document and the same page works as an ordinary printed contents list.

Should my page numbers count the contents page itself?

Enter the page numbers as they are in your original document — the page where the chapter actually starts, before the contents is added. The tool inserts its page at the front and adjusts the link targets for the shift.

Why add a contents page?

Reports, theses, manuals and ebooks are navigated, not read cover to cover. A contents page at the front — with working links — is the difference between a document people can use and one they skim and abandon. Because the entries are generated from the document's real headings and real page positions, they cannot drift out of date the way a hand-typed contents list does when pages are added or removed.

Honest limits

Detection is typographic: headings must be visibly larger than body text (or start with Chapter / Part / Section / Appendix). At most 220 entries are listed. The original pages are copied exactly — bookmarks already in the file are carried with the pages, and the new contents page is added in front.

Related tools

Open Table of Contents in PdfLuxe

Questions about this tool? Email support@pdfluxe.com.