Rotate selected PDF pages — only the ones that are sideways

List the pages that are the wrong way round, choose the turn, and press Rotate pages; only those pages are rotated and the rest of the PDF is left alone.

Live demo · real result from this tool

Drop your PDF here

or paste with Ctrl+V · nothing is uploaded · add several to process them in one go

For example 1-3, 5, 8.
Rotate

Your result appears here — processed on your device.

Processed on your device — nothing is uploaded.

How to use the PDF rotate page range tool

  1. Drop a PDF onto the box or press Choose a file. If you are not sure which pages are sideways, check in the PDF viewer first.
  2. In Pages to rotate, type the pages, for example 3, 1-3, 5 or even. The default is 1.
  3. Under Rotate, choose 90° clockwise, 180° or 90° anticlockwise.
  4. Press Rotate pages and download the file, named with -rotated added.

What it does and when to use it

Mixed documents are the usual reason to rotate only some pages. A report has a wide table printed in landscape on pages 7 and 8. A scanned contract has one page that went through the feeder upside down. A merged application pack contains a phone photo of a certificate that came out sideways. Rotating the whole file would fix those pages and break the rest; this tool turns only what you list.

Duplex scanning is another case. Some scanners turn every back page upside down, so even with 180° fixes the whole file in one go.

After fixing the rotation you may also want to put pages in a different order with the PDF page reorder tool.

How it works

Every PDF page has a rotation value of 0, 90, 180 or 270 degrees that tells readers how to display it. pdf-lib (@cantoo/pdf-lib) opens your file in the browser, adds your angle to that value for each listed page, and saves. Anticlockwise 90° is stored as 270°. Because only this number changes, nothing on the page is redrawn or compressed again. Nothing is uploaded, and no extra data is downloaded.

The page list understands single pages, ranges (2-4), open ranges (8- to the end), odd, even and last, separated by commas.

Worked examples

These come from a 12-page A4 report.

Landscape tables. Pages to rotate 1-3, 5, 90° clockwise. The summary reads 4 pages rotated 90° (lossless). Pages 4 and 6 to 12 are unchanged.

Upside-down backs from a duplex scan. Pages to rotate even, 180°. The summary reads 6 pages rotated 180° (lossless); pages 2, 4, 6, 8, 10 and 12 are now the right way up.

One sideways photo. Pages to rotate last, 90° anticlockwise turns only page 12, and the summary says 1 page rotated 90° anticlockwise (lossless).

Limits and tips

  • An empty Pages field or a page outside the file gives a message instead of a result.
  • Rotation turns the whole page. To straighten a slightly tilted scan, rescan it; this tool only turns in 90° steps.
  • Password-protected files must be unlocked first with Unlock PDF.

Frequently asked questions

Which way is "90° clockwise"?
The top of the page moves to the right, like turning a sheet on your desk to the right. A page whose text runs bottom to top needs 90° clockwise; text running top to bottom needs 90° anticlockwise.
Is rotating lossless?
Yes. The tool changes the page's rotation setting, the same flag a PDF reader sets when you rotate a view and save. The content is not redrawn, so text and images keep their quality.
What if a page was already rotated?
The new turn is added to the existing one. A page already set to 90° that you turn another 90° clockwise ends up at 180°.
How do I rotate every page?
Type all in Pages to rotate, or use the PDF rotator, which rotates all pages unless you list some.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close