PDF

How to rotate a PDF and keep the pages upright for good

A sideways transcript or an upside-down scan looks careless in an application. Here is how to turn the page the right way, save it, and check that it stays upright when the reviewer opens it.

Updated ยท 10 min read

Featured image: How to rotate a PDF and keep the pages upright for good, with a real screenshot of the Photo to PDF tool tool on Dokurapi
Inside the frame: a real screenshot of the Dokurapi tool. All processing runs in the browser, nothing is uploaded.

To rotate PDF pages so they stay upright, you need a tool that saves the rotation into the file, not just into your screen. On a Mac, Preview does this for free: open the PDF, click the rotate button to turn the page left, hold Option and click to turn it right, and save. On Windows, the PDF reader in Microsoft Edge has a Rotate button in its toolbar, but always close and reopen the file to confirm the change was saved. If the PDF came from phone photos, the cleanest fix is to rebuild it from upright photos with our Photo to PDF tool, which runs in your browser.

This guide shows how to tell which way a page needs to turn, the step-by-step for each method, why a rotation sometimes disappears after you reopen the file, and how to verify the result before it goes into a portal. The examples use a synthetic four-page application file in which page 3, a transcript, was scanned on its side. No real personal data appears in any screenshot.

Why PDF pages end up sideways

Sideways pages almost always come from the moment of scanning. A transcript or certificate printed in landscape gets placed on the scanner glass the same way as portrait pages, so the scanner saves it lying on its side. A phone scanner app guesses the orientation from the camera and sometimes guesses wrong, especially when the document is photographed from above on a table. Some phones also save photos sideways and add a rotation tag that tells viewers how to turn them, and not every app reads that tag when it builds a PDF.

For an application, a sideways page is more than a cosmetic problem. The reviewer has to tilt their head or rotate the view on every visit, and a careless-looking file does not help a first impression. Some systems also generate thumbnails or previews of the first pages, and a sideways page there makes the document look wrong at a glance. Fixing it takes a minute, and you only have to do it once if the rotation is saved properly.

Before you rotate anything, check the whole file. Our guide to checking PDF page order explains how to scroll through a bundle and spot pages that are out of order, upside down, or missing, so you fix everything in one pass.

Two rows of PDF page renders: in the first row the third page, an academic transcript, lies on its side; in the second row the same page has been rotated and is upright and landscape
Our synthetic four-page application file before and after: page 3 was scanned on its side, and after rotating it reads normally. Rendered from the real test files with PDF.js, 19 November 2026.

Ready to try it? The tool is free and runs in your browser.

Open the Photo to PDF tool

Which way should you rotate the page

Rotating the wrong way is the most common small mistake, and it turns a sideways page into an upside-down one. Look at where the title or the first line of text sits. If the text runs down the right-hand edge, reading from top to bottom, the page was turned clockwise, so rotate it left (counterclockwise) by 90 degrees. If the text runs up the left-hand edge, reading from bottom to top, rotate it right (clockwise). An upside-down page needs two turns, 180 degrees in total.

Two sideways pages: one with its title running down the right edge, which is rotated left 90 degrees to become upright, and one with its title running up the left edge, which is rotated right 90 degrees; a legend shows that in Preview a click rotates left and Option plus click rotates right
Find the title first: text running down the right edge needs a left turn, text running up the left edge needs a right turn. In Preview, a click turns left and Option plus click turns right.

Rotation in a PDF always happens in steps of 90 degrees. The PDF specification, ISO 32000, stores it as a page attribute called Rotate, the number of degrees the page is turned clockwise when it is displayed or printed, and the value must be a multiple of 90. That is why no free viewer offers to turn a page by 5 degrees to straighten a slightly crooked scan. For a crooked page you need to rescan it, or retake the photo, and our guide to scanning a document to PDF covers how to keep pages straight from the start.

Method 1: rotate PDF pages in Preview on a Mac

Preview is the most reliable free option because the rotation becomes part of the file you save. Apple's Preview User Guide gives the steps for one page and for several pages at once.

  1. Open the PDF in Preview.
  2. To rotate one page, click the rotate button in the toolbar. Each click turns the page 90 degrees to the left.
  3. To rotate it to the right instead, hold the Option key and click the same button.
  4. To rotate several pages at once, choose View, then Thumbnails or Contact Sheet, select the pages (hold Command to pick pages that are not next to each other), then click rotate.
  5. Save the file. If you want to keep the original, choose File, then Duplicate first, or use File, then Export as PDF to write a new copy.
