What this tool does
Rotating a PDF takes a fraction of a second, which is why the interesting question is not how to do it but why rotating the right thing sometimes appears to do nothing. The answer is that there are two different kinds of sideways page in a PDF and they look identical on screen, so this tool shows you which one you actually have before you change it.
How it works
Rotation in a PDF is an attribute, not a redrawing. A page carries a number saying how far a reader should turn it, and setting that number changes how the page is displayed without touching a single pixel of its content. That is why it is instant and lossless, and why the file does not grow. The number is a multiple of 90 degrees, so 90, 180 and 270 are the only possible values and any request for 45 has to be snapped to the nearest one.
The distinction that saves the most confusion is between a landscape page and a rotated page. A page that was scanned or created sideways has a media box that is genuinely wider than it is tall, so its content really is laid out sideways and one rotation fixes it. A page that was created upright and then flagged as rotated has a tall media box and a rotation attribute, and it already displays the way it should. Turning the second one again makes it wrong, which is the experience people describe as the rotation not working. This tool reports the media box size and the rotation flag per page so the difference is visible before you act.
Book spreads are the case where a single rotation is definitely the wrong answer. A two-up scan of a spread places a left page and a right page side by side, and each of those is a separate page in the file, upright, with a wide media box. Rotating them all to portrait turns each half of the spread into a tall page with a lot of empty space on one side. What they need is 180 degrees on the even pages and 0 on the odd ones, so that the spread reads correctly when the two are placed side by side again. That is a one-click option here rather than a thing to work out.
One caveat worth knowing because it causes real confusion: a stamp or annotation added to a page may or may not turn with the page, depending on how it was added and which reader opens the file. Rotating a document that already has a watermark can therefore move the watermark relative to the text. The rotation flag is honoured by readers in a way that is not completely consistent across all of them.
Worked example
A two-sided document was scanned on a flatbed in one pass, so every page landed 90 degrees out, and the odd pages are all the same way round.
- Read the page report: each page is flagged as rotated, and the media boxes are landscape
- Rotate all pages 90 degrees to make them portrait
- If instead the pages were a two-up spread, use the book-spread option, which leaves odd pages upright and turns even pages 180 degrees
- Save. Nothing is re-rendered, so file size and image quality are unchanged
Every page reads the right way up, with no quality loss and no change in file size, and you knew which kind of sideways you were dealing with before you started.
Accuracy and limitations
- Only multiples of 90 degrees are possible. A 45-degree request is snapped to the nearest right angle because that is all the format supports.
- Rotating a page that is already correctly displayed makes it wrong. Check the media box and rotation flag in the page report first if pages already look upright.
- Existing stamps and annotations may turn with the page, or may not, depending on the reader opening the file.
- Rotation does not change the page size. A landscape page rotated to portrait is still a wide page with the content turned on it.
Frequently asked questions
- Why does rotating my PDF not change anything?
- Most often the pages are already carrying a rotation flag and displaying correctly, so turning them again rotates them out of place. A page that is genuinely sideways has a media box wider than it is tall and needs one rotation; a page that is merely flagged as rotated already looks right. The page report distinguishes the two before you change anything.
- Does rotating a PDF reduce the quality?
- No, and this is worth understanding: rotation is an attribute attached to the page rather than a redrawing of it. Not a pixel is altered, which is why it is instant and why the file does not grow. Compressing or re-rendering would degrade quality, and neither happens here.
- How do I rotate only some pages?
- Enter the page numbers to rotate in the range field, using forms like 1,4,9-12. Leave it empty to turn every page, and read the preview to confirm which pages it matched before you apply it.
- What is a book spread rotation for?
- For a two-up scan, where a left page and a right page were captured side by side as two separate wide pages. Turning every page to portrait leaves each half with empty space beside it, whereas leaving odd pages upright and turning even pages by 180 degrees makes the spread read correctly when placed side by side again.
- Can I rotate a PDF by a small angle like 45 degrees?
- No. The format only stores rotations that are multiples of 90 degrees, so a request for 45 is snapped to the nearest right angle. If you genuinely need an arbitrary angle the page has to be re-rendered as an image, which is a different operation and would make the text unselectable.
- Are my PDFs uploaded to rotate them?
- No. The rotation attribute is set inside your browser and the file is handed straight back. Nothing is sent to a server at any point.