Home/Guides/PDF
πŸ”„PDF

Fix a PDF That Opens Sideways or Upside Down (Permanently, Not Just in Your Viewer)

Page rotation vs content rotation, which way to turn, fixing only some pages, and untangling scanner batches that came out backwards.

6 min read

Why a PDF opens the wrong way up

A scanner does not know which way the paper went in. A phone does not always record which way it was held. A designer exports a landscape page in a portrait document. The result is a PDF where some or all pages show sideways or upside down β€” readable if you tilt your head, embarrassing if you send it, and a nuisance for anyone printing it. The fix is usually a ten-second rotation, but which tool and which setting depends on whether the page is rotated or the content is, and on whether every page is wrong or only some. This guide covers each case and the two mistakes that leave a file looking fixed on your screen but wrong on everyone else's.

Page rotation vs content rotation

A PDF page has a /Rotate attribute β€” 0, 90, 180 or 270 degrees β€” that tells every viewer how to display it. When that flag is set, the content is stored upright and the viewer turns it; when it is not, whatever the scanner drew is what you see. The distinction matters because a viewer's own β€œrotate view” button (Ctrl+Shift+Plus in Acrobat, the toolbar arrows in Preview and Chrome) changes only what you see now. Close and reopen, or send the file, and it is sideways again. To fix the file itself, the rotation must be written into the page β€” which is what the Rotate PDF tool does.

SymptomCauseFix
Every page is sideways the same wayPaper fed rotated, or landscape exportRotate PDF, all pages, 90Β° or 270Β°
Every page is upside downStack fed from the wrong endRotate PDF, all pages, 180Β°
Every page upside down and in reverse orderStack fed face-down from the backReverse PDF Pages, then Rotate 180Β°
Only some pages are wrongMixed portrait and landscape originalsRotate PDF with a page list: 3, 7-9
Looks fine in one viewer, wrong in anotherOld /Rotate flag plus rotated contentRotate to correct, then Compact PDF to normalise
Page is upright but content is cut off at one edgeRotation applied but page box not updatedResize PDF Pages to the correct orientation

Which way to turn: 90 or 270?

Rotation is clockwise. If the top of the text is on the right edge of the page, turn it 270Β° (equivalently 90Β° anticlockwise) to bring it up. If the top of the text is on the left edge, turn it 90Β°. If you pick the wrong one the page ends up upside down β€” no harm done, just run it again with 180Β°. The tool shows the first page after rotation so you can check before downloading.

Fixing just some pages

Rotate PDF takes a page list like 3, 7-9, 14. To find the numbers quickly, open the file in the PDF Viewer alongside and note which thumbnails are wrong. Landscape tables and charts inside a portrait report are the classic case: rotate only those so the report reads top-to-bottom, or leave them landscape on purpose so the table is larger on screen β€” both are valid, but be consistent within a document.

Scanner batches that came out backwards

  • Reverse order, upright: Reverse PDF Pages. The last page becomes the first; nothing else changes.
  • Reverse order, upside down: Reverse PDF Pages, then Rotate PDF 180Β° on all pages. Order does not matter.
  • Odd pages forward, even pages backward (single-sided scanner, second pass for the backs): the even-page file needs Reverse PDF Pages, then Merge PDF with alternating order β€” or, for a short document, Reorder PDF Pages by drag and drop.
  • Two book pages per scan: Halve PDF Pages splits each spread into left and right pages before you rotate or reorder.

After rotating: check on another device

Two reasons a file can still look wrong to someone else. First, if you used a viewer's rotate-view button rather than a tool that writes the rotation, nothing was saved β€” the test is to reopen the file fresh. Second, a few old PDFs already carry a /Rotate value that some viewers honour and others ignore; after rotating such a file, run it through Compact PDF, which rewrites pages with a clean rotation, so that Acrobat, Preview, Chrome and phone viewers all agree. If the file will be printed, preview it once in the print dialogue: printers apply their own auto-rotate settings, and a landscape page can come out shrunk on portrait paper unless β€œauto-rotate and centre” is on.

Prevention

  • Feed scanner stacks with the top edge first and face up (or as your scanner's icon shows); do a one-page test before a 100-page batch.
  • Phone scan apps: hold the phone so the page is upright on screen before capturing; most apps do not auto-orient afterwards.
  • When exporting from Word or slides, set the page orientation in the document rather than rotating the content on the page.
  • Combine several scans with Merge PDF only after each is oriented correctly β€” rotating a single page later is easy, but fixing a mixed batch means listing pages one by one.

Frequently asked questions

I rotated the file and it still opens sideways on my phone.

You most likely used the viewer's rotate-view, which is temporary. Use Rotate PDF, download the result and open that file.

Does rotating reduce quality?

No. Rotation sets a flag on the page; content is untouched, text stays selectable and images keep their resolution.

Can I rotate a page by an angle other than 90Β°?

Not in PDF β€” pages rotate in quarter turns only. A slightly skewed scan is a deskew job for scanner software or an image editor, not a rotation.

Why is the page rotated but the page size did not change?

Viewers swap width and height automatically when displaying a rotated page. If a tool shows the old dimensions, Resize PDF Pages can set the page box explicitly.

Can I rotate a password-protected PDF?

Unlock it first with Unlock PDF (you need the password), rotate, then protect again if needed.

Is my file uploaded?

No. All the tools mentioned run in your browser with pdf-lib; the document never leaves your device.

Tools mentioned in this guide