TheTools.World tool
Reorder PDF pages online
Rearrange every page of a PDF into a new order you specify. Enter the complete new order as a comma-separated list, using each original page number exactly once.
Reorder pages
Rearrange every page of a PDF into a new order you specify. Enter the complete new order as a comma-separated list, using each original page number exactly once.
How to reorder PDF pages
- Choose a PDF file.
- Check the total page count shown after the file loads.
- Enter the full new page order as a comma-separated list, using each page number from 1 to the total exactly once.
- Click Reorder pages.
- Preview the result before downloading to confirm the new order is correct.
You must list every page exactly once. For a document with 6 pages, an entry like "3,1,2,4,5,6" is valid; an entry that skips a page number or repeats one is rejected with a clear error.
What this does and how it works
This tool takes the new page order you type, validates that it lists every original page exactly once, and then builds a new PDF by copying pages in that exact sequence. The first number you enter becomes page 1 of the result, the second becomes page 2, and so on. Because the tool requires a complete listing rather than just moving one page at a time, it can express any possible reordering in a single pass, including moving several pages at once or fully reversing the document.
Best practices
- Write out the full sequence carefully before submitting; for long documents, it can help to note the desired order on paper or in a text editor first.
- Use the inline preview after choosing a file to check original page content and numbers before deciding on the new order.
- Double-check the count: your list must have exactly as many entries as the document has pages, no more and no fewer.
Common mistakes to avoid
- Listing a page number twice or skipping one, both of which are rejected with a specific error rather than silently dropping or duplicating a page.
- Confusing this with deleting pages. Reordering requires every original page to appear exactly once; if you actually want to drop some pages, use delete PDF pages instead, or delete first and reorder second.
- Trying to reorder a very long document by hand-typing a long list without double-checking it; a single typo (like a missing page number) will trigger a validation error, which is a useful safety net but still worth checking before submitting.
Real-world use cases
- Moving a table of contents or summary page to the front after it was scanned out of order.
- Fixing page order in a document assembled from multiple scan batches that interleaved incorrectly.
- Reversing a document's page order entirely, such as when a scanner fed pages back-to-front.
- Grouping related pages together that were originally scattered through a longer document.
Supported formats
Input: a single standard, non-encrypted PDF file. Output: the same set of pages rearranged into the order you specified. This tool changes order only; it does not add, remove, or rotate pages. Combine it with delete PDF pages or rotate PDF if you need those changes too.
Worked example: moving a misplaced summary page to the front
A 5-page report was scanned with its one-page summary ending up at position 3 instead of the front. The desired final order is: summary first, then the original pages 1, 2, 4, and 5 in their existing relative order. Entering "3,1,2,4,5" produces exactly that.
| New position | Order entered | Original page moved |
|---|---|---|
| 1 | 3 | Summary (was page 3) |
| 2 | 1 | Was page 1 |
| 3 | 2 | Was page 2 |
| 4 | 4 | Was page 4 (unchanged position) |
| 5 | 5 | Was page 5 (unchanged position) |
Limitations
This tool cannot open password-protected or encrypted PDFs. It requires a complete, exact listing of every page; there is no drag-and-drop visual reordering interface, so long documents need their full new order typed or pasted in as numbers. It changes page order only, not rotation, content, or page count.
Working out a new order without losing track
For anything beyond a handful of pages, it helps to work out the new order somewhere other than directly in the input field first. Open the source PDF (or use the inline preview here after choosing the file) and write down, in order, which original page number should come first, second, third, and so on, as a plain list in a text editor or on paper. Once that list is complete and double-checked against the total page count, copy it into the page-order field as comma-separated numbers. Working this way catches most mistakes before submission, since the validation only checks that every page appears exactly once, not that the order matches what you actually intended.
Privacy
Your PDF is read and reordered locally in your browser using the pdf-lib JavaScript library loaded from this site. Files are not uploaded to a server. See the privacy policy for full detail.
Troubleshooting
- If you get a "provide exactly N page numbers" error, count your entries against the total page count and check for a missing or extra number.
- If you get a "must appear exactly once" error, look for an accidentally repeated page number.
- If you actually want to remove pages rather than just reorder them, use delete PDF pages first.
Conclusion
Use this tool whenever a PDF's pages are in the wrong order and you know exactly what the right order should be. To remove pages instead of reordering them, use delete PDF pages; to fix sideways pages, use rotate PDF.
Related tools
FAQ
Do I need to list every page, even ones staying in place?
Yes. The new order must include every original page exactly once, even pages that end up in the same position.
What happens if I make a typo, like repeating a page number?
The tool rejects the request with a specific error explaining the problem (a missing page, an extra page, or a repeated page number), rather than producing an incorrect file.
Can I drag and drop pages to reorder them visually?
No. This tool uses a typed comma-separated list of the new page order rather than a visual drag-and-drop interface.
Can I reverse a document's entire page order in one step?
Yes. For a 5-page document, entering 5,4,3,2,1 reverses the order completely.
Is my PDF uploaded anywhere?
No. Reordering happens locally in your browser. Files are not sent to a server.