Screenshot of Apple Support: to rotate a PDF in Preview, open it, click the rotate button to turn one page left, hold Option and click to turn it right, or choose View, Thumbnails or Contact Sheet to rotate several pages at once
Apple documents single-page and multi-page rotation in Preview, including Option plus click for a right turn. Source: Apple Support, Crop or rotate a PDF in Preview on Mac, screenshot taken 19 November 2026.

Rotating only the page that needs it is important. If you select all pages by accident and click rotate, every portrait page turns sideways. Select the thumbnail of the sideways page alone, check the result in the main view, and only then save. Preview can also reorder pages by dragging thumbnails and delete pages you do not need, which our article on deleting pages from a PDF describes step by step.

Method 2: rotate in the Microsoft Edge PDF reader

Windows computers come with Microsoft Edge, and its built-in PDF reader is what opens most PDFs on a new laptop. Microsoft's documentation lists Rotate among the reader's basic features, next to Zoom, Fit to page or width, jump to page, and search, all available from the toolbar at the top of the document.

Screenshot of Microsoft Learn: the PDF reader built into Microsoft Edge comes with basic reading and navigation features such as Zoom, Rotate, Fit to page or width, jump to page, and search, available from a toolbar at the top of the PDF
Microsoft lists Rotate among the toolbar features of the Edge PDF reader. Source: Microsoft Learn, PDF reader in Microsoft Edge, screenshot taken 19 November 2026.

Open the PDF in Edge, click the rotate button in the toolbar, and the document turns 90 degrees. Here is the catch: rotating in a viewer can be a viewing setting rather than a change to the file. Microsoft's documentation describes Rotate as a reading and navigation feature, and how it behaves can differ between Edge versions, for example whether it turns one page or the whole document. So treat Edge as a quick fix that you must verify. After rotating, save the file with the save button or Ctrl + S, close the tab, and open the saved file again. If the page is upright, you are done. If it opens sideways again, the rotation only changed your view, and you should use Preview, the source document, or the rebuild method below.

A sideways page is rotated in a viewer, then the path splits: if the rotation only changed the view, the reopened file is still sideways and needs Preview or a rebuild; if it was saved into the file, the reopened file stays upright and is ready to upload
The only test that counts: close the file and open it again. A rotation that was only for viewing disappears; a saved rotation stays.

Method 3: rebuild a phone scan with upright pages

Many sideways PDFs are really a stack of phone photos turned into a document. If you still have the photos, rebuilding the PDF is often faster than rotating it, and it lets you fix the page order and drop bad shots at the same time. Phones often store a photo sideways with a rotation tag. Since 17 November 2026, our Photo to PDF tool reads that tag in JPEG photos and draws each page upright before adding it to the PDF, and everything happens in your browser, so the photos are never uploaded.

  1. Open the Photo to PDF tool.
  2. Choose the page photos in the order you want them.
  3. Check the preview, then create and download the PDF.
  4. Open the new file and scroll through every page.

If a photo is sideways without a rotation tag, for example because it was edited or screenshotted, rotate the photo first in your phone's gallery or the Photos app, then rebuild. Our guides to turning photos into a PDF and scanning an ID card cover lighting and framing so the pages look clean as well as upright. iPhone HEIC photos need converting first; see how to convert HEIC to JPG.

Which rotation method to use

The right method depends on your computer, whether you have the source file or photos, and how sensitive the document is. Editing the source is cleanest when you made the document yourself: change the page orientation in Word or Google Docs and export a new PDF. Online PDF editors also rotate pages, but they need the whole document uploaded to someone else's server, which is a poor trade for an ID card or transcript.

MethodCostFile leaves your device?Rotation saved in the file?Best for
Preview on MacFree, built inNoYes, when you saveMac users, one or many pages
Microsoft Edge PDF readerFree, built inNoCheck by reopeningQuick fixes on Windows
Rebuild with Photo to PDFFreeNo, runs in the browserYes, pages are drawn uprightPhone scans, any device
Edit the source and exportDepends on the appNo, if the app is localYesDocuments you wrote yourself
Online PDF editorOften free with limitsYes, uploadedUsuallyNon-sensitive files

For anything with a national ID number, a photo, or grades on it, prefer a method that keeps the file on your device. Our explainer on how browser-based tools work covers why that is the safer default.

