How-to guides
How to Rotate PDF Pages (and Why It Sometimes Does Not Print Right)
Rotating a PDF is a display instruction, not a new render. That is why it costs nothing and takes no time - and why some printers ignore it.
Open a PDF and find that every page is lying on its side. It happens more often than it should: a scanner fed the stack the wrong way round, a document exported from a phone, a page in landscape sitting in a portrait file, a fax that came through reversed. The fix takes seconds. Knowing which fix to use takes a minute, because rotation has one surprising property that catches people out.
What rotating a PDF actually changes
Rotation does not touch your content. It adds a display instruction to the page - usually a single /Rotate 90 entry in the page's own dictionary - that says "show this page a quarter turn round". The text, the images, the fonts, the embedded scans: nothing is redrawn, nothing is recompressed, nothing is re-OCR'd.
That has three consequences worth internalising:
- There is no quality loss. Not a little, none. A page rotated to 90 degrees and back is byte-identical to the original, because the page never moved.
- It is instant. A 400-page scanned document rotates as fast as the browser can read the file, because it is not touching a single pixel.
- The file size barely moves. You might save a few hundred bytes. If a tool claims to have shrunk your file by rotating it, something else happened to it.
This is also why rotation is the right answer for a scan that fed in backwards, and the wrong answer for the problem most people actually have. More on that below.
The four orientations
| Angle | What it looks like | When you want it |
|---|---|---|
| 0° | Upright, as saved | The default - nothing to do |
| 90° | Turned a quarter turn clockwise | A landscape page sitting in a portrait file |
| 180° | Upside down | A scan fed in the wrong way round |
| 270° | A quarter turn anticlockwise | The other direction of landscape |
The choice between 90 and 270 is not a matter of taste - one of them turns the page the right way up and the other puts it face down. If you pick wrong, rotate again.
When rotating is the wrong fix
This is the part that matters, because it is the mistake people make with a landscape page.
A page can be landscape without its content being sideways. PDF pages carry two separate things: the size of the sheet of paper, and the direction the content is drawn on. A page can be a wide sheet with perfectly upright text on it - which is what a good landscape page looks like. Rotating that page a quarter turn will make the text sideways. You would then have to rotate it back.
If your text is upright and only the page shape is wrong, the fix is to change the page size, not the rotation. That is a different operation, and most simple rotate tools - including this one - will not do it.
If the whole scan came in upside down, rotation is exactly right. Every page is 180° out; one pass fixes the file.
So the diagnostic is simple:
- Is the text sideways? → rotate.
- Is the text upside down? → rotate 180°.
- Is the text upright but the page is the wrong shape? → you need a page-size change, not a rotation.
Rotating one page or all of them
The Rotate PDF Pages tool turns the whole file by one angle - 90, 180 or 270 degrees. Every page moves together. There is no per-page control, and pretending otherwise is how tool pages end up promising something they cannot do.
That constraint is fine for the common cases, and there is a clean workaround for the one case it does not cover.
The whole file is wrong - a reversed scan, a document exported sideways, a batch that came in at the same angle. One pass fixes it.
One page in a mixed document is wrong - a landscape table in a portrait report, one upside-down page in a stapled set. There are two ways through it:
- Rotate the whole file, then delete the pages that should not have moved. Turn every page 90 degrees, then remove the ones that were already the right way up. The remaining pages are the ones you wanted, upright. It is slightly clumsy, and it works.
- Fix it at the source. A scanner's rotation setting, or the application that exported the PDF, handles a mixed document properly in one step.
Two things to know about the operation itself:
- The angle is cumulative. The tool adds to whatever rotation a page already has, so a file that was already turned 90 degrees and is rotated 90 more ends up at 180. Rotating "the wrong way" is therefore fixed by rotating the other way, not by starting over.
- Check the page numbers against the file, not against the reader's thumbnail. Most readers skip blank pages or cover sheets when counting, which is the single most common cause of "I deleted the wrong page" - the subject of the delete-pages guide.
Why your printer still prints it sideways
You rotate the file, it looks perfect on screen, and it comes out of the printer landscape. This is real, and it has a specific cause.
The rotation instruction lives in the page's dictionary. Your PDF viewer honours it. Some print pipelines and converters do not - they take the page's raw dimensions and ignore the instruction, so the page prints as the file says it is, not as the viewer showed it.
That is the trade-off of a rotation that costs nothing: it is an instruction, and anything that only looks at the geometry rather than the instructions will not honour it.
What to do about it:
- Rotate at the source. A scanner has a rotation setting; set it there and the pixels are genuinely turned. A word processor or design tool can export the page the right way up.
- Export to images instead. The PDF to JPG tool renders each page as an image with the rotation baked in. The result is a set of images that print correctly everywhere, because there is no instruction left to ignore - at the cost of a rasterised, less selectable document.
- Print with "actual size" rather than "fit to page" on some drivers, which stops them second-guessing the geometry.
- If it is going to a specific office printer, ask them which of the above their workflow handles.
A short checklist
- Look at the text, not the page shape. Upright text on a landscape page does not want a rotation.
- One angle applies to the whole file. For a mixed document, rotate everything and delete the pages that should not have moved.
- Try 90, then 270 if the page ends up face down - one direction is always wrong.
- Expect no file-size change. A big drop means something else was done to the file.
- Print one page as a test before sending the whole document to a printer or a client.
- Check the page numbers against the file, not the reader, before you make any other change to the document.