Reverse Pages
Instantly reverse the page order of a PDF. Preview before and after, then download the reversed file — all client-side.
Reverse Pages
Instantly flip the page order of a PDF. Preview before and after, then download.
Drop a PDF file here
or click to browse
Fix Backwards Page Order in Seconds
You scanned a 20-page contract with an auto-feed scanner and the pages came out backwards -- page 20 first, page 1 last. Now you have a document nobody can read in the right sequence. Drop the PDF into the reverse tool, see the original order on the left and the reversed order on the right, and click Reverse and Download. The output is a single PDF with pages restored to their correct reading order.
The tool also handles double-sided printing preparation. Some duplex printers require reversed page order before printing to achieve correct front/back alignment. Rather than manually rearranging pages in a PDF editor, you reverse the entire document in one operation and print the result directly. The side-by-side preview confirms the reversal before you commit.
When reversing page order solves a real problem
A 30-page legal filing scanned with a Fujitsu ScanSnap inverting the page stack comes out with page 30 first and page 1 last. The reversed output restores the correct sequence so the filing can be submitted to the court without manual reordering.
You are printing a 16-page report double-sided on a printer that flips on the short edge. Without reversing, the back pages appear upside down relative to the fronts. Reversing the PDF before printing produces correct duplex output on the first attempt.
A 40-slide PowerPoint exported to PDF needs to be printed as a handout where the last slide appears on the first physical page (for right-to-left reading in certain layouts). The reverse tool produces this flipped sequence instantly.
Related tools
How the Reversal Copies Pages in Reverse Index Order
When you drop a PDF into the tool, PDF.js renders every page as a thumbnail. On the left panel, pages appear in their original sequence (1, 2, 3, ...). On the right panel, the same thumbnails appear in reversed order (N, N-1, ..., 2, 1) with green borders so you can visually confirm the reversal.
What happens when you click Reverse and Download
pdf-lib loads the source document and builds a reversed index array. For a 5-page PDF, the array is [4, 3, 2, 1, 0] (zero-indexed). The copyPages() method receives this array and copies each page from the source into a new PDFDocument in reverse sequence. The result is a new PDF where the former last page is now page 1, and the former first page is now the last.
For a 100-page document, the reversal processes all 100 pages in a single pass. The copyPages() call accepts an array of any length, so there is no pagination or batching -- the entire reversal completes in one operation. The output file size is nearly identical to the source because no content is re-encoded or recompressed.
Why the reversal preserves perfect quality
The reversal copies page objects byte-for-byte from the source document. Text, vector graphics, images, embedded fonts, bookmarks, and annotations transfer without modification. The operation changes only the page sequence -- nothing on any individual page is altered. A 50-page report reversed and then reversed again produces a file byte-identical to the original (assuming no external modifications between operations).
One limitation: bookmarks and internal links are preserved in the output but their page references may point to wrong locations after reversal. A bookmark that originally linked to page 5 now links to what was page 5 but is now a different position in the reversed document. For documents with critical navigation structure, you may need to adjust bookmarks in a dedicated PDF editor after reversing.
Frequently Asked Questions
Is my file uploaded to a server?
No. All processing happens in your browser. Your file never leaves your device -- there is no server upload at any point. This matters for confidential documents like legal filings, medical records, or financial statements that cannot be sent to third-party servers.
Does reversing reduce PDF quality?
No. Pages are copied byte-for-byte from the source in reverse order -- text, vectors, images, and fonts transfer without re-encoding. A 200-page document reversed and then reversed again produces a file byte-identical to the original. There is no recompression, rasterization, or quality degradation of any kind.
Can I reverse only some pages?
This tool reverses all pages in the document. To reverse a subset, first extract the pages you want with the PDF Split tool, then reverse the extracted file. For example, to reverse only pages 10-20 of a 50-page document, split out pages 10-20 first, then reverse that 11-page file.
What does the before/after comparison show?
The left panel shows thumbnails in the original order (1, 2, 3, ...) with standard borders. The right panel shows the same pages in reversed order (N, N-1, ..., 2, 1) with green borders. This visual preview lets you confirm the exact reversal before downloading. For documents over 10 pages, thumbnails are scaled to 15% to fit the comparison panel.
Does reversal affect bookmarks?
Bookmarks are copied to the output but their page references may point to wrong positions. A bookmark originally linked to page 5 in a 20-page document now links to a different physical page after reversal. For documents with critical navigation, adjust bookmarks in a PDF editor after reversing.
Can I reverse a password-protected PDF?
PDFs with an owner password (restricting editing) can be reversed because they open without a password. PDFs with a user password (requiring a password to open) cannot be processed. Remove the password first using a PDF reader that supports decryption.
Is there a page count limit?
There is no artificial limit. A 500-page document reverses as easily as a 5-page one. For very large files (1,000+ pages), thumbnail rendering may take a few seconds because PDF.js draws each page individually. The reversal operation itself is nearly instant regardless of page count.
How is this different from reordering pages in a PDF editor?
A full PDF editor like Acrobat lets you drag individual pages to new positions. This tool performs a complete reversal of the entire document in one click -- it is faster when you need the entire sequence flipped. For selective reordering of specific pages, a PDF editor gives more control.