How to Automatically Add Blank Pages Every Few Pages in Adobe Acrobat
Question details
The user wants to automate the process of inserting a blank page into a PDF document at specific regular page intervals.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Modifying a PDF document to include regular blank pages, likely for double-sided printing, formatting, or creating note-taking spaces.
- Observed behavior
- The user needs a systematic, automated way to insert multiple blank pages without having to add them manually page by page.
Before you begin, ensure you are using Adobe Acrobat Pro, as the Action Wizard and JavaScript execution features required for this automation are not available in the free Adobe Acrobat Reader.
Use Action Wizard and JavaScript to Automate Blank Page Insertion
This method uses Acrobat's Action Wizard to run a custom JavaScript that automatically calculates your page intervals and inserts a blank page exactly where needed.
By setting up a quick Action Wizard script, you can define exactly how often a blank page should appear. In the script below, replace the 'x' with your desired interval number.
Open your PDF document in Adobe Acrobat. Go to the 'Tools' tab at the top of the window and select 'Action Wizard'.
Click on 'New Action' in the Action Wizard toolbar. In the left pane under 'Choose tools to add', expand 'More Tools' and select 'Execute JavaScript'. Click the '+' icon in the middle to add it to your action steps on the right.
Uncheck the 'Prompt user' box next to your new step, then click 'Specify Settings'. Paste the following code into the window: var b = x; var skip = x; for (var i = b; i < this.numPages + 1; i = i + skip) { this.newPage(i); i++; }
Change both instances of 'x' in the first two lines to the number of pages you want between each blank page. For example, to add a blank page after every 5 pages, change it to 'var b = 5; var skip = 5;'.
Click 'OK' to save the script settings, then click 'Save' to save the Action. Give it a memorable name like 'Insert Blank Pages'. Finally, select this new action from your Action List and click 'Start' to apply it to your PDF.

Easily Manage and Insert Blank Pages with WPS PDF
If you don't have Adobe Acrobat Pro or prefer not to use complex JavaScript codes, WPS PDF provides a highly intuitive, visual interface for managing your PDF pages. You can quickly insert, rearrange, or extract pages with just a few clicks.
- 1. Open the PDF: Launch WPS Office and open your PDF document.
- 2. Navigate to Page Tools: Click on the 'Page' tab located on the top navigation ribbon to open the visual page management view.
- 3. Insert a Blank Page: Click the 'Insert Pages' button and choose 'Blank Page' from the drop-down menu.
- 4. Select Location: Specify the exact location (e.g., after page 5) where you want the blank page to appear and confirm.

Frequently Asked Questions
Can I undo the script if it inserts pages in the wrong places?
Yes, if you have not saved the document yet, you can press Ctrl+Z (or Command+Z on Mac) to undo the action, or simply close the document without saving changes and reopen it.
Does this JavaScript work in the free Adobe Acrobat Reader?
No, the Action Wizard and the ability to execute custom JavaScript on a document level are exclusive features of the paid Adobe Acrobat Pro version.
How do I change the script to insert a blank page after every 3 pages?
In the provided JavaScript code, simply change both instances of 'x' to 3. The first two lines of your script should read: var b = 3; var skip = 3;.




