PDFs store rotation as a flag, not as actual page content. That flag can be ignored or overridden by different apps. Fix: rotate the page correctly, then flatten to bake the rotation permanently into the content.
- PDF rotation is stored as a metadata flag, not written into the page pixels
- Different apps interpret this flag differently - One viewer shows portrait, another shows landscape
- Rotate PDF corrects the flag; Flatten PDF bakes the rotation into the actual content
- Without flattening, a "fixed" rotation can silently revert in other software
Rotate + Flatten is the only reliable way to permanently fix a rotated PDF.
Why PDFs Have a Rotation Problem

You rotate a page in your PDF editor. It looks correct. You save it. You open it on another computer, or send it to a colleague, and it's sideways again. Or the opposite: you open a PDF and it's rotated 90° in one app but looks correct in another.
This happens because of how PDFs store rotation - And it's a design quirk that's been in the format since the beginning.
How PDF Rotation Actually Works
A PDF page has two things: content (the actual text, images, and graphics drawn on the page) and a rotation flag in the page dictionary. This flag tells the viewer "when displaying this page, rotate it X degrees."
Here's the problem: the flag is just a suggestion. Different apps interpret it differently:
- App A reads the rotation flag and rotates the display → page looks correct
- App B ignores the rotation flag → page appears rotated the wrong way
- App C reads the flag but adds its own rotation on save → now there are two competing rotation instructions
When you "rotate" a page in most PDF editors, you're only changing this flag. The underlying content - The coordinate system, the text direction, the image positions - Stays exactly as it was originally drawn. That's why the rotation can disappear or invert when you open the file in different software.
The Fix: Two Steps, Not One
Fixing a rotation problem permanently requires two operations, not one:
- Step 1 - Rotate: Use PDFBEAR's Rotate PDF to set the correct orientation. This corrects the rotation flag to the right value.
- Step 2 - Flatten: Use PDFBEAR's Flatten PDF to bake the rotation into the actual page content. After flattening, the content is redrawn in the correct orientation - The rotation flag becomes 0° because the page is genuinely upright, not just labelled as upright.
After flattening, every app - Regardless of how it handles the rotation flag - Will display the page correctly, because the content itself is in the right orientation.
When to Use Rotate Without Flatten
There are legitimate reasons to rotate without flattening - Specifically when you still need to edit the PDF. Flattening merges all layers and bakes content into static form, which can make further editing harder. If you're rotating a PDF that you're still working on, use Rotate PDF alone and flatten only when the document is in its final state.
If the PDF is final and you just need it to display correctly everywhere, always flatten after rotating.
Common Scenarios and Fixes
| Scenario | Cause | Fix |
|---|---|---|
| PDF displays sideways in all apps | Wrong rotation flag set at creation | Rotate PDF → Flatten PDF |
| PDF correct in App A, sideways in App B | App B ignores rotation flag | Rotate PDF → Flatten PDF |
| Rotation reverts after saving in another editor | Other editor overwrites the flag | Rotate PDF → Flatten PDF |
| Scanned document saved upside-down | Scanner saved with wrong orientation | Rotate PDF (180°) → Flatten PDF |
| Phone photo PDF always rotated 90° | EXIF orientation not applied on save | Rotate PDF → Flatten PDF |
| Mixed-orientation PDF (some pages portrait, some landscape) | Per-page rotation flags inconsistent | Rotate individual pages → Flatten |
What Flattening Does (and Doesn't Do)
PDFBEAR's Flatten PDF tool does more than fix rotation - It merges all interactive and overlay content into the base page content. This includes:
- Rotation - Baked into the content coordinate system
- Form fields - Merged into the static content (values become part of the page)
- Annotations - Merged into the page instead of floating above it
- Watermarks and overlays - Permanently part of the page
What flattening does NOT do:
- It does not reduce file quality (this is not the same as compression)
- It does not remove password protection
- It does not change the visual appearance of the document
Step-by-Step: Permanently Fix a Rotated PDF
- Go to Rotate PDF on PDFBEAR
- Upload your PDF
- Select the pages to rotate and choose the correct orientation (90° clockwise, 90° counter-clockwise, or 180°)
- Download the rotated PDF
- Go to Flatten PDF and upload the rotated file
- Download the final flattened PDF - Rotation is now permanent
Both tools are free, require no account, and process your file privately. The total time for both steps is typically under 60 seconds for a standard PDF.
Compare PDF tools