A page comes out of the scanner sideways, or a landscape table sits rotated ninety degrees inside an otherwise portrait report. Rotation is a two-second fix — but only if you fix the right thing, because there are two different operations here and picking the wrong one produces a file that looks correct on your screen and wrong on everyone else's.
View rotation versus saved rotation
Every PDF viewer offers a rotate command that turns the page on screen. In most viewers, that is a view setting. It affects your window and nothing else. Close the file, reopen it, and the page is sideways again — and the person you emailed it to never saw it any other way.
Saved rotation writes the orientation into the file itself. The PDF specification gives each page a /Rotate attribute, set to 0, 90, 180, or 270 degrees, which every conforming viewer honours. Change that, save, and the page is upright for everybody, everywhere, forever.
If you have ever "fixed" a rotated page and had the recipient tell you it is still sideways, this is why. The rule of thumb: if you did not save or export afterwards, you changed the view, not the file.
Rotating with what you already have
macOS Preview. Open the PDF, show the sidebar with View → Thumbnails, select the pages to turn (Cmd-click for several, Cmd-A for all), then press Cmd-R to rotate right or Cmd-Shift-R to rotate left. Then File → Save. That last step is the one people skip.
Windows. No built-in editor, but Microsoft Edge can rotate the view, and free applications such as PDF24 Creator and PDFsam Basic rotate and save offline. LibreOffice Draw also works.
Command line. With qpdf: qpdf in.pdf out.pdf --rotate=+90:3 rotates page 3 by ninety degrees; --rotate=+90 alone applies to every page. With Poppler's pdftk-style tools the syntax differs slightly but the capability is the same. This is the right approach for batches.
Doing it locally keeps the document on your machine and sidesteps the daily limits that free web tools impose.
Rotating online
Smallpdf, iLovePDF, Sejda, PDF24 and others all offer a free rotate tool, and the flow is identical across them: upload the file, click the rotate icon on the page thumbnails that need turning, apply, download. It is genuinely easy, and for a scan of a restaurant menu it is the fastest route.
Two things to weigh. These tools upload your document to their servers, so for anything containing personal, financial, or client information the local options above are the better choice. And free tiers cap how many files you can process per day.
To be straight about our own scope: Docento.app edits pages — signatures, text, stamps, annotations — rather than restructuring documents, so rotation is not something we do. Use one of the methods above and come back for the editing.
Why pages end up rotated
The scanner fed them that way. The most common cause. Document feeders often capture landscape originals as rotated portrait pages.
A phone photo carried EXIF orientation. Your phone stores which way up it was held as metadata rather than by rotating the pixels. Some tools honour that tag and some ignore it, so the same image can appear upright in one application and sideways in another. When a page looks rotated in one viewer only, this is usually why. See scanning documents with your phone.
A landscape page was inserted into a portrait document. Wide tables and charts are frequently produced landscape and merged in without rotation.
The source application exported it that way. Some generators set page dimensions rather than the rotation attribute, which is technically valid and practically annoying.
Things that catch people out
Rotation direction is not consistent between tools. "Rotate right" means clockwise almost everywhere, but on a page that is already at 180 degrees, one more rotation lands somewhere unexpected. Look at the thumbnail rather than counting.
Rotating all pages when you meant one. Easy to do, and easy to miss until the recipient opens it. Check every page after applying.
Rotation and page dimensions are different things. A page rotated 90 degrees is still, in the file, a portrait page with a rotation flag. Printers usually handle this correctly; some older workflows do not, and a page that displays upright can print sideways. If the document will be printed in volume, test one page first.
Annotations rotate with the page. Any text or signature you added before rotating turns with it. Rotate first, then edit — doing it the other way round means checking your additions afterwards.
Rotating a signed document breaks its signature. If the PDF carries a certificate-based digital signature, altering the file invalidates it.
After rotating
With the pages the right way up, the document is ready for the actual work: filling out the form, adding your signature, or annotating it. If it is a scan headed for email, it is also worth compressing it — rotated scans are no smaller than unrotated ones, and both tend to be larger than mail servers like.