Skip to content

PDF Page Rotator

Select a PDF or click to browse

Runs in your browser — nothing is uploaded.

Estimates for educational purposes — not financial, medical, or legal advice. See terms.

Rotate every page or specific pages of a PDF by 90°, 180°, or 270°. Runs entirely in your browser using pdf-lib — no upload, no server, no file retention. The library loads lazily on your first click so the page itself stays fast for casual readers.

Two modes

Rotate every page — applies the same angle to every page in the document. One click, done.

Rotate specific pages — enter a page list like 1, 3, 5-7 and an angle; only the listed pages are rotated, the rest are untouched. You can stack multiple apply passes to rotate different pages by different angles: first pass rotates pages 1, 3, 5 by 90°; second pass (on the output of the first) rotates pages 2, 4 by 180°.

Angles

Four options:

  • 90° — clockwise quarter-turn. Use when page content is sideways with text reading bottom-to-top.
  • 180° — half-turn. Use when the page is upside-down.
  • 270° — counter-clockwise quarter-turn. Use when page content is sideways with text reading top-to-bottom.
  • Reset (0°) — clears any existing rotation metadata.

These correspond to the standard PDF rotation values. A PDF internally stores rotation as metadata; the actual page content stays in the original coordinate system, and PDF readers apply the rotation at display time. This makes rotation lossless and reversible.

Example: fixing a sideways scan

You scanned a receipt and it came out sideways with the text reading upward. Open the PDF, select the rotator, pick 90°, Apply. Download the rotated PDF. Total time: ~2 seconds once pdf-lib is cached.

Example: mixed-orientation document

You’ve merged several scanned pages, but pages 3 and 7 came in sideways while the rest are correct. Upload the merged PDF, select “Rotate specific pages”, enter 3, 7, pick 90° (or 270° if they’re sideways the other way), Apply. Download. Just the two problem pages are corrected.

Example: upside-down last page

Your 5-page contract scan has the last page upside-down. Upload, select “Rotate specific pages”, enter 5, pick 180°, Apply. Download. Page 5 now reads correctly; pages 1–4 are unchanged.

Lossless rotation

pdf-lib doesn’t re-render the page content when it rotates — it flips a metadata flag. This means:

  • Zero quality loss — no rasterisation, no compression artifacts, no font re-embedding problems
  • Reversible — rotate 90° then 270° returns you to the original (metadata-wise)
  • Fast — a 100-page PDF rotates in well under a second

What this tool does not do

It doesn’t rotate by arbitrary angles — only 90° / 180° / 270° / 0°. Arbitrary-angle rotation would require page content re-rendering (rasterisation) which defeats the lossless point.

It doesn’t handle encrypted PDFs without the password. Decrypt first, rotate second.

It doesn’t batch multiple PDFs. One source PDF per session. For batch rotation, run the tool once per file or use a desktop utility (pdftk, qpdf). For other page-level operations on the same PDF — deleting, reordering, combining — use the PDF page deleter, the PDF splitter, or the PDF merger.

It doesn’t re-flow text. If a page has a visible rotation already and you rotate again, the combined orientation is what matters — text doesn’t re-flow to fit the new orientation because text in PDFs isn’t flow content, it’s positioned glyphs.

Frequently asked questions

Why would I need to rotate PDF pages?

Scanned documents where a sheet went through the scanner sideways. Form-completion workflows that produce sideways output. Presentations exported in the wrong orientation. Anything where the PDF displays in a direction that makes reading awkward. Rotating the page in the PDF itself (rather than rotating your screen or printer) fixes the problem permanently — downstream tools, printers, and readers will all display the corrected orientation.

What's the difference between 90° and 270°?

90° rotates clockwise a quarter-turn; 270° rotates counter-clockwise a quarter-turn (equivalently, three-quarters clockwise). If a page is sideways with text reading upward (bottom-of-page is on the right), rotate 90° to bring it upright. If text reads downward (bottom-of-page is on the left), rotate 270°. 180° flips upside-down. The tool offers all three plus a 'Reset (0°)' option that clears any existing rotation.

Does 'reset' undo a previous rotation in the PDF?

Yes. 'Reset (0°)' sets the rotation metadata to zero, removing whatever rotation was already set. If the underlying page content was actually re-oriented at some point (as opposed to just having a rotation flag), reset won't undo that content change — it just sets the display rotation to zero. For PDFs rotated via this tool, reset is a true undo.

Can I rotate different pages by different angles?

In the current form, one angle per apply pass. To rotate different pages differently, use 'Rotate specific pages' mode, enter the pages for angle A and click apply, then repeat for angle B on a fresh input (the output of pass 1). Two passes get you two different angles; three passes for three. The tool is stateless between clicks — each apply produces a fresh output.

How does pdf-lib rotation differ from physical rotation?

pdf-lib sets a rotation flag in the PDF metadata; the actual page content (text, images, vectors) stays in its original coordinate system. Readers apply the flag at display time. This is reversible and lossless — rotating a page 90° then 270° returns it to the original orientation with no data loss. Destructively re-rendering content (the way some image tools work) isn't what's happening here, which is the right behaviour for a PDF.