2026topopentools

Rotate PDF

Rotate every page of a PDF by 90, 180, or 270 degrees to fix sideways or upside-down scans — entirely in your browser.

Understanding the Rotate PDF

Rotate PDF turns pages 90, 180, or 270 degrees and saves a corrected file. It fixes documents scanned sideways or upside down, pages photographed in the wrong orientation, or mixed-orientation reports where some pages are landscape and others portrait. You can rotate every page at once or pick specific pages. It runs entirely in your browser, so files never upload to a server. Useful for students, office workers, and anyone preparing a PDF for printing, emailing, or e-signing.

How it works

The file is read in your browser with pdf-lib, a JavaScript library that edits PDF structure without rasterizing pages. Each PDF page carries a rotation property in its metadata; the tool adds your chosen angle (90, 180, or 270 degrees) to that value and normalizes it within 360. Because only the rotation flag changes, text stays selectable and image quality is untouched, unlike screenshot-based methods. Nothing is uploaded, so even confidential contracts stay on your device. The rebuilt PDF is offered as a download. Check a thumbnail or preview after rotating to confirm direction, since clockwise and counter-clockwise are easy to mix up.

Worked example

You scan a four-page contract, but the scanner fed two pages sideways, so they display as landscape rotated 90 degrees clockwise. Open the PDF, select only pages 2 and 4, and apply a 270-degree (counter-clockwise) rotation. Pages 1 and 3 stay as they were. The tool updates the rotation flag on just those two pages and exports a new four-page file where every page reads upright in portrait. Total size barely changes because no pixels were re-encoded.

Tips & common mistakes

  • Rotation direction is relative to the page's current orientation, so preview before saving to avoid double-turning a page.
  • To fix upside-down pages, use 180 degrees rather than applying 90 twice.
  • Rotate only the affected pages instead of the whole document when orientations are mixed.
  • If text becomes unselectable after rotating elsewhere, the file was likely flattened to images first; this tool keeps text intact.
  • Re-download a fresh copy rather than re-rotating the same file repeatedly to keep angles predictable.

Related tools

Frequently Asked Questions

Is my PDF uploaded anywhere?

No. The rotation is applied in your browser using a JavaScript PDF library. Your file never leaves your device.

Does it rotate all pages or just one?

This tool rotates every page in the document by the angle you choose. The rotation adds to any existing page rotation.

Will the file quality change?

No. Rotating only changes page orientation metadata — the content, text, and image quality are untouched.