How to Rotate a PDF (So It Stays Rotated)
You open a PDF and a page is sideways, or the whole scan is upside down. You rotate it in your PDF viewer, close the file… and next time it's wrong again. It's one of the most common little frustrations with PDFs — and it happens because many viewers only rotate the on-screen view, not the file itself.
This guide explains the difference, and how to rotate a PDF so the correction is actually saved into the document and shows up everywhere it's opened.
Rotate PDF
Turn sideways or upside-down PDF pages the right way up.
Why your rotation didn't save
Most PDF readers have a 'rotate view' button. It spins the page on your screen so you can read it, but it's a temporary display setting — it doesn't change the file. Reopen the PDF, or send it to someone else, and the page is back to its original orientation.
To fix a PDF for good, the rotation has to be written into each page's own metadata (its /Rotate value). Then any reader — a browser, a phone, a print dialog — displays it correctly, because the correction lives in the document, not in one app's view.
Rotating one page vs the whole document
Sometimes a single page in an otherwise-fine document is sideways — often a landscape table or a photo inserted into a portrait report. There you want to rotate just that page. Other times an entire scan came in rotated, and every page needs the same 90° or 180° turn.
A good rotate tool lets you do both: a per-page control for the odd page out, and a rotate-all option to spin the whole document at once. Thumbnails of every page make it obvious which ones still need fixing.
Rotation doesn't touch quality
Rotating a PDF is a lossless change. It only updates each page's orientation flag — it doesn't re-render or re-compress the content — so text stays selectable, images keep their resolution, and the file size barely changes. You can rotate as many times as you like without degrading anything.
Rotating privately in your browser
PixelResize rotates PDFs on your device with pdf-lib and writes the new orientation into the file, so it stays rotated everywhere. Nothing is uploaded — which matters for contracts, IDs and other documents you'd rather not send to a server just to turn a page the right way up. Rotate one page or all of them, then save.
Key takeaways
- A viewer's 'rotate view' is temporary — it doesn't change the file.
- To save a rotation, it must be written into each page's metadata.
- Rotate a single sideways page, or spin the whole document at once.
- Rotation is lossless — no quality drop and virtually no size change.
- Rotating in the browser keeps sensitive documents off any server.