DevKits

Rotate PDF — Rotate Pages 90°/180°/270° Online (Local)

Rotate all pages or a selected range by 90°, 180°, or 270°. Fixes sideways scans and portrait/landscape mixes. Runs entirely in your browser — no upload.

Last updated:

Drop a PDF here, or

Rotation happens in your browser — no upload.

Fix sideways or upside-down PDF pages. Choose 90°, 180°, or 270° and either all pages or a range. Rotation is baked into the file, not just a viewer setting. 100% local.

What is Rotate PDF?

Sideways scanned pages are a paper cut of daily PDF work. Every viewer has a 'rotate view' menu, but that only rotates for you — the next person who opens the file still gets the sideways page. This tool bakes the rotation into the PDF's page dictionary with pdf-lib, so any viewer, printer, or archive tool sees the pages the right way up. You can rotate every page or a specific range, and the rotation stacks on top of any pre-existing rotation (rotating a 90° page by another 90° gives 180°, not 90°). Everything runs client-side; the file never leaves your device.

How to rotate a PDF permanently

  1. 1Drop the PDF onto the drop zone.
  2. 2Pick a rotation angle: 90° (clockwise), 180° (upside down), or 270° (counter-clockwise).
  3. 3Choose 'All pages' or 'Range' and specify which pages to rotate.
  4. 4Click 'Rotate & download' to get a new PDF with the rotation applied.

Use Cases

Fix a sideways scan

Rotate a page that was fed sideways into a scanner so it reads correctly for future viewers.

Mixed portrait/landscape docs

Rotate only the pages that came out at the wrong orientation, leaving the rest untouched.

Prepare for print

Some printers respect the PDF page rotation angle when driving duplex/booklet modes — baking the correct rotation avoids surprises.

Match design orientation

Rotate a poster PDF so it opens the way you designed it, not the way the exporter wrote it.

Key Concepts

Rotation angle
A per-page property that PDF viewers apply when rendering. Values are 0, 90, 180, and 270. This tool changes the value directly, so the rotation persists.
Rotate view vs rotate PDF
'Rotate view' in a reader is a local setting for that session; it does not modify the file. Baking the rotation modifies the file so every viewer sees the rotation.

Tips & Best Practices

  • If a page looks fine on your screen but comes out sideways when printed, its rotation is set to 90/180/270 — this tool can normalize it.
  • The tool stacks rotations: rotating twice by 90° yields 180°, not 90°. Reset to 0 by rotating the delta that brings the sum to 360.
  • Rotation does not re-render the page — there is no quality loss. Even huge scanned PDFs rotate in seconds.
  • Password-protected PDFs need to be decrypted first (owner-only locks are opened with 'ignoreEncryption', user passwords require a decrypt step).

Frequently Asked Questions

Is the rotation permanent?

Yes. The tool bakes the new rotation angle into each page's dictionary using pdf-lib, so any viewer will render the page rotated. It is not just a viewer setting.

Can I rotate only some pages?

Yes. Pick 'Range' and enter which pages to rotate (e.g. '1, 3-5'). Untouched pages keep their existing rotation.

How does the tool handle pages that were already rotated?

The new rotation is added on top of the current rotation, then normalized to 0/90/180/270. Rotating a 90° page by 90° gives 180°, not 90°.

Is my PDF uploaded?

No. Rotation runs in your browser using pdf-lib. Nothing leaves your device.

Related Tools