PDF Rotator

PDF

Rotate PDF pages 90, 180 or 270 degrees. Select specific pages or rotate all, then download the rotated file instantly without re-rendering content in one.

Ready · 100% client-side

About PDF Rotator

This PDF rotation tool rotates pages by 90, 180 or 270 degrees per page or for the whole document, fixing common problems like wrong scan orientation, landscape phone-photo exports and reversed duplex-print output. Under the hood it changes each page's rotation property directly rather than redrawing content, so there is no resampling or compression and output quality exactly matches the original — text stays selectable, copyable and searchable. You can preview each page, set a per-page angle, rotate all pages at once, or target only the wrong pages via a page range. A quick field guide: sideways scans usually need 90° or 270°, upside-down phone exports and duplex reverses need 180°, and converting landscape slides to portrait uses 90°. Rotating an already-rotated page stacks the angles, so 90° then 270° restores the original orientation. Everything runs locally in your browser via WebAssembly with no upload, making it a privacy-safe fix for organizing scanned contracts, receipts and book chapters. Rotation is a display attribute stored on the page, which defines its reach. It usually changes only how the page presents itself without reflowing content, so the text layer and extraction stay intact. Precisely because of that, some pipelines flip coordinates according to the attribute when reading, and a reader ignoring it yields an order that disagrees with what is seen. Confirm the proofing flow respects the attribute. Clockwise and counter-clockwise conventions are easily reversed, especially in scripts. One interface uses a positive number for clockwise, another a negative for counter-clockwise, while the viewer icon often shows only a curved arrow. Rotate one page as a trial before batch work, which is far cheaper than processing hundreds and finding them all backwards. Documents with mixed orientations need a per-page decision rather than one global setting. Files assembled from several sources often contain both landscape and portrait pages, and rotating everything one way fixes one group while breaking the other. Scan the current orientation and content features first, correct only the pages that need it, then rescan for leftovers. Rotating and re-laying out content are different operations and suit different goals. If the goal is simply that the reader sees the page the right way up, the attribute suffices. If the page dimensions themselves must change, such as turning a landscape page into a filled portrait one, real reflow is required at the cost of altered layout and broken coordinates. Decide which you mean. If stamps or annotations follow the rotation, the position basis must be rechecked. Objects placed by page coordinates can shift or overlap content once the page is rotated, especially when dimensions and display orientation disagree. Perform annotation after rotating, not before, so object coordinates match the final orientation and no repeated adjustment is needed. Finally, keeping the originals is essential insurance before batch work. Rotation rewrites page attributes and content usually survives, yet a wrong direction decision is tedious to undo page by page, whereas an original turns the job into regenerating from source rather than reversing a mistake. This matters most with scripts, whose errors tend to be wholesale.

How It Works Internally

Rotation is expressed as a page attribute rather than redrawing content, so images and text are not re-encoded and quality is lossless. The rotation adds to any orientation already set on the page, so repeated rotation accumulates and returns after four steps, and some viewers ignore the attribute, which makes display inconsistent.

InputRotating one page by 90° four times
OutputAccumulates to 360° and returns to the original orientation — the attribute adds rather than being set to a value

Measured on This Page

Rotation recordedOutput is 589 bytes over 2 pages with /Rotate = 90 on both
Page count preserved2 pages in, 2 pages out
MechanismThe page dictionary's /Rotate (display orientation) changes; the content stream and MediaBox do not, so text stays selectable and searchable and the file barely grows
Cumulative directionsRepeated 90-degree steps accumulate to 180 and 270, with none of the resampling loss an image rotation would introduce

A rotated screenshot is what most people actually need this for, so the practical question is whether the fix survives: /Rotate is honoured by modern viewers, printers and phone readers, but a few legacy tools still ignore it and show the original angle. It is also the cheap option — nothing is re-encoded, so a 589-byte document stays 589 bytes and the text layer remains searchable, whereas flattening to an image would destroy both. When a downstream system resists the field, only then is redrawing warranted.

How this was measured: A 400x600 blank PDF with 2 pages was uploaded, rotated by 90 degrees and applied; the output bytes were captured and each page's /Rotate value read with pypdf. · Measured 2026-10-31

How to Use

  1. Open "PDF Rotator"
  2. Drop a PDF or click to browse for one
  3. Pick the rotation angle and all pages or a range
  4. Click the "Rotate 90°" style button to apply
  5. Download the rotated PDF when it finishes

Use Cases

  • Fix Scan Orientation — Scanner or phone exports occasionally come out sideways - rotate 90° or 180° to restore correct reading direction.
  • Mixed Orientation — When a document mixes landscape pages, rotate the landscape ones 90° to unify everything to portrait for continuous reading and printing.
  • Duplex Print Correction — Duplex printing can flip the back side upside down - rotate 180° to fix it so bound pages read correctly.
  • Targeted Page Rotation — When only some pages are wrong, rotate just those by page range without affecting the rest.
  • Slide Deck Adjustment — Rotate a landscape slide PDF to portrait to fit portrait displays or portrait printing.

FAQ

Does rotation reduce page quality?

No. The tool changes the page rotation property rather than redrawing content - no resampling or compression - so output matches the original quality.

Can I rotate only some pages?

Yes. Specify pages by range (e.g. 1-3,5); only those pages rotate while the rest stay unchanged.

Is 180° rotation supported?

Yes: 90°, 180° and 270° are all supported. 180° is common for fixing upside-down pages; 90°/270° for landscape-portrait conversion.

Can I rotate back after rotating?

Yes. Rotating an already-rotated page stacks the angles - e.g. 90° then 270° equals 360°, restoring the original orientation.

Is text still searchable after rotation?

Yes. Rotation only changes the direction property; the PDF's text layer is fully preserved, so text stays selectable, copyable and searchable.

Can I batch-rotate multiple PDFs?

This tool focuses on precise single-file rotation with per-page control. For batches, process files one at a time.

After saving the rotation another viewer shows the old orientation?

Rotation can be stored as a /Rotate flag (widely supported) or by physically re-rendering the page. Some old viewers ignore the flag. Use the physical-rotate option for maximum compatibility, at the cost of rewriting the page stream.

When batch-rotating, how do I rotate only landscape pages?

Select pages individually: filter the landscape ones and add 90° to those. For mixed scans it is safer to normalise everything to portrait first, then rotate specific pages — two passes beat one ambitious pass.