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.