Other PDF Issues

How to Extract All Bookmarked PDF Pages as One File in Acrobat

Olivia MillerOlivia Miller Nov 3, 2026 869 views

Question details

The user needs to extract every page associated with a PDF bookmark and combine those specific pages into a single new PDF document.

How to Extract All Bookmarked PDF Pages as One File in Adobe Acrobat
Product
Adobe Acrobat
Device & OS
not provided
Scenario
Extracting and combining specific bookmarked sections from a larger PDF file for targeted distribution or review.
Observed behavior
The user is looking for an automated or highly efficient method to identify bookmarked pages (including nested bookmarks), handle duplicates, and output them as one unified file.
Before you start

Before running any custom scripts, make sure to back up your original PDF file to prevent accidental data loss. Ensure you are using Adobe Acrobat Pro, as Acrobat Reader does not support advanced JavaScript execution for page extraction.

Solution 1Recommended

Use Acrobat JavaScript to Extract Bookmarked Pages

Utilize custom JavaScript code in Adobe Acrobat Pro to automate the extraction of all bookmarked pages into a single new file, bypassing the need for manual selection.

Adobe Acrobat does not feature a native one-click button to extract pages purely by bookmarks. However, you can use the built-in JavaScript engine to automate the process. This method requires a script that reads the bookmark tree, records the page numbers, removes duplicate references, and extracts the results.

1
Open the JavaScript Console

Launch Adobe Acrobat Pro, open your target PDF document, and press Ctrl+J (Windows) or Cmd+J (Mac) to open the JavaScript Debugger.

2
Prepare the Bookmark Script

Write or paste a custom JavaScript code that recursively iterates through 'this.bookmarkRoot.children' to identify all bookmarked pages, storing their page numbers in an array while filtering out duplicate values.

3
Execute the Page Extraction

Include the 'this.extractPages()' method in your script, passing your cleaned array of page numbers to automatically pull the required pages and prompt a save dialog for the newly combined PDF.

Use Acrobat JavaScript to Extract Bookmarked Pages
Scripting Requirements: Writing Acrobat JavaScript requires basic programming knowledge. If you are unfamiliar with scripting, consider searching the Adobe Community forums for pre-written bookmark extraction scripts.
Easy PDF Page Extraction

Extract and Combine PDF Pages Effortlessly in WPS Office

WPS Office provides an incredibly intuitive graphical interface for managing, extracting, and combining PDF pages without the need for complex JavaScript coding. You can quickly view your bookmarks and extract exactly what you need.

  1. 1. Open Your PDF File: Launch WPS Office and open the PDF document from which you want to extract pages.
  2. 2. Access the Extract Tool: Navigate to the 'Page' tab located in the top navigation ribbon, and click on the 'Extract Page' tool.
  3. 3. Extract as One File: Enter the specific page numbers you identified from your bookmarks, select the option to extract them as a single combined file, and click 'Extract' to finish.
Visual page extraction without programming knowledgeFull compatibility with standard PDF formatsLightweight software with fast processing speedsSeamlessly combine extracted pages into a single document
QA img-9

Frequently Asked Questions

Can I extract bookmarked pages in Adobe Acrobat Reader?

No, Adobe Acrobat Reader is a free viewer and lacks the advanced page organization and JavaScript execution features required for page extraction. You need Adobe Acrobat Pro or a powerful alternative like WPS Office.

How do I ensure duplicate bookmarked pages aren't extracted multiple times?

When manually extracting pages, simply select the page thumbnail once. If using an Acrobat JavaScript, ensure the script contains logic to filter the array of page numbers for unique values before executing the extract command.

Is there a built-in button in Acrobat to extract by bookmarks?

Adobe Acrobat does not have a native, single-click button designed specifically to extract pages based purely on bookmarks. It requires using the 'Organize Pages' tool manually or deploying a custom JavaScript.