You scan a stack of paper, one page comes out sideways, you turn it upright in your PDF viewer and send it on. The recipient opens it and it is sideways again. This is one of the most common PDF complaints, and it comes down to a difference between viewing and saving.
Viewer rotation is not saved
The rotate button in most PDF viewers changes only how the page is displayed in that window, in that session. It is a viewing convenience, like zooming. Close the file and the setting is gone, because nothing in the file changed.
To make rotation stick, the file itself has to be modified and saved. Some viewers offer that as a separate action, often buried, and some free viewers do not offer it at all.
How rotation is stored
Each page in a PDF can carry a rotation value, and the specification allows exactly four: 0, 90, 180 and 270 degrees, always clockwise. There is no arbitrary angle, so you cannot straighten a page that was scanned at 3 degrees off using rotation alone.
The value is an instruction to the viewer: draw this page, then turn it by this much before displaying. Because it is metadata, setting it is lossless. The page content is untouched, text stays selectable, images keep their original resolution, and the file size barely changes.
That is worth knowing, because a poor tool might instead render each page to an image and rotate the picture. That destroys selectable text and inflates the file. If your rotated output is suddenly much larger, or text is no longer selectable, that is what happened.
Why scans come out sideways in the first place
- The page was fed into the scanner in landscape while the scanner assumed portrait.
- Auto-rotate guessed from the text direction and got it wrong, which is common on forms, tables and pages with little text.
- A phone camera recorded an orientation tag that the PDF conversion ignored.
- The document genuinely mixes orientations, such as a report with a wide table in the middle.
Rotating some pages but not others
Mixed documents are the usual case: forty portrait pages and three landscape tables. Rotating everything fixes three pages and breaks forty. Any tool worth using lets you select specific pages or a range.
Watch the direction. If a page reads bottom-to-top, it needs 90 degrees clockwise. If it reads top-to-bottom, it needs 270. Upside down needs 180. It is quicker to check a thumbnail than to guess and re-do it.
Confirm it actually saved
- Download the rotated file and close it.
- Reopen it. If the page reverts, you rotated the view rather than the file.
- Open it in a second viewer, ideally a browser, since browsers honour the page rotation value reliably.
- Check text is still selectable, which confirms the tool did not flatten your pages into images.