How to Rotate PDF Pages — Fix Orientation in Seconds

Published May 5, 2026

Opened a PDF and found half the pages are sideways or upside down? It happens more often than you would think — scanned documents, photos converted to PDF, and files from mobile apps frequently land with wrong orientation. The good news is that rotating PDF pages is one of the simplest PDF operations you can do, and it takes just seconds.

This guide covers every way to rotate PDF pages: online tools for quick fixes, desktop software for batch rotation, and command-line methods for automation. Pick the one that fits your workflow.

Why Do PDF Pages End Up Sideways?

Several common scenarios produce incorrectly rotated PDFs:

  • Mobile scanning apps: Photos taken at an angle or with auto-rotate disabled produce sideways scans.
  • Scanner settings: Placing a document in the ADF (automatic document feeder) the wrong way rotates all pages.
  • Merged documents: Combining landscape and portrait pages into one PDF often creates inconsistent orientation.
  • Email and fax conversions: Faxes and email attachments sometimes lose orientation metadata during conversion.
  • Screenshot exports: Saving a screenshot as a PDF may use the screen orientation rather than the document orientation.

Method 1: Rotate PDF Online (Quickest)

For most people, an online PDF rotator is all you need. Upload the file, rotate the pages that need fixing, and download the corrected version. No software, no accounts, no waiting.

Steps:

  1. Open an online PDF rotation tool in your browser
  2. Upload your PDF file
  3. View each page as a thumbnail
  4. Click the rotate button (clockwise or counterclockwise) on each page that needs adjustment
  5. You can also select all pages and rotate them at once if they are all wrong in the same direction
  6. Download the rotated PDF

Tip: Some tools let you rotate individual pages while others rotate the entire document. If only certain pages are wrong, make sure the tool supports per-page rotation before you start.

Method 2: Rotate PDF with Desktop Software

Adobe Acrobat Pro

  1. Open the PDF in Adobe Acrobat Pro
  2. Go to View > Rotate View to temporarily rotate the view (this does not save the rotation)
  3. To permanently rotate, go to Tools > Organize Pages
  4. Select the pages you want to rotate (Ctrl+click for multiple, Ctrl+A for all)
  5. Click the rotate clockwise or counterclockwise button in the toolbar
  6. Save the document to make the rotation permanent

Important distinction: Rotate View only changes how the PDF displays on your screen. To actually fix the file so it opens correctly for everyone, you need to use Organize Pages and save the document.

Preview (macOS)

  1. Open the PDF in Preview
  2. Show the sidebar with page thumbnails (View > Thumbnails)
  3. Select the pages you want to rotate (Cmd+click for multiple pages)
  4. Press Cmd+L to rotate left or Cmd+R to rotate right
  5. Or click the rotate button in the toolbar
  6. Save the file (Cmd+S) to keep the changes

Preview makes per-page rotation dead simple. Select any combination of pages and rotate them independently.

PDF-XChange Editor (Windows, Free)

  1. Open the PDF in PDF-XChange Editor
  2. Go to Organize > Rotate Pages
  3. Choose the rotation angle (90, 180, or 270 degrees)
  4. Select which pages to rotate (current page, page range, or all pages)
  5. Click OK and save the file

Method 3: Rotate PDF with Command Line

Using pdftk

# Rotate all pages 90 degrees clockwise
pdftk input.pdf cat 1-endS output output.pdf

# Rotate specific pages (page 3 rotated 90 degrees clockwise)
pdftk input.pdf cat 1-2 3S 4-end output output.pdf

# Rotate 180 degrees
pdftk input.pdf cat 1-endE output output.pdf

pdftk rotation codes: S = 90 degrees clockwise, E = 180 degrees, W = 90 degrees counterclockwise. You append these to page numbers to specify rotation per page.

Using qpdf

# Rotate all pages 90 degrees clockwise
qpdf --rotate=+90 input.pdf output.pdf

# Rotate specific pages
qpdf --rotate=+90:1,3,5 input.pdf output.pdf

qpdf syntax is cleaner for rotation tasks. The +90 means rotate 90 degrees clockwise. Use -90 for counterclockwise and +180 for upside-down correction.

Batch Rotation for Large Documents

If you have a scanned document where every page is rotated the same way, batch rotation saves time:

  • Online tools: Most have a "rotate all" button that applies the same rotation to every page.
  • Acrobat: Select all pages (Ctrl+A) in Organize Pages, then click rotate once.
  • Command line: pdftk and qpdf rotate all pages by default unless you specify otherwise.

Mixed Orientation Documents

Some PDFs have a mix of portrait and landscape pages that are all correct — landscape pages are sideways when viewed in portrait mode but are intended that way (spreadsheets, wide tables, etc.). In these cases, only rotate the pages that are genuinely wrong, not every landscape page.

If your document intentionally mixes orientations, be careful with batch operations. Rotate only the pages that are actually misoriented. Most tools let you select individual pages, so take the extra minute to be selective.

Rotating PDF on Mobile

iPhone and iPad

  • Open the PDF in the Files app or a PDF reader app
  • Use the share button to send it to an online rotation tool via Safari
  • Or use a dedicated PDF app from the App Store that supports page rotation

Android

  • Open Chrome and navigate to an online PDF rotation tool
  • Upload the file from your device storage or Google Drive
  • Rotate and download back to your device

Permanent vs. View-Only Rotation

This distinction trips people up frequently:

  • View rotation changes how the PDF displays on your screen but does not modify the file. When you close and reopen the document, it reverts to its original orientation.
  • Permanent rotation modifies the page rotation attribute in the PDF file itself. The corrected orientation persists for anyone who opens the file.

Always use permanent rotation when fixing a document you plan to share. View rotation is useful when you just need to read a sideways document quickly and do not need to save the change.

Tips for Correct Scanning

Prevention beats correction. Here is how to get correctly oriented PDFs from the start:

  • Check scanner orientation: Make sure documents are placed in the feeder with the top edge entering first.
  • Enable auto-rotate: Most scanning apps and scanner software have an auto-orientation feature. Turn it on.
  • Use the right preset: Select the correct paper size (Letter, A4) and orientation (portrait/landscape) before scanning.
  • Preview before scanning: If your scanner shows a preview, check that the page appears right-side up.
  • Mobile scanning: Hold the phone in the orientation that matches the document. Most apps detect the edges and orientation automatically.

Frequently Asked Questions

Does rotating a PDF reduce quality?

No. Rotating a PDF changes the page orientation metadata without re-encoding any content. Text, images, and formatting remain identical to the original. This is true for all methods — online, desktop, and command line.

Can I rotate just one page in a PDF?

Yes. All the methods described in this guide support per-page rotation. Select the specific page (or pages) and rotate only those. The rest of the document stays unchanged.

Why does my PDF look rotated in some viewers but not others?

Some PDF viewers ignore the rotation attribute and display pages based on their coordinate system, while others respect the rotation flag. If you see inconsistent behavior across viewers, the PDF may have conflicting rotation data. Re-saving with a permanent rotation usually fixes this.

Key Takeaways

  • Online rotation tools fix orientation in seconds with no software needed
  • Desktop tools like Preview (Mac) and Acrobat Pro give you per-page control
  • Command-line tools (pdftk, qpdf) are best for batch processing and automation
  • Know the difference between view rotation and permanent rotation
  • Rotating PDFs does not reduce quality — it only changes orientation metadata
  • Prevent orientation issues by checking scanner settings and enabling auto-rotate