Guide
How to Fix a Sideways or Upside-Down Scanned PDF
Scanned documents arrive rotated constantly. A page fed in landscape, a double-sided scan where every second sheet is upside down, a phone photo the camera decided was portrait. You rotate it in your reader, it looks right, you send it — and the recipient opens a sideways document. Or you reopen it yourself the next morning and the rotation has vanished.
This isn't a bug. It's two different things both called "rotate."
View rotation vs page rotation
View rotation turns what's on your screen. It's a property of the window you're looking through, not of the document, and most readers discard it the moment you close the file. In Adobe Acrobat it lives under the View menu; in macOS Preview and Chrome's built-in viewer the toolbar rotate buttons often behave this way. Nothing about the file changes, which is why nobody else sees your correction.
Page rotation changes the document. Every page in a PDF carries a rotation value — one of 0, 90, 180, or 270 degrees — that tells any viewer how far to turn that page before drawing it. Change that number and save, and the page is genuinely fixed for everyone who opens it afterwards.
The confusion is that both produce an identical result on screen. The only way to tell them apart is to save, close, and reopen — or better, to check whether the tool you used produced a new file at all. If nothing was saved, nothing was changed.
How rotation is actually stored
It's worth knowing what's happening underneath, because it explains why rotating is one of the safest things you can do to a PDF.
Each page object holds an entry — /Rotate — whose value is a multiple of 90. The page's actual content is untouched: the text runs, the images, the vector drawings all keep their original coordinates. The viewer reads the rotation value and applies a transform as it renders. It's the difference between turning a photograph and re-photographing it at an angle.
This has three useful consequences. Quality is completely unaffected, because nothing is re-encoded — a rotated scan is pixel-identical to the original. File size barely moves, because you've changed one number. And rotation is perfectly reversible: rotating back restores exactly what you had, with no generational loss.
It also means rotation works identically on scanned and text-based PDFs. The distinction that governs so much other PDF behaviour simply doesn't apply here, because rotation operates at the page level and never inspects the content.
Fixing it permanently
What you need is a tool that edits the page rotation value and hands you a saved file. HerePDF's rotate tool does exactly that, in your browser:
- Drop the PDF in. Thumbnails of every page render locally so you can see which ones are wrong — useful when only some pages need turning.
- Rotate individual pages with the arrows under each thumbnail, or use the "all pages" controls when the whole document went in sideways. Rotated pages are outlined and labelled with their angle.
- Click apply. A new file is generated on your device with the corrected rotation written into each page, and you download it. The original on your disk is untouched.
Because the correction is stored in the document, everyone who opens the downloaded file sees it the right way up — including recipients whose readers would have ignored a view-only rotation.
The awkward cases
Every second page is upside down. Classic double-sided scanning, where the sheet feeder flipped alternate sides. Rotate the affected pages 180 degrees individually. There's no shortcut for "every even page" in most tools, so it's manual — but on a short document it's quicker than re-scanning.
The page is tilted, not rotated. A scan that went in slightly crooked is off by three degrees, not ninety. Page rotation can't help — it only does right angles. Fixing skew means actually resampling the image, which is a scanner-software or image-editor job (many scanning apps have a "deskew" option). Re-scanning is usually faster.
It looks right in one app and wrong in another. Usually a leftover view rotation in the app where it looks correct. Trust the app that shows it wrong — that's what the file actually says.
A photo you converted came out rotated. Phone cameras record orientation as EXIF metadata rather than rotating the pixels, and that metadata is often dropped during conversion. Rotate the image before converting, or fix the resulting PDF afterwards.
Checking it worked
Close the file completely and reopen the downloaded copy — not the tab you had open before. If it's still correct, the rotation is in the document. For certainty, open it in a different application, or email it to yourself and view it on your phone. A view-only rotation will not survive that trip; a real one will.