Skip to content
PDF Tools

PDF Page Rotator

Fix sideways or upside-down scans by rotating every page of a PDF by 90, 180 or 270 degrees.

Drag & drop your file here, or browse

Accepted: .pdf,application/pdf — Output: .pdf

Everything runs locally in this browser tab. Nothing is uploaded to any server.

How to use this tool

StepWhat to doDetails
1Add one PDFSelect the PDF that needs straightening.
2Choose a rotation anglePick 90°, 180° or 270° clockwise — it applies to every page in the file.
3Click "Rotate PDF"Each page's rotation value is updated without re-rendering the content, so quality is untouched.
4DownloadSave the corrected PDF.

Someone feeds a stack of paper into a scanner sideways, or scans a landscape document without switching the setting, and the result is a PDF where every page is tipped 90 degrees — perfectly legible if you turn your head, useless for anything else. Or you photograph a document with your phone, save it as a PDF through your phone’s built-in scanner app, and somehow the whole thing comes out upside down. Neither of these is a rare accident. It happens constantly, because scanners and phone cameras don’t actually know which way is “up” on the page they’re capturing — they just record whatever orientation the sensor happened to be pointing. This tool fixes that after the fact: pick 90, 180, or 270 degrees, and every page in the PDF gets rotated by that amount.

Why the page looks wrong in the first place

Flatbed scanners assume a default page orientation and don’t check what’s actually printed on the paper — if you lay a landscape page down the same way you’d lay a portrait page, you get a portrait-shaped file with sideways content. Automatic document feeders are worse, because a whole stack can get fed in some consistent-but-wrong orientation without anyone noticing until the file is already saved. Phone scanning apps try to auto-detect orientation using the camera’s gyroscope, but that detection isn’t foolproof — hold the phone at an angle, or photograph a page that’s already crooked on the table, and the app can guess wrong. In every case, the actual content of the page is fine. It’s just being displayed in the wrong direction.

What actually happens when you rotate a PDF

It’s worth knowing that PDF pages carry a rotation value as part of their metadata — think of it as an instruction to whatever’s displaying the page: “show this content turned by X degrees.” This tool changes that instruction rather than touching the actual page content underneath. Nothing gets redrawn, re-rendered, or recompressed, which means there’s no quality loss at all, no matter how many times you rotate a file back and forth. It’s a genuinely lossless operation, and on most files it finishes almost instantly, even for documents running dozens of pages.

The rotation applies clockwise, and it’s worth actually testing which of the three angles fixes your file rather than guessing. A page that’s lying on its side needs 90 or 270 depending on which way it’s tipped — try one, and if it comes out even more wrong, the other option is almost certainly the fix. A page that’s fully upside down needs 180, no ambiguity there. If you’re not sure, there’s no harm in trying an angle, checking the download, and running the file through again with a different setting if the first guess was wrong.

The one limitation worth knowing about

This tool applies a single rotation angle to every page in the document — there’s no way to rotate just page 4 and leave the rest alone. For the common case, that’s exactly what you want: a whole scan came out sideways because of how it was fed through the scanner, so every page needs the same correction. But if you’ve got a mixed document — say a report where most pages are upright but a couple of landscape charts or diagrams are already correctly rotated among them — running this tool would fix the majority and mess up the ones that didn’t need it. In that situation, you’d need to split the PDF into separate files first, rotate the misoriented section on its own, and merge everything back together afterward. For a single-orientation scanning mistake, though, which is by far the more common scenario, one pass with the right angle handles the whole file in one go.

Where this comes up

The most frequent case is exactly what you’d expect: someone scans a stack of receipts, contracts, or ID documents on an office scanner, and either the feeder orientation was wrong or a few sheets went in rotated relative to the rest. Real estate agents and mortgage brokers deal with this constantly, since so much paperwork still arrives as scanned or faxed documents. Students and researchers run into it when scanning library books or old bound documents on a flatbed, where getting consistent orientation is fiddlier than it sounds. And it’s common with phone-scanned receipts and forms submitted for expense reports or reimbursements, where whoever captured the image just wasn’t paying attention to which way the phone was held.

A few things to keep in mind

  • Rotation is clockwise only, in 90-degree steps — there’s no free-angle “nudge it 3 degrees to straighten a crooked scan” option here, just the three standard right-angle corrections.
  • Because it only changes a metadata flag, rotating repeatedly costs you nothing in quality — feel free to experiment until the orientation looks right.
  • If some pages in your file were already correctly oriented before you started, remember that rotating the whole document will turn those pages the wrong way too.

As with the other tools here, the whole process runs locally in your browser using pdf-lib — the file never leaves your device, there’s no upload progress bar to wait through, and nothing about a contract, ID scan, or personal document passes through anyone else’s server along the way. You pick an angle, the pages flip, and you download the result. For a problem this small and this common, that’s about as much friction as it should take.