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.
| Choice | Degrees | Direction |
|---|---|---|
| 90° clockwise | 90 | Right |
| 180° | 180 | Upside down |
| 90° counter-clockwise | 270 | Left |
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°.