Swap Page Ranges - Free Online Browser Tool

Exchange two blocks of pages, such as swapping one chapter for another without moving anything else.

Sometimes the fix is not reordering the document, it is putting one section somewhere else and leaving the rest alone. A proof arrives with the revised chapter still in its old position. A draft has the summary buried in the middle. Neither is a reordering job - a general reorder tool would ask you to describe the new sequence of all forty pages when the answer is simply "these two blocks trade places". This does that and nothing else. You name two blocks, and they swap. Everything outside those blocks keeps its position exactly. Two constraints are enforced rather than worked around, because both otherwise fail quietly. The two blocks must be the same length, because a swap moves pages between positions and a length mismatch has nowhere to put the extra one. And the blocks must not overlap, because overlapping input has no single right answer - swapping pages 1 to 5 against 3 to 7 depends on which end you start from, and picking for you would be a guess dressed up as a result. Both cases are refused with an explanation instead of producing a document that is wrong in a way you would not notice until you printed it. The optional reverse handles the case where the second block should also turn over as it moves, which comes up when a section was scanned in upside down and needs to go into a different place in the book. Everything runs in this tab. Nothing is uploaded.

This swap page ranges utility runs completely inside your web browser. Your document is opened locally and processed on your own device using JavaScript and WebAssembly, so your file is never uploaded to any server. There is no signup, no watermark and no limit on how many documents you can handle.

  • 100% client-side - files never leave your device
  • Instant processing, no upload wait
  • Works on desktop, tablet and mobile
  • Free forever, no account required

How to Use the Swap Page Ranges Tool

Five steps, and the whole thing runs locally on your own device.

  1. Add the PDF

    One file. The page count is read so the fields can be checked against what is actually there.

  2. Give the first block as a from and a to

    Inclusive page numbers, so 3 to 7 is five pages. The count is shown as you go, because a five-page block and a four-page block look identical on screen.

  3. Give the second block the same way

    It has to match the first block's length. If it does not, the tool says so and stops rather than guessing what you meant.

  4. Choose whether the second block turns over as it moves

    Usually not. Reverse it when the section was scanned the wrong way up and is being relocated.

  5. Save

    One PDF with the two blocks exchanged and the new full order listed in the summary, so you can confirm it before printing.

Frequently Asked Questions

Why must the two blocks be the same length?

Because a swap moves pages from one position to another. If the blocks are different lengths there is no way to place the result - three pages would move into four slots, and one of the four would have to come from somewhere you did not ask for. Rather than pick a page for you, the tool refuses and names both lengths.

Why will it not swap blocks that overlap?

Because there is no single correct answer. If you swap pages 1 to 5 with pages 3 to 7, page 4 belongs to both blocks, and whether it ends up at position 3 or position 5 depends on the order the swap is carried out in. Any result would be a choice made for you without telling you, so the tool stops and asks for two separate blocks.

Does everything else on the page stay put?

Yes, exactly. Only the pages inside the two named blocks move. Bookmarks and links that point at a page outside those blocks are unaffected; links pointing into a moved block will land on the page that moved there, which is what a link to that page should do.

Can I swap a block with the end of the document?

Yes, as long as the lengths match. Swapping pages 20 to 30 with 31 to 41 is an ordinary swap - nothing special happens at the end of a file, it is just a position like any other.

What if I need to move a block rather than swap it?

Use Move Pages to Front or Back instead, which needs no second block at all. This one is specifically for an exchange, and the length check it enforces is what makes an exchange safe - a move has no such constraint because nothing has to fit anywhere.