TheTools.World tool

Rotate PDF online

Rotate every page, or specific pages, of a PDF by 90, 180, or 270 degrees. Useful for fixing sideways or upside-down pages from a scanner or phone camera, without uploading your file.

Rotate PDF pages

Rotate every page, or specific pages, of a PDF by 90, 180, or 270 degrees. Useful for fixing sideways or upside-down pages from a scanner or phone camera, without uploading your file.

How to rotate a PDF

  1. Choose a PDF file.
  2. Choose the rotation angle: 90, 180, or 270 degrees clockwise.
  3. Enter which pages to rotate, like 1,3-5, or leave blank to rotate every page.
  4. Click Rotate PDF.
  5. Check the inline preview to confirm the pages are now right-side up before downloading.

Rotation is applied on top of each page's existing orientation, so rotating an already-rotated page adds to its current angle rather than resetting it.

What rotating does and how it works

Every PDF page has a rotation value (0, 90, 180, or 270 degrees) that tells a PDF viewer how to display that page's content. This tool reads each target page's current rotation and adds the angle you chose, wrapping around at 360 degrees. This means the underlying page content is never redrawn or re-rendered; only the display orientation changes, so text stays sharp and selectable exactly as before.

Best practices

Common mistakes to avoid

Real-world use cases

Supported formats

Input: a single standard, non-encrypted PDF file. Output: the same PDF with rotation applied to the selected pages. This changes display orientation only; it does not crop, resize, or re-flow page content.

Worked example: fixing 2 sideways pages in a 5-page scan

A 5-page scanned document has pages 2 and 4 sideways (scanned in landscape by mistake, needing a 90-degree clockwise turn to read normally). Setting the rotation to "90 degrees clockwise" and the pages field to "2,4" leaves pages 1, 3, and 5 untouched while fixing only the two sideways pages.

PageOriginal orientationRotation appliedResult
1UprightNone (not in range)Upright
2Sideways+90°Upright
3UprightNone (not in range)Upright
4Sideways+90°Upright
5UprightNone (not in range)Upright

Limitations

This tool cannot open password-protected or encrypted PDFs. It rotates the page's display orientation only; it does not re-flow text, crop margins, or change page dimensions to match the new orientation, which is standard PDF rotation behavior and matches what most PDF viewers and printers expect.

Privacy

Your PDF is read and rotated locally in your browser using the pdf-lib JavaScript library loaded from this site. Files are not uploaded to a server. See the privacy policy for full detail.

Troubleshooting

Why scanned pages end up sideways in the first place

Sideways or upside-down pages usually happen for one of two reasons: a physical page was fed into a scanner or photographed in landscape orientation while the rest of the batch was portrait, or a scanning app auto-rotated based on a guess about text orientation and guessed wrong on a page with little text, a diagram, or a photo. Multi-page batch scans are especially prone to this because a single misfed sheet can throw off just one page in an otherwise consistent document, which is exactly the case the page-range field here is designed for: fix the one or two odd pages without touching the rest.

Reading rotation values from a PDF viewer

If you want to check a page's current rotation before deciding which angle to apply, most desktop PDF viewers show a rotate button in their toolbar that previews the effect without saving, which is a quick way to test 90 vs. 270 degrees before committing. This tool applies the same style of rotation value that PDF viewers use internally (0, 90, 180, or 270 degrees from upright), so a page that looks correct after rotating in a viewer will look the same way here.

Conclusion

Use this tool to fix sideways or upside-down PDF pages without re-scanning. For removing pages entirely instead of rotating them, see delete PDF pages; to change page order, see reorder PDF pages.

FAQ

Does rotation change the page size?

No. Rotation changes the page's display orientation only; it does not crop or resize the page content.

Can I rotate just some pages?

Yes. Enter specific page numbers or ranges, like 1,3-5, in the pages field. Leave it blank to rotate every page.

What if I rotate a page that's already rotated?

The new rotation is added to the page's current rotation, not reset to zero first, so check the result and adjust the angle if needed.

Is my PDF uploaded anywhere?

No. Rotation happens locally in your browser. Files are not sent to a server.

Can I rotate different pages by different amounts in one pass?

Not in a single run. Each run applies one chosen angle to the pages you list. For mixed rotations, run the tool once per angle, targeting the relevant pages each time on the previously downloaded result.

Will rotating affect text selection or searchability?

No. Rotation only changes the display orientation flag; the underlying text objects are unchanged, so text stays selectable and searchable exactly as before.