PDF Editing Issues

How to Batch Delete Specific Pages from Multiple PDFs using Adobe Acrobat

Olivia MillerOlivia Miller Nov 3, 2026 870 views

Question details

The user needs a method to automate the deletion of the second page across multiple PDF files using Acrobat's Action Wizard, without the software interactively prompting to save each file.

How to Batch Delete Specific Pages from Multiple PDFs in Adobe Acrobat
Product
Adobe Acrobat Pro
Device & OS
not provided
Scenario
The user is attempting to batch process a folder of PDF documents to quickly remove a specific page from every file.
Observed behavior
Including a JavaScript save command causes Acrobat to open and prompt for a manual save on each file individually, which interrupts the batch automation process.
Before you start

Ensure you have Adobe Acrobat Pro installed, as the Action Wizard feature is not available in standard or free versions. It is also highly recommended to back up your folder of original PDFs before running any batch deletion scripts.

Solution 1Recommended

Use Action Wizard with a Built-in Save Command

Automate the deletion of page 2 across a folder of PDFs using Acrobat Pro's Action Wizard combined with a JavaScript command and built-in save steps to avoid interactive prompts.

The Action Wizard allows you to apply a series of routine commands to multiple files. By using the built-in Save step instead of coding a JavaScript save command, you can completely bypass the interactive save prompts and process the whole folder effortlessly.

1
Open Action Wizard

Launch Adobe Acrobat Pro and navigate to 'Tools' > 'Action Wizard'.

2
Create a New Action

Click 'New Action' to start creating your custom batch process.

3
Add the Target Folder

Under 'Files to be Processed' on the right, click 'Add Folder' and select the folder containing the PDFs you want to modify.

4
Add the JavaScript Command

From the 'Choose tools to add' pane on the left, expand 'More Tools', select 'Execute JavaScript', and click the '+' icon to add it to your action steps.

5
Configure the Page Deletion Script

Click 'Specify Settings' on the JavaScript step and enter: `this.deletePages({nStart: 1, nEnd: 1});`. (Note: JavaScript page indexing is zero-based, meaning 1 targets the second page).

6
Configure the Save Step

Expand 'Save & Export' from the left pane, add 'Save' to your action steps. Uncheck 'Prompt User' in the Save step configuration so the files save automatically without asking for permission.

7
Run the Batch Action

Save the action with a recognizable name, then click on it from the Action List and select 'Start' to process all files in your folder.

Use Action Wizard with a Built-in Save Command
Fully Automated Processing: Relying on the Action Wizard's built-in Save configuration ensures your batch process runs continuously from start to finish without pausing for user input.
Free Microsoft Office alternative

Edit and Manage PDFs Easily with WPS Office

While Adobe Acrobat requires a premium Pro subscription to use the Action Wizard and execute JavaScript batch processes, WPS Office provides a lightweight, comprehensive suite for creating, editing, and managing your PDF files, completely compatible with standard formats.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installer for your specific operating system.
  2. 2. Install the Suite: Run the setup file and follow the straightforward on-screen instructions to complete the installation.
  3. 3. Start Managing PDFs: Open WPS Office, load your PDF file into the built-in PDF toolkit, and manage your pages seamlessly.
Easily delete, insert, or extract pages from PDF documents through an intuitive visual interface.Fully compatible with standard Adobe PDF and Microsoft Office formats (Word, Excel, PowerPoint).Lightweight, fast, and completely free to download for essential document tasks.User-friendly layout requiring no JavaScript or complex coding knowledge.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Acrobat JavaScript action prompt me to save each file?

If you use the `app.execMenuItem('Save')` command within your JavaScript code, Acrobat treats it as a manual user action and prompts for confirmation. Using the Action Wizard's built-in Save step instead bypasses this prompt.

Can I delete multiple different pages using Acrobat JavaScript?

Yes, you can modify the `nStart` and `nEnd` values in the `this.deletePages()` function. For example, using `{nStart: 0, nEnd: 2}` will delete the first three pages. Remember that page numbers are zero-indexed.

Does Adobe Acrobat Reader support the Action Wizard?

No, the Action Wizard and advanced batch processing features are exclusive to Adobe Acrobat Pro. Free versions like Acrobat Reader cannot run batch JavaScript actions.