Swap PDF Pages by Typing Two Page Numbers

Swap PDF pages by typing the positions of two pages, such as 1 and 3, and download the PDF with those pages exchanged. Every other page stays put, and our server deletes your upload as soon as it’s sent the result.

4.9 / 5 (350)

// how it works

Swap PDF Pages Online in 4 Quick Steps

  1. 01Upload your PDF, or drag & drop it here.
  2. 02Type the two page numbers you want to swap.
  3. 03Click 'Swap Pages' and give it a moment.
  4. 04Download the reordered PDF straight away.

Swapping PDF Pages: Positions, Checks and Alternatives

Swapping two PDF pages fixes a cover in the wrong place, a signature page that belongs at the end or a scanned sheet that went in out of order. This tool exchanges the two pages you name and leaves every other page where it was. Upload a PDF, type the two page numbers and download the new copy.

Swap PDF Pages Online for Free

What swapping two PDF pages does

Say you enter page 2 and page 8: the page that was second becomes the eighth, and the eighth becomes the second. The tool does this with pdf-lib, whose removePage and insertPage functions work on a page's position in the document, inside the loaded file. The pages get moved within the file instead of copied out of it, so the document title, bookmarks and form fields stay in the result.

You get a separate file, and your original doesn’t change.

Bookmarks, links and long files after a swap

Bookmarks and links go wherever their page goes. We swapped pages 1 and 3 of a 5-page test file whose two bookmarks pointed at those pages, and afterwards the Start bookmark opened page 3, where the old first page now sits, while the other one opened page 1.

The document title and the filled form field on the old page 1 were still there, and the field could still be filled in. Tested in October 2026.

In a 12-page file with a contents list on page 1, we swapped pages 1 and 5. The contents page moved to position 5, and its links still opened the right chapters, now on pages 1 and 9.

Swapping pages far apart in a long PDF

Typing two page numbers beats dragging a thumbnail past hundreds of others. Swapping pages 2 and 280 of a 300-page file took 0.05 seconds on our test server, and page 2 then held the text of the old page 280 and the other way round.

How to swap PDF pages online

  1. Upload the PDF and wait until the total page count shows up.
  2. Type the first position in Page A and the second in Page B, as whole numbers from 1 to the total.
  3. Select Swap Pages.
  4. Download the swapped PDF and open it to check the two pages.
Swap PDF pages fields with test3.pdf loaded, total pages 5, Page A set to 1 and Page B set to 3
Page A and Page B take the two positions to exchange, here pages 1 and 3 of a five-page file.

The two numbers have to be different and inside the document, or you’ll get an error before anything is sent. Each run swaps one pair, so for a second swap, upload the downloaded file again.

Page positions versus printed page numbers

The tool counts positions in the file, starting at 1 for the first page. The printed page number can be something else: a cover may be unnumbered, a preface may use Roman numerals, or numbering may restart in a new section. So if the footer says page 8 but a cover makes that sheet the ninth in the file, enter 9.

Swap two pages or reorder the whole PDF?

This tool is for exactly two pages trading places. To move lots of pages into a new order, use our PDF page organizer, and to drop a page, use Remove PDF Pages; when the wrong order comes from combining files, merging them again in the right order with Merge PDF can be quicker.

How to check the swapped PDF

Open the two swapped positions and check that the headings, names or signatures you expect are there. Compare the page count with the original, and hang on to the original until the new version is approved. Swapping the same pair a second time puts the old order back.

Privacy, passwords and file limits

The tool takes PDFs up to 25 MB, and you don’t need an account. Our server swaps the pages and deletes your upload as soon as it has sent the result back.

A PDF that needs a password to open has to go through our Unlock PDF tool first. One that opens without a password but restricts printing or copying gets swapped as well, and the result comes back without those restrictions, so protect it again with Protect PDF if you need to.

What happened when we tested Swap PDF Pages

We swapped page 1 with page 3 in test3.pdf, a small five-page test file of 2.0 KB. The swapped PDF reached the browser 0.1 seconds after we pressed Swap Pages.

The output, test3_swapped.pdf, is 2.0 KB and still has 5 pages. Tested in October 2026 on a local copy of our server.

Swap PDF pages results screen saying Your PDF pages have been swapped successfully, with a Download button
The results screen after the test run.

Frequently Asked Questions about Swapping PDF Pages

Can I swap two pages in a PDF online?

Yes. Upload the PDF, enter the positions of the two pages, select Swap Pages and download the new file.

Does swapping pages change the rest of my PDF?

No. Only the two positions you picked trade places, and the other pages keep their order.

Can I swap the first and last page?

Yes. Enter 1 for one page and the total page count for the other.

What if the printed page number differs from the PDF position?

Go by the page's position in the file, and count an unnumbered cover and any other front matter.

Can I swap more than one pair at a time?

No, it’s one pair per run. Upload the result again for the next swap, or use the PDF page organizer for a full reorder.

Will my original PDF be overwritten?

No. The tool makes a separate swapped PDF for you to download, and your upload is deleted from our server once it’s been sent.