Rotate PDF Pages Free Online
The document is opened and edited in this tab. It stays local — a contract or a scan is never uploaded to be processed.
Loading the tool…
How it works
/Rotate is metadata, so rotating is free
ISO 32000 gives every page an optional /Rotate entry: an integer multiple of 90 giving the clockwise rotation to apply when the page is displayed or printed. It is inherited through the page tree, and the only legal normalised values are 0, 90, 180 and 270. Changing it means writing one number into one dictionary — the content stream, the text, the fonts and the images are not touched, which is why rotation here is lossless and effectively instantaneous even on a 500-page file. Tools that rotate by re-rendering each page into an image are doing enormously more work to produce a strictly worse file.
- Legal values
- Multiples of 90 only. A viewer normalises to 0, 90, 180 or 270, so 270 and -90 describe the same page.
- Inheritance
- /Rotate can be set on a /Pages node and inherited by its children. A per-page value overrides whatever it inherited.
- Direction
- Positive rotation is clockwise, which is the opposite of the anticlockwise convention in PDF's coordinate space. The preview settles it faster than the arithmetic does.
- Selection
- Apply to every page, to odd or even pages, or to a typed range — the usual shapes a duplex scanner leaves behind.
- Permanence
- The value is saved into the document, so the page opens rotated everywhere. Rotating in a viewer without saving changes nothing in the file.
How to use it
How to rotate PDF pages online
- 01
Open the PDF
Pages are previewed by pdf.js in the tab so you can see which ones are wrong.
- 02
Rotate the pages that need it
All pages, alternate pages, or a specific range, in 90-degree steps.
- 03
Save the rotated file
Only the /Rotate values change, so the download is quick and the pages are otherwise identical.
Where it earns its keep
Where a PDF rotation is the fix
- Straightening a duplex scan whose reverse sides all came out 180 degrees around.
- Turning a landscape spreadsheet export so it reads without tilting your head.
- Fixing a phone-photographed document that a colleague has to keep rotating manually.
- Making a mixed-orientation bundle consistent before it is printed and bound.
Questions
Rotate PDF, answered
Can it rotate by an arbitrary angle, like 3 degrees?
No. /Rotate accepts multiples of 90 and nothing else, so a crooked scan cannot be straightened here — correcting a slight tilt would mean re-rendering the page as an image and losing the text layer. Deskewing belongs in scanning software, before the PDF exists.
Does rotating reduce quality or make the file bigger?
Neither. One integer per page changes and the content streams are copied through unmodified, so the saved file is essentially the same size and the pages are pixel-for-pixel identical when rendered.
Why did my viewer show it rotated but the file was not?
Because the rotate button in most viewers is a view setting, not an edit — it is discarded when the document closes, and the recipient sees the original orientation. Saving the change into /Rotate is what makes it travel with the file.
Is the PDF uploaded to rotate it?
No. pdf-lib reads and rewrites the document in this browser tab, so a scanned passport or bank statement that only needs turning the right way up never reaches a server.