← All tools

Rotate a PDF

Rotate all pages or a selection in the desired direction.

1Choose
2Process
3Download

Drop your PDF here

or click to select

Choose a file

Rotate PDF Pages Free Online — Fix Orientation Without Re-encoding

FusionPDF rotates PDF pages by updating the rotation metadata stored in each page object. For 90-, 180-, and 270-degree rotations, this is a lossless operation: no pixels are touched, no quality is lost, and the file size barely changes. All rotation runs in your browser — nothing is uploaded to any server.

How to Rotate PDF Pages

Drop your PDF into the upload area or click to select it. Choose whether to rotate all pages or only specific pages. If you select specific pages, enter the page numbers or ranges (for example, "2, 5-7"). Pick your rotation direction: 90 degrees clockwise, 180 degrees, or 90 degrees counter-clockwise. Click "Rotate and download" to get the corrected PDF immediately.

Rotate 90, 180, 270 Degrees — What Each Does

Each rotation value solves a different orientation problem in practice.

  • 90 degrees clockwise: Turns a portrait page to landscape. Most commonly used to fix a page that was scanned sideways to the right.
  • 180 degrees: Flips a page upside down. Fixes pages that were scanned or inserted upside down — a common issue with double-sided scans.
  • 90 degrees counter-clockwise (270 degrees): Turns a portrait page to landscape in the opposite direction. Fixes pages scanned sideways to the left.

If you need a non-standard angle (say, 45 degrees), the tool supports free-angle input via the slider. Note that free angles require re-rasterizing the page, which adds a slight quality reduction and increases file size. For any multiple of 90 degrees, the operation stays fully lossless.

Lossless Rotation — How It Works

PDF page rotation is stored as a single metadata field called the "Rotate" entry in the page dictionary. When you rotate by 90, 180, or 270 degrees, pdf-lib simply reads that field's current value, adds your chosen angle, and writes the updated value back. No image data is decoded. No canvas is rendered. No pixels are re-encoded. The content of the page remains byte-for-byte identical to the original. This is why the output file is almost exactly the same size as the input, and why text remains sharp and crisp at any zoom level.

Rotate One Page vs. All Pages

Rotating all pages at once is straightforward, but the more common real-world need is fixing a single sideways page in an otherwise correct document. This comes up constantly with scanned documents: a stack of papers fed into a scanner often includes one sheet that was placed sideways. The result is a PDF where pages 1-10 are portrait and page 6 is landscape, or upside down.

FusionPDF handles this precisely. Enter "6" in the specific pages field, choose your rotation, and only that page changes. All other pages remain untouched. The result downloads as a single corrected PDF with no other modifications.

Why Use FusionPDF to Rotate PDF Files?

Scanned medical records, legal contracts, and HR documents frequently need orientation correction. Uploading those files to a cloud tool to change a single metadata value is disproportionate to the task — and exposes confidential content to third-party infrastructure for a change that takes milliseconds.

FusionPDF makes the rotation entirely local. The PDF stays on your device. pdf-lib modifies the rotation entry and returns the corrected file without any data ever leaving your browser. Free, no account, no size limits.

Read our complete guide to rotating PDF pages free online → for a deeper look at lossless vs. rasterized rotation, and how to handle multi-orientation scanned documents.