PDF Page Reorder
Reorder PDF pages, rotate them 90 degrees, or remove pages you do not need. Rearrange the document with up/down buttons, then save the result.
This tool reorders, rotates, and removes pages inside an existing PDF, then saves a new copy with the changes applied. It runs entirely in the browser using pdf-lib, so your file never leaves your device. The original document on disk is untouched - the tool writes a fresh PDF named [filename]-reordered.pdf, preserving page content, fonts, annotations, and form fields exactly as they were.
About PDF Page Reorder
How to Use the Tool
Upload a PDF, rearrange pages with the up/down arrows, optionally rotate or mark pages for removal, and click Save. Changes are only written when you save.
| Action | How |
|---|---|
| Upload a PDF | Drag and drop or click to browse. The tool reads the file and shows a numbered page list |
| Move a page | Click the up or down arrow buttons to shift a page earlier or later in the document |
| Rotate a page | Click the rotation button to rotate 90 degrees clockwise. Click again for 180 or 270 |
| Remove a page | Click the delete button - the page is dimmed but not gone until you save |
| Restore a page | Click the restore button on any dimmed page to bring it back |
| Save changes | Click the Save/Download button to generate and download the updated PDF |
How Does PDF Page Reordering Actually Work?
Every PDF stores its pages in a hierarchical object called the page tree, defined in Section 7.7.3 of the ISO 32000-2:2020 specification. Reordering a PDF means rewriting the Kids array of that tree so the page objects appear in a new sequence.
This tool uses the open-source pdf-lib library (MIT-licensed, version 1.17.1) to parse the incoming file, copy the selected page objects into a fresh output document via copyPages(), then apply rotation metadata through the page dictionary's /Rotate entry. Rotation values in PDF are restricted to multiples of 90 (0, 90, 180, 270) by the specification - arbitrary angles are not valid and would be rejected by compliant readers such as Adobe Acrobat or Foxit.
Worked example: A 10-page report has its cover accidentally saved as page 10. You move page 10 to position 1 using the up arrow nine times, then click Save. Internally the tool builds a copyPages array of [9, 0, 1, 2, 3, 4, 5, 6, 7, 8] (zero-indexed), streams the page content objects into a new PDF, and downloads a 10-page file where page 1 is now the original page 10.
What Gets Preserved?
Page content, dimensions, fonts, form fields, and annotations carry over unchanged. Document-level metadata such as the outline/bookmarks tree is not rewritten, so those references may no longer point at the right page after reordering.
| Element | Preserved? | Notes |
|---|---|---|
| Page content (text, images) | Yes | Every pixel is copied exactly from the original |
| Page dimensions | Yes | Each page keeps its own size (A4, Letter, custom) |
| Annotations and comments | Yes | Highlights, sticky notes, and markup carry over |
| Form fields | Yes | Interactive fields are preserved |
| Embedded fonts | Yes | Text renders correctly with original fonts |
| Rotation state | Yes + editable | Existing rotation is maintained; your changes are added on top |
| Document bookmarks | No | Outline/bookmark tree is not rewritten after page reordering |
| Digital signatures | No (invalidated) | Any cryptographic signature becomes invalid after page changes - this is by design under PAdES rules |
| XMP document metadata | Partial | Author and title are preserved; page-level tags may drop |
Common Page Reorder Scenarios
Scanners and multi-source documents produce the same handful of fixable problems. The table below covers the ones that make up roughly 80% of real-world reorder requests.
| Scenario | What to Do |
|---|---|
| Scanner put pages in reverse order | Move pages to reverse the sequence (last page first) |
| Cover page is missing from the front | If the cover is the last page, move it to position 1 |
| Scanned page is upside down | Click the rotation button twice (180 degrees) on that page |
| Landscape chart among portrait pages | Rotate the chart page 90 degrees so it displays correctly |
| Blank pages from duplex scanning | Delete the blank pages to reduce file size and clutter |
| Appendices need to move before references | Use the arrow buttons to rearrange the section order |
| Remove a confidential page before sharing | Delete the page, then download the cleaned version to share |
| Court exhibits out of chronological order | Move each exhibit to match the sequence cited in the filing |
| Merged bank statements in wrong month order | Use arrows to sort by statement date |
Page Rotation Reference
Each rotate click adds 90 degrees clockwise. Four clicks returns the page to its original orientation. This tool stacks your rotation on top of any existing /Rotate value already stored in the PDF, rather than overwriting it.
| Clicks | Rotation | Common Use |
|---|---|---|
| 1 click | 90° clockwise | Landscape to portrait (or vice versa) |
| 2 clicks | 180° | Upside-down scans |
| 3 clicks | 270° (= 90° counter-clockwise) | Landscape rotated the wrong way |
| 4 clicks | 360° (back to original) | Reset |
File Size, Privacy, and Browser Limits
The tool accepts PDFs up to 100 MB. Larger files will fail the pre-flight size check before any processing begins. That limit is deliberate: pdf-lib performs the entire parse and write in RAM using a typed array buffer, and on a mid-range laptop with 8 GB of memory, documents above 100 MB can slow the tab or crash the JavaScript heap. For reference, the US Federal Courts' CM/ECF filing system caps individual PDF uploads at 50 MB per document, and HMCTS (UK courts) imposes a 20 MB limit for online filing, so a 100 MB ceiling comfortably covers filing-ready documents.
Because the file is parsed locally with pdf-lib, nothing is sent to a server. This matters for confidential material: law firm privilege logs, medical records, HR files, and internal contracts are all common inputs to a reorder tool, and uploading them to a third-party SaaS exposes them to that vendor's retention and breach risk. Browser processing avoids that entire category of leak.
How Does This Compare to Other Approaches?
Browser-based reordering is the quickest route for one-off files. Desktop tools like Adobe Acrobat and macOS Preview win for heavy repeat use; command-line tools like pdftk and qpdf win for batch scripts.
| Approach | Privacy | Cost | Reorder + Rotate + Delete |
|---|---|---|---|
| This tool (browser) | Files stay on your device | Free | Yes - all three |
| Online PDF editors | Files uploaded to servers | Free tier with limits | Usually yes |
| Adobe Acrobat Pro | Local processing | Subscription (around $20/month) | Yes, plus advanced features |
| macOS Preview | Local processing | Free (macOS only) | Reorder and rotate via sidebar |
| pdftk (command line) | Local processing | Free | Yes, but requires terminal commands |
| qpdf (command line) | Local processing | Free, open source | Yes, with --pages syntax |
When to Reorder vs Rebuild From Source
If the PDF was generated from a Word document, InDesign file, or LaTeX source that you still have, rebuilding from source is almost always cleaner than reordering the PDF output. The source document carries bookmarks, cross-references, and a table of contents that regenerate correctly when the underlying structure changes. Reordering a finished PDF is the right choice when the source is lost, was generated by a third party, or was produced by a scanner where there is no source file - invoice bundles, court exhibits, bank statements, medical records, and shared reports from suppliers all fall into this category. For heavily annotated documents where someone has already spent hours highlighting and commenting, reordering preserves that effort; reprocessing from source would lose it.
Common Mistakes to Avoid
Most reorder problems come from one of these four patterns. The first is the hardest to spot because the new PDF looks correct until someone clicks a bookmark.
- Expecting bookmarks to follow pages. If the source PDF has an outline that jumps to specific pages, those bookmark links reference the original page indices and will land on the wrong pages after reorder. Either remove the outline beforehand or rebuild bookmarks in Acrobat after saving.
- Assuming rotation changes the underlying content. The /Rotate entry is a display hint for readers, not a transformation of the content stream. Text extraction tools may still read rotated pages in the original orientation unless the tool supports rotation-aware extraction.
- Rotating before scanning again. If a page is scanned at 3000 dpi and you rotate 90 degrees in a viewer that does true-rotation, quality can drop. This tool only writes the /Rotate flag, so the underlying raster stays intact.
- Deleting pages that a form field depends on. AcroForm fields can span pages or share inherited defaults. Removing a page that holds the parent field reference may leave orphan widgets. Test the output in a reader before distributing.
If you need to combine pages from multiple PDFs, use the Merge PDF tool. To extract a range of pages into a separate file, the Split PDF tool lets you specify exact page numbers or ranges. To pull plain text out of a PDF for editing elsewhere, the PDF to Text converter runs in the browser too. All three process files locally - nothing is uploaded.
Sources
Frequently Asked Questions
How do I rearrange pages in a PDF?
Upload your PDF, then use the up and down arrows to move pages to a new position. You can also rotate individual pages or mark them for removal. Click Save when you are happy with the new order.
Can I rotate individual pages?
Yes. Click the rotate button next to any page to rotate it 90 degrees clockwise. Click again for 180, 270, or back to 0 degrees.
Can I remove pages from the PDF?
Yes. Click the delete icon next to any page to mark it for removal. Deleted pages are dimmed but still visible, so you can restore them before saving if you change your mind.
Are my files uploaded to a server?
No. Everything runs in your browser. Your PDF never leaves your device.
Does this preserve the original quality?
Yes. Pages are copied exactly as they are in the original, including all text, images, and formatting. Only the order, rotation, and which pages are included may change.
Related Tools
Link to this tool
Copy this HTML to link to this tool from your website or blog.
<a href="https://toolboxkit.io/tools/pdf-page-reorder/" title="PDF Page Reorder - Free Online Tool">Try PDF Page Reorder on ToolboxKit.io</a>