PDF Editing Issues

Duplicate Each PDF Page in Sequence in Adobe Acrobat

Ayan MasoodAyan Masood Nov 19, 2026 868 views

Question details

Duplicate every PDF page immediately after its original rather than duplicating the entire page range as a block.

Duplicate Each PDF Page in Sequence in Adobe Acrobat
Product
Adobe Acrobat
Device & OS
not provided
Scenario
A user wants a PDF with pages 1, 2, 3 to become 1, 1, 2, 2, 3, 3.
Observed behavior
Duplicating the complete page range at once produces 1, 2, 3, 1, 2, 3 instead.
Before you start

Open the PDF in desktop Adobe Acrobat and save it locally so the script can read the current pages from the file path. Check that the PDF permits page insertion and that the JavaScript Console is available.

Solution 1Recommended

Run a reverse-order page duplication script in Acrobat

Use the JavaScript Console to insert a copy of each page directly after the original.

The script works backward from the last page, so inserting a copy does not change the positions of pages that still need to be processed.

1
Save the PDF

In Acrobat, choose File > Save As and save a local working copy of the PDF. Make sure the saved file contains the pages you want to duplicate.

2
Open the console

Open the JavaScript Console with Ctrl+J on Windows or Command+J on macOS.

3
Run the script

Paste and select this code in the console, then press Ctrl+Enter on Windows or Command+Enter on macOS: for (var p = this.numPages - 1; p >= 0; p--) this.insertPages({nPage: p, cPath: this.path, nStart: p});

4
Check and save the result

Open the Page Thumbnails panel and confirm that each page is followed by its copy. Choose File > Save to keep the changes.

Run a reverse-order page duplication script in Acrobat
Page insertion requirements: The script reads pages from the saved file path and requires Acrobat to permit page insertion. Restricted PDFs or security settings may prevent it from running.
PDF page management

Duplicate PDF pages individually in WPS Office

For a shorter document, use WPS PDF's page insertion tools to add each page after its original. Work from the last page backward to preserve the target sequence.

  1. 1. Open and save the PDF: Open the PDF in WPS Office, then use File > Save As to create a working copy. Keep the original file available as the source for inserted pages.
  2. 2. Open page insertion: In the working copy, open the Page tab and choose the option to insert pages from a PDF. Select the original PDF as the source.
  3. 3. Insert the last page: Select the last source page and set its insertion position immediately after the corresponding page in the working copy.
  4. 4. Repeat in reverse order: Use the page insertion command for each remaining source page, moving from the next-to-last page back to page 1. Insert each copy immediately after its original.
  5. 5. Verify and save: Check the Page Thumbnails panel for the sequence 1, 1, 2, 2, 3, 3, or its equivalent for your document, then choose File > Save.
Arrange duplicate PDF pages next to their originalsReview page order using PDF page thumbnailsOpen and edit Microsoft Office formats such as DOCX, XLSX, and PPTXUse familiar document and PDF tools in one application
microsoft office alternative - wps office

Frequently Asked Questions

Why does duplicating the whole page range produce two blocks?

Acrobat inserts the selected range as a group, so pages 1, 2, 3 become 1, 2, 3, 1, 2, 3. To interleave copies, insert each page after its original or use the reverse-order console script.

Why does the script start with the last page?

Starting at the last page prevents inserted copies from shifting the positions of earlier pages that have not yet been processed.

What should I do if Acrobat cannot insert the pages?

Save the PDF locally with File > Save As, then check its security settings and confirm that page insertion is allowed. Acrobat's security settings may also restrict the script.

Can I duplicate pages without using JavaScript?

Yes. Use a PDF editor's page insertion tool to insert each source page after its original, working from the last page backward. This is more practical for shorter documents.