PDF Editing Issues

How to Split a PDF by Bookmarks with Nonconsecutive Page Ranges

Huda QurayshiHuda Qurayshi Nov 5, 2026 869 views

Question details

The user needs to split a PDF document based on top-level bookmarks, but the pages associated with these bookmarks are not in a continuous sequence.

How to Split a PDF by Bookmarks with Nonconsecutive Page Ranges
Product
Adobe Acrobat
Device & OS
not provided
Scenario
The user wants to separate a large PDF into multiple files organized by top-level bookmarks, where the content for each bookmark is scattered across different, nonconsecutive page ranges.
Observed behavior
The standard split-by-bookmark feature only extracts the first consecutive page range for a given bookmark, entirely ignoring the rest of the scattered pages associated with it.
Before you start

Before applying custom scripts or altering your document's bookmark hierarchy, ensure you save a backup copy of your original PDF to prevent accidental data loss.

Solution 1Recommended

Use a Custom JavaScript Tool or Acrobat Plugin

Since native features cannot handle nonconsecutive ranges, using a dedicated JavaScript or a third-party Acrobat script is the most reliable automated method.

Standard PDF editors rely on a linear page structure when dividing documents. When a top-level bookmark spans multiple, interrupted page sequences, a script is required to loop through the document, read all page destinations associated with that bookmark, and extract them into a single comprehensive file.

1
Acquire a PDF extraction script

Find and download a reliable custom Acrobat script or paid tool specifically designed for extracting nonconsecutive bookmarks or lowest-level bookmarks.

2
Install the script into your PDF editor

Load the downloaded JavaScript file into your PDF editor's Action Wizard, custom tools panel, or JavaScript console.

3
Run the custom extraction tool

Execute the script from your tools menu and set the criteria for splitting your document, ensuring it targets the correct bookmark levels.

4
Save the separated files

Select a designated output folder and allow the script to process the document, generating new PDF files that accurately group your nonconsecutive pages.

Use a Custom JavaScript Tool or Acrobat Plugin
Advanced PDF Page Management

Easily Extract Custom PDF Pages with WPS Office

While automated splitting by nonconsecutive bookmarks often requires complex scripts, WPS Office provides a highly intuitive Page Management tool. You can effortlessly select, extract, and combine scattered page ranges manually into a single PDF without needing expensive software or coding knowledge.

  1. 1. Open your PDF in WPS Office: Launch WPS Office, click on 'Open', and select the PDF document you wish to edit.
  2. 2. Navigate to the Page tab: Click on the 'Page' tab in the top ribbon to access the comprehensive page management tools.
  3. 3. Select the Extract tool: Click on 'Extract Pages' and choose the 'Custom range' option in the dialog box.
  4. 4. Input nonconsecutive pages: Type your scattered page numbers (e.g., 1-3, 5, 8-10) and click 'Extract' to instantly generate a new, combined PDF file.
Intuitive interface for seamlessly extracting and splitting custom, nonconsecutive page ranges.Fully compatible with standard Adobe PDF documents and all Microsoft Office formats (Word, Excel, PowerPoint).Lightweight and fast, allowing you to open and organize massive PDF files without system lag.Includes free built-in tools for merging, compressing, and reorganizing PDF pages instantly.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my PDF editor only extract the first few pages of a bookmark?

Standard PDF editors use a linear extraction method. They look for the starting page of a bookmark and stop extracting when they encounter the starting page of the next bookmark. They cannot automatically leap over unrelated pages to continue gathering a single bookmark's scattered content.

Can I natively split a PDF by nonconsecutive top-level bookmarks in Adobe Acrobat?

No, Adobe Acrobat's native 'Split by Bookmark' feature only supports continuous page ranges. To split scattered pages automatically based on bookmark hierarchy, you must utilize a custom Action Wizard JavaScript or a third-party PDF plugin.

Is it possible to combine extracted nonconsecutive pages into one PDF manually?

Yes. You can manually extract specific customized page ranges (such as pages 1-5 and 10-15) using your PDF editor's page extraction tool, and then utilize a 'Merge PDF' or 'Combine Files' feature to stitch them back together into a single, cohesive document.