Merge PDFs while preserving bookmarks

3 November 2026

Binder clips and drawing pins on a yellow background.
Illustrative photograph. Cropped and resized. Photo: “Background Office Supplies” — Artsy Crafty / NegativeSpace. · CC0 1.0

Two bookmarks called Summary can be valid in the same PDF. What matters is where each lands. Before merging, record the source file, its revision, the bookmark's position in the outline and the destination it opens. After merging, test each destination in the exact output a recipient will receive. Renaming a bookmark may make the list clearer, but does not repair a wrong destination.

Map the two source destinations

The first-party design lays out a ten-page pack. The briefing contributes source A pages 1–3, followed by a separator on output page 4. The schedule contributes source B pages 2–5, which land on output pages 5–8. Two drawing pages complete the pack. These are one-based physical positions. The design has no recorded output file or execution result. Assembly manifest

For this exercise, suppose each source's second physical page contains a different Summary destination. A's bookmark should land on output page 2. B's should land on output page 5 because its own page 1 was excluded and a separator precedes it.

Outline path in the merged packRetained source destinationExpected output positionIndependent check
Briefing → SummaryA, revision 2, physical page 22Open from the outline and match a distinctive passage on the briefing page.
Schedule → SummaryB, revision 4, physical page 25Open from the outline and verify the schedule's distinctive passage.

We separately generated ten harmless pages, rebuilt the two Summary entries from this mapping and read their saved destinations with pypdf. They led to physical pages 2 and 5, whose text markers read “A2 briefing summary” and “B2 schedule summary”. This checks the saved structures for that file. Open the generated PDF · Read the measured results.

Keep source revision and physical destination in separate columns. A viewer's printed page label can restart from one in each section. A displayed “2” therefore cannot identify which Summary is open.

Save the merged file and reopen it without the source documents available. Expand each outline branch and follow the actual bookmark. Record the output version, location and content marker that identifies the correct section. If the original bookmark targeted a point within a long page, also check whether it opens at a useful position.

If the Schedule bookmark instead lands on the briefing, change the underlying destination, save a new version and retest both bookmarks. Do not record a collision merely because the names match. In this example that misdirection is a deliberate failure condition to test, not an observed defect in a product. Give the verified output and the completed mapping to the person releasing the pack.

Part of the Merge and split business PDFs without losing control guide.

Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).