How to Rotate a PDF and Save It — Fix Mixed Page Orientations

"My scan came out with pages rotated every which way." "Someone sent me a sideways PDF I can't read." If you work with PDFs, you'll hit this problem regularly.

The key thing to understand: "rotate the view" and "rotate and save" are two different operations. To make sure the next person who opens the file sees the right orientation, you need to bake the rotation into the file itself.

"View rotation" vs "saved rotation"

Adobe Reader and built-in browser viewers have a "rotate 90° right" button, but that only affects what you see on screen. The setting is lost when you close the file, and anyone else who opens it sees the original orientation.

If you want the orientation to stick, the rotation has to be written into the PDF and re-saved.

How to rotate and save a PDF

1. Browser-based tool (recommended)

StayPDF's PDF rotate tool lets you rotate each page individually from a thumbnail view. For mixed-orientation scans, you can visually verify each page as you go.

  • Rotate any page in 90° increments
  • Rotation is stored in the PDF's metadata, so there's no quality loss and no size change
  • Delete and reorder pages from the same screen
  • Files are never sent to a server

Fix mixed orientations in seconds

StayPDF's rotate tool lets you align every page from a thumbnail preview.

Open the rotate tool

2. Adobe Acrobat Pro

Acrobat's "Organize Pages" lets you rotate selected pages or all pages. It's a reasonable choice if you also need other PDF editing features, but a monthly subscription just to rotate pages is overkill.

3. Preview on macOS

On a Mac you can open the PDF in the built-in Preview app, choose Tools → Rotate Left/Right, and save with ⌘+S. It works one page at a time, but isn't ideal for batch operations on multiple files.

4. On a smartphone

On iPhone, you can open the PDF in the Files app and rotate it via Markup (saving requires an extra step). Android's built-in tools don't easily support rotate-and-save, so a browser-based tool via Chrome or Safari is usually the fastest path.

FAQ

Does rotating make the file larger?

No. PDF rotation is stored as a single metadata value, so the file size barely changes. There's no image re-encoding either, so no quality loss.

Can I rotate by less than 90°?

The PDF spec only supports rotation in 90° increments — free angles like 45° aren't possible. If a scanned document is slightly skewed, fix it in your scanning app's deskew/correction feature first.

How do I rotate every page 180°?

In the rotate tool, click each page's rotate button twice, or use "select all" and apply a 180° rotation in one go.

Pick by situation

Mixed-orientation scans

Use the rotate tool and fix only the wrong-facing pages from the thumbnail view.

PDF that's entirely sideways

Rotate every page 90° to make it portrait. A thumbnail-based tool lets you preview the result first.

Just one upside-down page

Click the rotate button on that page twice for 180°. Other pages stay untouched.

Why scans come in rotated

If you've ever wondered why scans land in your inbox sideways, there are usually one of three culprits. First, document feeders pull pages in whichever orientation they were loaded — and a document loaded "long edge first" comes out rotated 90° from one loaded "short edge first". Some scanners auto-detect orientation by reading the text direction, but cheaper or older scanners simply trust the feed direction.

Second, multi-function printers default to landscape for the scanner glass. If you place an A4 page portrait-up and the device is set to landscape input, every page comes out rotated. The fix is in the device's settings, not the PDF — but if you've already been handed the file, rotating after the fact is easier than rescanning.

Third, phone scanner apps sometimes mis-detect orientation when there isn't enough text or contrast for their auto-rotate algorithm. Photos of receipts and handwritten notes are the worst offenders. Once you spot a pattern (your specific scanner always produces rotated even pages, say), you can build a quick rotate-and-save routine into your workflow rather than fighting the same problem every time.

Avoiding double-rotation bugs

The most common mistake people make with rotation tools: applying the rotation twice. It happens because the viewer they're using already auto-rotates the file based on its embedded orientation flag, so the page looks correct, but the underlying file still says "rotate me 90°". When the user then hits the "rotate left" button to "fix" it, they apply a second 90° rotation on top of the first, ending up with a page that's now upside-down.

The defense is to always check the actual file behavior, not just the viewer behavior. Open the PDF in two different viewers (say, Chrome and Adobe Reader) before rotating. If the page renders the same way in both, the file's orientation flag is what you think it is. If they disagree, one of them is auto-rotating and you should figure out which before you start changing things. After saving, verify the result in the same two viewers — agreement means the rotation is real and persistent.

Mixed orientation document strategies

Real-world scanned documents — engineering drawings, financial statements with wide tables, contracts with signature pages flipped — are routinely mixed-orientation by design. A 30-page report might intentionally have three landscape pages embedded in an otherwise portrait document. The mistake is to "fix" everything to portrait without thinking about why those pages are landscape: usually because the content needed the wider canvas.

A better approach is the thumbnail walk-through: open the PDF in a tool that shows page thumbnails, scan from page 1 to the end at low magnification, and only flip pages where the orientation is clearly accidental (text running sideways, a portrait page rotated 180°). Leave intentional landscape pages alone. After working through the document once, see if the result reads naturally — if you're scrolling through and your head doesn't tilt, you're done. For documents that mix orientations a lot, see our guide on organizing PDF pages for tips on combining rotation with reordering.

OCR and rotation interaction

If you're going to run OCR (optical character recognition) on a PDF, get the rotation right before the OCR pass. Most OCR engines can detect text direction and auto-rotate, but accuracy drops sharply when they have to handle pages in arbitrary orientations within a single document. A page that's 90° off can OCR with 30–50% character errors that wouldn't appear if the page were oriented correctly first.

The order matters in the other direction too: if a PDF has already been OCR'd and you rotate the pages afterward, some PDF tools rotate the visible page but leave the embedded text layer in its original position — so the searchable text and the visible text disagree. If you're doing both rotation and OCR, the safe sequence is: rotate first (with a metadata-based rotation tool that doesn't reflow text), save, then run OCR on the corrected file. Yes, it's an extra step. It's also the difference between a clean searchable PDF and one that returns garbage on every search.

Bottom line

To fix a PDF's orientation properly, you have to write the rotation into the file and re-save. View-only rotation in your viewer doesn't persist.

For mixed-orientation scans, StayPDF's rotate tool handles everything from a single thumbnail view. Because rotation is metadata-based, you can repeat the operation many times without losing image quality.