PDF tools

Rotate PDF pages

Pick a quarter turn and which pages. The rotation is stored in the PDF. The pixels of a scan are not resampled.

Files stay on this device. Nothing is uploaded.

Drop files here, or choose them. Nothing is uploaded.

How it works

The file never leaves your browser. HandyTools HQ has no upload step. pdf-lib adds the angle to the page’s existing rotation. 90° clockwise, 180°, or 90° counter-clockwise. “all” turns every page. A range such as 1, 3-4 turns only those.

This sets the viewing rotation. It does not redraw a scanned image, so the file stays about the same size. A page that was already sideways ends upright if you turn it the rest of the way.

Formula

  • New rotation
    (current angle + chosen turn) mod 360
  • Pages
    all, or a range like 1, 3-4

Worked examples

A sideways scan

Every page of a phone scan is landscape. 90° clockwise on “all” turns the packet.

One upside-down page

Type 4 in the pages box and choose 180°. Only page 4 turns. The rest stay as they were.

Turns
ChoiceDegreesDirection
90° clockwise90Right
180°180Upside down
90° counter-clockwise270Left

Common questions

Is the PDF uploaded?

No. The rotation flag is written in your browser and the download stays on this device.

Can I rotate only some pages?

Yes. Replace “all” with a range such as 2, 5-6. The same range rules as Split PDF apply.

Why does the file size barely change?

The page is not redrawn. Only the rotation instruction changes. Compress PDF is the tool that re-renders pixels.

What if the page was already rotated?

The new angle is added to the old one, then wrapped at 360. Turning a 90° page by another 90° makes 180°.