Verify the rotated PDF before you upload

A rotated file should differ from the original in exactly one way: the orientation of the pages you turned. The page count must stay the same, and the size should barely change, because rotation is stored as a small attribute on each page rather than a new image. We checked this with the synthetic file, rotating page 3 by 270 degrees (one left turn) and saving a new copy, then loaded both into the Check PDF Size tool.

Dokurapi Check PDF Size tool listing application-sideways.pdf at 62.2 KB with 4 pages and application-upright.pdf at 60.1 KB with 4 pages, both under a 500 KB limit
Test with a synthetic sample: the sideways original and the rotated copy both have 4 pages and stay far under a 500 KB limit. Screenshot of the Dokurapi tool, 19 November 2026.

Both files have 4 pages. The rotated copy is 60.1 KB against 62.2 KB for the original. The small difference comes from the file being written again when it was saved, not from the rotation itself, which only adds a few bytes. If your rotated file is suddenly much larger or smaller, something else happened, for example the tool flattened the pages into images, so open it and check the text is still sharp. If a portal limit is tight, compress afterwards with the Compress PDF tool and confirm the result with our guide on checking file size before upload.

Then open the file once more, ideally in a different viewer from the one you used to rotate it, and look at every page. A file that looks right in Preview but sideways in a browser tells you the rotation was not stored the way other programs read it.

Common mistakes when rotating a PDF

  • Rotating the whole file. Select only the sideways page, or portrait pages will end up on their side.
  • Turning the wrong way. Text running down the right edge needs a left turn; text running up the left edge needs a right turn.
  • Trusting the screen. A rotation in a viewer may be view-only. Save, close, and reopen to be sure.
  • Expecting small angles. PDF rotation works in 90-degree steps. A crooked scan needs rescanning.
  • Overwriting the only copy. Duplicate the file or export a new one, so you can go back.
  • Uploading ID documents to an online editor. Use Preview, the Edge reader, or a browser tool that keeps files on your device.

If you also need to sign the document, rotate it first. Our Sign PDF tool handles rotated pages, but placing a signature is easier on an upright page; see how to sign a PDF. When the file is ready to send as part of a bundle, our guide to merging PDFs for submissions covers the final assembly.

Frequently asked questions

How do I rotate a PDF for free?
On a Mac, open it in Preview, click the rotate button (Option plus click to turn right), and save. On Windows, use the Rotate button in the Microsoft Edge PDF reader, save, then reopen the file to confirm the rotation was kept.
How do I rotate just one page of a PDF?
In Preview, choose View, then Thumbnails, select only that page, and click rotate. Rotating with nothing selected or with all pages selected can turn every page.
Why does my PDF go back to sideways after I reopen it?
The rotation only changed how the viewer displayed the file and was not saved into it. Save the rotated file, or use a method that stores the rotation, such as Preview or rebuilding the PDF from upright photos.
Which way should I rotate a sideways page?
If the text runs down the right edge, rotate left 90 degrees. If it runs up the left edge, rotate right 90 degrees. An upside-down page needs 180 degrees.
Can I rotate a PDF by a small angle to straighten a crooked scan?
No. The PDF format stores page rotation in multiples of 90 degrees. A crooked page has to be scanned or photographed again.
Does rotating a PDF change its file size?
Barely. In our test the rotated copy was 60.1 KB against 62.2 KB for the original, a difference caused by re-saving the file rather than by the rotation.
Can I rotate a PDF without uploading it?
Yes. Preview on Mac and the Edge PDF reader work on your device, and the Dokurapi Photo to PDF tool rebuilds a document from upright photos inside your browser.
How do I fix sideways pages from my phone scanner?
If you still have the photos, rebuild the PDF with the Photo to PDF tool, which draws JPEG photos with a rotation tag upright. Otherwise rotate the page in Preview or Edge and check it by reopening.

Sources

  1. Crop or rotate a PDF in Preview on Mac (Apple Support)
  2. PDF reader in Microsoft Edge (Microsoft Learn)
  3. Document management, Portable document format, Part 1: PDF 1.7, ISO 32000-1:2008 (Adobe)

Need help?Result not quite right, or unsure about a form rule? Ask Dokurapi support on WhatsApp. Please do not send personal documents in chat.

Chat on WhatsApp

Related articles

Try Dokurapi for Free

No account needed. Pick a tool, drop in a file, and download the result, free.