Free Rotate PDF

Open a PDF, pick a rotation (90° clockwise, 90° counter-clockwise, or 180°), choose all pages or specific ones, and download the rotated PDF. It all runs in your browser, so your file is never uploaded.

Drop a PDF here, or browse

One PDF · processed in your browser, never uploaded

Runs entirely in your browser — your file is never uploaded to a server.

Quick answer

To rotate a PDF, open it here, choose the rotation amount (90° clockwise, 90° counter-clockwise, or 180°), and either leave the page selection as the whole document or list specific pages like 1-3, 5. The tool adds your rotation on top of each page's current orientation and downloads the result. It runs entirely in your browser with pdf-lib — nothing is uploaded and there is no watermark.

Formula & method

New page rotation

newAngle = (currentAngle + chosenRotation) mod 360
  • currentAngle the page's existing rotation (0, 90, 180, or 270)
  • chosenRotation 90 (clockwise), 270 (counter-clockwise), or 180

Rotation is additive, so applying 90° twice gives 180°.

Your PDF is read locally. Rotation in a PDF is stored as a page property (a multiple of 90 degrees), so the tool reads each selected page's current rotation and adds your chosen amount, wrapping around 360 degrees (for example, a page already at 90° rotated by another 90° becomes 180°). Pages you don't select keep their orientation. The content itself is not re-drawn — only the page's rotation flag changes — so there is no quality loss. The updated PDF is then saved and downloaded, all on your device.

Examples

Example 1: Turn a sideways scan upright
Input
A landscape-scanned page at 0°, rotate 90° clockwise
Result
The page now displays rotated 90° clockwise
Why
0 + 90 = 90°, so the page is turned a quarter-turn clockwise to read upright.
Example 2: Flip the whole document 180°
Input
A 6-page PDF, rotate 180°, pages 1-6
Result
All 6 pages flipped upside down
Why
Each page's rotation increases by 180°, flipping the entire document.
Example 3: Rotate only one page
Input
A 10-page PDF, rotate 90° counter-clockwise, pages: 4
Result
Only page 4 is rotated; pages 1-3 and 5-10 are unchanged
Why
270° is added to page 4 only (a quarter-turn counter-clockwise); the rest keep their orientation.

When to use this tool

  • Fixing pages that were scanned or photographed sideways or upside down.
  • Rotating a single landscape page inside an otherwise portrait document.
  • Reorienting a PDF before printing or sending it.

Common mistakes

  • Expecting the rotation to be absolute. Rotation is added to each page's current angle, so a page already rotated will move further, not reset to a fixed orientation.
  • Rotating the whole file when only one page is sideways. List just that page (for example, 3) instead of leaving the default range.
  • Confusing 90° clockwise with counter-clockwise. Use 90° clockwise (↻) to turn the top edge to the right, and counter-clockwise (↺) to turn it to the left.

Frequently asked questions

Is my file uploaded to a server?

No. The rotation runs entirely in your browser with pdf-lib — your PDF is read locally, the rotation flags are changed, and the new file is downloaded. Nothing is sent to a server.

Does rotating reduce quality?

No. Rotation only changes a page property; the page content is not re-rendered, so text and images keep their original quality.

Can I rotate just some pages?

Yes. Enter the pages or ranges to rotate (like 1-3, 5). Leave the default 1-to-last to rotate the whole document.

What rotation amounts are available?

90° clockwise, 90° counter-clockwise (which is 270°), and 180°. Apply the tool twice if you need a different combination.

Why won't my PDF open?

It may be password-protected/encrypted or corrupted. Unlock or repair it elsewhere first, then load it again.

Is there a watermark?

No. The output is a clean PDF with no watermark and no added content.

Sources & references

External references open in a new tab. We are independent and not affiliated with these organizations.

  • ✓ Free to use
  • ✓ No sign-up required
  • Runs entirely in your browser — nothing is uploaded.
  • ✓ Formula and method shown above

Provided “as is” for general information only — results may be inaccurate, so verify before you rely on them. No warranty; use at your own risk.

Built and reviewed by HIFreeTools against the formula shown above and any authoritative references cited on this page. See our methodology and editorial standards.

Related tools

Embed this tool on your site

Free to embed, no sign-up. Paste this code where you want the rotate pdf to appear: