Like ToolFern? Prefer us as your source on Google →

Rotate PDF

A scanner saved your contract on its side, or page 7 came out upside down. Every page shows as a thumbnail, so you can turn one page or all of them 90° or 180°, then download the corrected file.

🔃

Drop your PDF here

or click to browse, see every page and rotate visually

PDF only

How to rotate a PDF

  1. Add your PDF. Drag it onto the box above or click to browse. Every page renders as a thumbnail, so you can see which ones are wrong before you change anything.
  2. Turn the pages. Click a thumbnail to spin it 90° clockwise, or use the two arrow buttons under each page. The three buttons above the grid, Rotate all left, Rotate all right and Rotate all 180°, hit the whole document at once.
  3. Apply and download. Press Apply & download. The saved file keeps its original name with -rotated on the end.

One quirk is worth knowing. The rotate-all buttons overwrite whatever you set on single pages, so do the whole-document pass first and fine-tune the odd page after.

What rotating changes inside the file

Every page in a PDF carries a /Rotate entry in its page dictionary.ISO 32000-1, the standard behind PDF 1.7, defines it as an inheritable whole number that must be a multiple of 90, read clockwise, and 0 by default. That is the whole mechanism.

So there is no such thing as a 45° page in a PDF. And no text, image or line of vector art moves when that number changes. Rotating rewrites one integer and leaves the page content stream and its MediaBox exactly where they were, which is why a 400 page file turns in about the time it takes to save it.

This tool adds your rotation to whatever the page already had, rather than replacing it. Say a scanner stamped /Rotate 90 on a page. One more clockwise turn here lands it on 180.

The bit other rotate pages skip

Because /Rotate is a display flag, the text layer under the picture does not turn with it. The libraries say so plainly. Both pypdf and PyMuPDF give you coordinates relative to the unrotated page, whatever the flag says.

Acrobat, Chrome, Preview and your printer driver all read the flag and show the page the right way up. Plenty of OCR and scraping scripts do not, and those still see the old angle. Rotating fixes how a file looks and prints. It will not rescue an OCR pass that came out as gibberish, because that job needs the page contents redrawn rather than one flag flipped.

Why pages end up sideways

Sheet-fed scanners save whatever way the paper went in, so one landscape spreadsheet in a stack of portrait pages arrives 90° off. Phone scanning apps guess from the handset's motion sensors and get it wrong on a desk. Files stitched from screenshots inherit a mix of both. Fix it once here and it reads correctly everywhere, instead of every reader tilting their head.

Frequently asked questions

Can I rotate just one page?

Yes. Click that page's thumbnail, or the arrow buttons under it, and only that page turns. Each page tracks its own angle, so a 12 page report can have page 3 at 90 degrees, page 8 at 180 and the rest left alone.

Is there a file-size or page limit?

No fixed limit. Your device's memory is the real ceiling, because the whole file sits in memory while each page is drawn as a thumbnail. A few hundred pages is fine on a normal laptop.

Will rotating lower the quality or grow the file?

Neither, in any way you would notice. One whole number per rotated page changes, so text stays selectable, images keep the compression they arrived with, and the byte count barely moves.

What happens if the PDF is password-protected?

The file gets checked before any page is drawn, and an encrypted one is refused with a note asking you to remove the password first. Unlock it with the original password, then rotate the open copy.

Does rotating break a digital signature?

It does. A signature covers a range of bytes as the file stood when it was signed, and saving a rotated version rewrites those bytes. The document will then flag as altered. Rotate before you send anything for signing, never after.

My rotated PDF still prints the wrong way. Why?

Look at the print dialog rather than the file. Acrobat's Auto portrait/landscape setting and the Fit scaling option both turn pages on the fly to match the paper, which can undo a correct rotation on the way to the tray. Set the orientation by hand and print again.

Related: build a PDF from images · rotate an image instead · split a PDF into parts.

Found this useful? Share it