Rotate PDF

Rotate PDF pages, entirely in your browser

Rotate PDF changes each page's orientation flag rather than the content drawn on it. Every page in a PDF carries a /Rotate attribute that readers obey when they display it, and this tool rewrites that number and saves the document back out. Since nothing is redrawn or re-encoded, the rotated file is practically the same size as the original, the text stays searchable, and scanned imagery is not put through another round of compression. Among the five PDF tools here it is the only one that edits the original document in place instead of building a new one, and that distinction matters more than it sounds.

How to use it

  1. Drop a PDF onto the dashed box or click to open the picker. One file at a time.
  2. Wait for the page thumbnails. "Loading preview..." shows while they are generated, one page after another.
  3. Click any thumbnail to turn that page 90 degrees clockwise; the thumbnail turns with it. Clicking the same page again keeps adding: twice is 180 degrees, three times 270, four times back to where it started.
  4. If the whole document is sideways, use "Rotate all 90° CW" above the grid. It adds 90 degrees to the current state, so pages you already turned individually get turned once more.
  5. Got it wrong? "Reset" next to it returns every page to how it was when you loaded the file — back to the original angles, not to upright.
  6. Press "Apply rotation and download" to build the file, then the "Download" link to save it as rotated.pdf. If every page happens to sit at 0 degrees — four clicks bringing you full circle, for instance — you get "Please select at least 1 page" and no file is produced.

When it comes in handy

Straighten pages that went through the feeder the wrong way up

Load a stack into a sheet-fed scanner and a few sheets inevitably go in reversed, leaving a PDF with sideways pages scattered through it. Click those thumbnails and nothing else changes: pages you never touched are not even included in the list sent for processing, so their /Rotate value is left exactly as it was.

Fix landscape chart pages buried in a portrait report

Financial statements and annual reports routinely drop in a wide table or two, and some generators emit them as sideways content on a portrait page, leaving you tilting your head at the screen. Turning those pages 90 degrees makes readers display them in landscape and makes print dialogs pick landscape feed automatically.

Fix documents photographed on a phone and then converted

Photographing paperwork for the record and assembling it into a PDF very easily produces a file where every page lies on its side, depending on how the phone was held. One press of "Rotate all 90° CW" fixes the lot, considerably faster than reshooting or rebuilding the document.

Change orientation while keeping bookmarks and form fields

A document with a full outline, or with fillable fields, usually loses those structures the moment it goes through any kind of rebuild. Rotation is one of the few operations that leaves them alone, because it works on the same document object throughout and never relocates a page anywhere else.

Limits and behavior

  • Angles add rather than replace. What gets submitted is a relative turn, and when the file is written that turn is added to whatever /Rotate value the page already declared. A page already marked at 90 degrees therefore becomes 180 after one click, not 90. Scans very often carry a non-zero starting angle, so "one click made it worse" almost always means this — two more clicks will bring it where you want it.
  • Nothing on screen states how far a given page has been turned; the thumbnail is your only indicator. The language files do contain a "Currently {deg}°" string, but the thumbnail grid never renders it, so if you lose count after a flurry of clicks the quickest fix is to press "Reset" and start again.
  • Thumbnail rotation is purely visual — the image is turned with a CSS transform inside a square container that does not resize. A portrait page turned 90 degrees is wider than that container and gets clipped on both sides, which can look like the page has been sliced. It is a preview artifact only; the exported PDF is complete.
  • "Reset" clears the turns you have accumulated on this screen and returns every page to its state at load time. It does not zero out rotation flags that were already in the file, so a page that arrived sideways is still sideways after a reset.
  • Pressing apply while every page sits at 0 degrees gives you "Please select at least 1 page". Two situations produce that: never having clicked a thumbnail at all, or having clicked some pages exactly four times (or pressed "Rotate all 90° CW" four times) so they came full circle. Only non-zero turns are submitted, and with none left there is genuinely nothing to do.
  • Multiples of 90 only. Correcting a scan that is two degrees off, or rotating by an arbitrary angle, is not possible here — the PDF page rotation attribute itself accepts only 0, 90, 180 and 270. The tool also does no orientation auto-detection, no cropping and no deskewing.
  • This is the only PDF tool on the site that modifies the original document in place, which is why outlines, the title and author in the document information, and form fields all survive. The two things that are always rewritten are the producer in document properties (it becomes pdf-lib) and the modification date (the moment you pressed the button). The document is also fully re-serialised on the way out, so an existing digital signature is still invalidated.
  • The limits match the other PDF tools: 50 MB per file and 500 pages. Anything longer is refused while the page count is read, so you get neither thumbnails nor rotation. Password-protected files likewise never load.

Frequently asked questions

I clicked a thumbnail once and the page ended up more crooked than before.

That page already carried a rotation flag in the original file. PDF lets a page declare its own display angle, and scanning software and phone apps write that value constantly — what you see in your reader is the already-corrected result, while the file internally records 90 or 270. This tool adds to that existing value, hence the extra quarter turn. There is no need to work out what it started at: keep clicking until the thumbnail looks right, which takes at most three more clicks.

Does rotating degrade quality or inflate the file?

Neither. A single number in the page dictionary changes; content streams, embedded fonts and image data are never decoded, redrawn or re-encoded. The output is typically within a fraction of a percent of the original size, and even that comes from the cross-reference table and object layout shifting as the document is rewritten — nothing to do with image fidelity. The text layer is untouched, so the result is as searchable as what you started with.

Is there a counter-clockwise button?

No, the interface only turns clockwise. Ninety degrees counter-clockwise is the same as 270 clockwise, so three clicks on the same thumbnail gets you there, and three presses of "Rotate all 90° CW" does it for the whole document. It is more clicking, but the outcome is identical — the angle written into the file is the same either way.

Apply says "Please select at least 1 page" even though I definitely did something.

Check whether every page happens to have been turned a full 360 degrees. Each thumbnail click adds 90, so four clicks return a page to zero, and four presses of the rotate-all button do the same across the document. Pages sitting at zero are filtered out before submission, and if nothing survives the filter the tool concludes there is no work to do and declines to build a file. Which is fair enough: a 360-degree rotation would be byte-for-byte pointless.

Why does rotation keep bookmarks when merge and split do not?

It comes down to how each one works. Merge and split create an empty document and copy the chosen pages into it; outlines and form fields are registered at document level rather than on a page, so copying pages leaves them behind. Rotation reads the original file whole, edits a page attribute directly, and writes it back, with the document-level structures present the entire time. Note that saving rotation for last does not help if you also need to merge or split — once a document has been through either of those, the structures are already gone.

My scan is slightly skewed. Can I straighten it here?

No. The page rotation attribute accepts only 0, 90, 180 and 270; two degrees or 358 degrees are not expressible, so no tool built on it can deskew. Real deskewing has to re-render the page as a new image and paste it back, which sacrifices the text layer and recompresses the imagery — the exact opposite of what this tool is for. If you need it, look for the auto-straighten option in your scanning software, where it works best at capture time anyway.