You scan a 30-page contract through the document feeder, open the PDF and find page 30 staring back at you. Or a colleague sends a report that starts with the appendix and ends with the cover. The content is all there; it is just upside down in time.
Reversed page order is one of the most common PDF annoyances and one of the easiest to fix. This guide explains why it happens, how to flip a whole document or just part of it without any loss of quality, which built-in and command-line methods also work, and how to adjust your scanner or printer so you do not have to fix it every time.
Why pages end up backwards
Face-up document feeders
Many document feeders take the stack face up and pull sheets from the bottom or the top depending on the design. If you load the stack the opposite way to what the scanner expects, it captures the last page first. The scanner has no idea which page is "first"; it simply records the order the paper went through.
Flatbed scanning from the top of a pile
When you scan a stack page by page on a flatbed, it is natural to take the top sheet, scan it and put it face down on a new pile. If the original pile was face down, the top sheet was the last page.
Printer output order
Printers that deliver pages face up often print in reverse so the finished stack reads correctly. If that setting leaks into a "print to PDF" step, the resulting file can be reversed too.
Duplex scanning workarounds
On scanners without automatic double-sided support, you scan the fronts, flip the whole stack and scan the backs. The backs come out last to first. That is a special case covered by interleaving, discussed below.
Chronological exports
Some systems export logs, statements or message threads newest first. That is not a mistake, but you might want oldest first for reading or archiving.
Reverse a PDF step by step
Reverse PDF copies pages into a new file in the opposite order without re-rendering them.
- Open Reverse PDF and drop the file onto the box.
- Under What to reverse, choose one of the three modes:
- Whole document: the last page becomes the first and vice versa.
- Keep the cover page first: page 1 stays put and everything after it is reversed. Useful when you placed a cover sheet correctly but fed the rest backwards.
- Only a page range: enter the first and last page of the section to flip. Pages before and after it do not move.
- Check the thumbnail preview. Each tile shows the original page number, with a caption telling you its new position, and pages that move are highlighted. The status bar tells you how many pages change position.
- Click Reverse & download.
Because pages are copied, not redrawn, text stays selectable, links keep working and image quality is identical. Title and author are kept; the bookmark outline is not, because its targets would point to the old order.
A worked example of partial reversal
Imagine a 20-page file where pages 1 to 4 are a correctly ordered covering letter and pages 5 to 20 are a scanned annex that came out backwards. Choosing Only a page range with pages 5 to 20 gives:
| Before | 1 2 3 4 | 5 6 7 … 19 20 |
|---|---|---|
| After | 1 2 3 4 | 20 19 18 … 6 5 |
The letter is untouched and the annex now reads in the right order. The same approach works when you have merged several documents and only one of them was reversed.
Other ways to reverse page order
Print dialogs
Many print dialogs have a "Reverse order" or "Reverse pages" option. Printing to a PDF printer with that option on produces a reversed copy. It works, but "print to PDF" can re-render content, drop links and change file size, so it is a second-best choice.
Page organisers
Any tool that lets you drag page thumbnails, including Organize PDF and macOS Preview's thumbnail sidebar, can reorder pages manually. That is ideal for moving a handful of pages, but tedious for reversing 50.
Command line
If you use qpdf, the page range z-1 means "from the last page to the first":
qpdf in.pdf --pages in.pdf z-1 -- reversed.pdf
With pdftk, the equivalent is:
pdftk in.pdf cat end-1 output reversed.pdf
Both are lossless and ideal for scripts that process many scans automatically.
Fronts and backs: when reversing is not enough
If you scanned the front sides of a double-sided document into one file and the backs into another, reversing the backs is only half the job. You then need to weave the two files together: front 1, back 1, front 2, back 2. Alternate & Mix PDF does both at once, with an option to reverse the second file automatically. There is a full walkthrough in our guide to scanning double-sided documents without a duplex scanner.
Preventing reversed scans
A little set-up avoids the problem entirely:
- Check the feeder icon. Most scanners print a small symbol on the tray showing whether pages go face up or face down and which edge goes first. Load a test stack of three numbered sheets once and remember the result.
- Look for an order setting. Some scanning apps have a "reverse order" or "page order" option. Set it once for your usual workflow.
- Name files as you go. When scanning many batches, a quick look at the first thumbnail after each scan catches problems before they multiply.
- Rotate at the same time. A stack loaded the wrong way is often reversed and upside down. Fix rotation with Rotate PDF after reversing.
Troubleshooting
Only some pages are in the wrong place
Reversal flips a whole block. If the order is scrambled rather than backwards, for example because two stacks were mixed up, use a drag-and-drop organiser instead.
Some pages are sideways or upside down after reversing
Reversal does not change rotation. Rotate the affected pages separately.
The file has blank pages between the real ones
Duplex scans of single-sided originals often do. Remove them with Remove Blank Pages from PDF before or after reversing.
Bookmarks point to the wrong pages
Bookmarks are not carried over, precisely to avoid this. Recreate them in a PDF editor if you need them.
Frequently asked questions
Does reversing a PDF reduce its quality?
No. Pages are copied into the new file in a different order without being re-rendered or recompressed.
Can I reverse just part of a PDF?
Yes. Choose Only a page range and enter the first and last page. Only that section is flipped.
How do I keep the first page in place and reverse the rest?
Use the Keep the cover page first mode. Page 1 stays at the front and pages 2 to the end are reversed.
Why does my scanner save pages backwards?
The feeder captures sheets in the physical order they pass through. If the stack is loaded opposite to how the scanner expects, the last page is scanned first.
Are links kept after reversing?
Yes. Pages keep their content and links. The bookmark outline is not carried over because it would point to the old positions.