โ—† ClientPDF
running locally in this tab โ€” nothing uploaded

Why did merging my PDFs lose the bookmarks and table of contents?

You merged a few PDFs โ€” maybe a report with a clickable table of contents, or a book with chapter bookmarks in the sidebar โ€” and the merged file opens fine, all the pages are there, but the bookmark panel is empty. Nothing crashed, no pages are missing. This is a specific, well-understood gap in how most merge tools work, not damage to your file.

Bookmarks live outside the pages, not inside them

A PDF's clickable bookmark list (technically its outline tree) isn't stored as part of any individual page. It's a separate structure hanging off the document's catalog โ€” a tree of named entries, each pointing at a page and a position on it. The pages themselves know nothing about it.

Most lightweight merge tools, including this one, work by copying page objects from each source file into a brand-new PDF document. That's enough to carry over everything visibly printed on the page โ€” text, images, internal page-to-page links โ€” because those live on the page itself. The outline tree does not live on the page, so nothing about a plain page-copy makes it come along. It has to be read from the old document, rebuilt entry by entry with corrected page references, and written into the new document's catalog โ€” a distinct step that a page-copying merge doesn't perform.

Why this tool doesn't do it (yet)

ClientPDF's merge is built on pdf-lib, the same open-source library nearly all browser-based PDF tools use, because it's the one mature option that runs entirely client-side with no server round-trip. pdf-lib has no API for reading or writing a PDF's outline tree at all โ€” not a partial implementation, a missing one. Any merge tool built on it, this one included, inherits that gap: it can copy pages faithfully, but it has no way to rebuild bookmarks even if it tried.

What still works after a merge

What doesn't carry over: the bookmark/outline panel, and any named destinations the original PDF used for cross-document links.

What to do if you need the bookmarks

  1. If the source files' bookmarks matter for navigation, merge with desktop software that explicitly lists bookmark or outline preservation as a feature โ€” most full PDF editors do.
  2. If you only need a handful of entries, merge here first, then manually add a short bookmark list in a tool that supports creating outline entries.
  3. If the bookmarks are cosmetic and the page content is what matters, no action is needed โ€” the merge itself is complete and correct, just without that navigation aid.

Try it yourself: merge a few PDFs and check โ€” the pages and their content will be exactly right, and now you know why the bookmark panel might come up empty.