Reverse PDF page order

Reversing a PDF rewrites the document so the last page comes first and the first page comes last. It is the one-click fix for scans that came out back-to-front — typically because the scanner ejects pages face-down or the stack was fed last-sheet-first. This tool copies every page in descending order into a new file, losslessly and entirely in your browser.

Reverse PDF pages — runs on your device

How it works

Page order in a PDF is not stored on the pages. Each page object describes only its own size, content streams, and resources; the sequence readers display comes from the page tree — a catalog structure whose leaf nodes are listed in reading order. Reversing a document therefore never touches a single page's content. It is purely a reordering of that list.

The tool does it the robust way: it creates a new, empty PDF and copies pages from the source starting at the highest index and counting down to zero. For an n-page file, source page n becomes output page 1, source page n − 1 becomes output page 2, and so on — the mapping is simply new position = n − old position + 1. Each copy transplants the page's complete object graph (content streams, image XObjects, fonts, annotations) into the new file, so a 600-dpi scan stays a 600-dpi scan and live text stays selectable. No rendering or recompression happens at any point.

Why does reversed output happen so often in the first place? Two common mechanics: scanners with a straight paper path eject sheets face-down, which stacks the first-scanned page at the bottom — pick the pile up and it reads backward; and some feeders pull from the bottom of the input stack, capturing the last page first. Photographing a document from the last page forward, or a fax machine's output tray, produces the same result. In all of these cases every page is present and intact; only the sequence is mirrored, which is exactly the inverse permutation this tool applies.

Worked example: a 48-page court filing scanned backward

A paralegal scans a 48-page filing on an office copier whose tray stacks output face-down. The resulting filing.pdf is 18.7 MB, and opens with the certificate of service (the real page 48) as page 1 and the caption page (the real page 1) as page 48.

Running it through this tool takes about two seconds. The output is again 48 pages and 18.7 MB — the size is essentially unchanged because the scan images are copied verbatim, not re-encoded. Old page 48 is now page 1, old page 47 is page 2, and the caption page is back in front where it belongs. A quick spot check of three positions confirms the mapping: new page 1 = old 48, new page 24 = old 25, new page 48 = old 1.

Note what reversal alone cannot fix: if the copier had also captured pages upside down, each page would still be rotated in the reversed file. That is a separate, per-page property — one pass through the rotate tool (180°) finishes the job.

Frequently asked questions

How do I reverse the page order of a PDF?

Load the PDF into the tool above and download the result — no settings needed. The output contains exactly the same pages with their sequence flipped, so a 40-page file ends up with old page 40 as new page 1.

Why did my scanner produce the PDF in reverse order?

Many flatbed-style feeders eject sheets face-down, so the first page scanned ends up at the bottom of the output tray, and some scanners pull from the bottom of the input stack. Either way the software saves pages in the order captured, which is backward.

Does reversing a PDF also rotate or flip the pages themselves?

No. Only the order of pages changes; each page keeps its own orientation, size and content. If pages are also upside down, run the result through a rotate tool afterwards.

Is reversing page order lossless?

Yes. Pages are copied as complete objects — images, fonts and text are untouched, so nothing is recompressed and text stays selectable. Only the page sequence differs from the original file.

Can I reverse just part of a PDF instead of the whole file?

This tool always reverses the entire document. To reverse a section, extract those pages first, reverse the extracted file, and merge it back in place — or use a page-rearranging tool to type the exact order you want.

Related tools