inyourbrowser.com

Rearrange PDF Pages

Pick any new order for the pages in your PDF. Drag the thumbnails or tap the up and down arrows, preview the result live, and download the rearranged PDF. All processing runs in your browser.

Drop a PDF here or click to browse

How it works

This tool uses pdf-lib, a pure JavaScript PDF library that runs entirely in your browser, paired with pdfjs-dist for the thumbnail previews. When you drop a PDF, every page is rendered as a draggable card. On download, pdf-lib creates a new document and calls copyPages with the indexes in their new order, then writes the rearranged file.

Processing runs in your browser

All reordering happens locally in your browser tab. The new PDF is built in memory and downloaded directly to your device. Our servers are not involved at any point.

Frequently asked questions

How do I rearrange the pages of a PDF?
Drop your PDF, then drag any thumbnail to its new spot or use the arrow buttons on each card. When the order looks right, click Download to save the rearranged PDF.
Is drag and drop reordering supported?
Yes. On desktop you can drag a thumbnail to any position and drop it there. On touch devices, the arrow buttons on each card move the page up or down one step at a time.
Can I move a page from the end to the beginning?
Yes. Drag the last thumbnail straight to the first position on desktop, or tap the up arrow on a card until it reaches the top.
Does rearranging affect the page content?
Page content is unchanged. Only the order is updated. The new PDF preserves text, images, and formatting from the original.
What happens to my file during reordering?
Your PDF is loaded into memory in your browser and processed locally by pdf-lib. The rearranged file is downloaded directly to your device.

Related tools

Merge PDF
Combine multiple PDF files into one downloadable PDF. Drag, drop, reorder. Runs in your browser.
Split PDF
Extract specific pages or page ranges from any PDF. Download the result instantly.
Delete PDF pages
Remove specific pages from a PDF and download the result. Thumbnail preview included.
Rotate PDF
Rotate or flip PDF pages 90°, 180°, or 270°. Adjust individual pages or all at once.