Rotate PDF β Free Online PDF Page Rotator
Rotate every page in a PDF, or just specific pages, by 90, 180 or 270 degrees. Saves a new PDF with the rotation baked in β pages stay correctly oriented in every viewer.
Why rotate a PDF?
Sideways and upside-down pages are one of the most common PDF problems people run into. Phone-scanned documents often arrive rotated 90Β° because the camera was held sideways. Some multi-function printers scan duplex pages alternating between portrait and landscape, ending up with every other page facing the wrong way. Multi-page contracts have a single landscape page in a stack of portrait ones, requiring head-tilting to read.
Fixing rotation in your PDF viewer's "View" menu only changes how the page is displayed in that session β when you re-open or print, it reverts. Permanently fixing the rotation requires re-saving the PDF with the correct orientation, which is exactly what this tool does.
How this rotator works
The tool uses pdf-lib to read your PDF, set the rotation property on the pages you select, then save the file back out. The rotation is a property in the PDF's internal structure β viewers honour it whenever the file is opened. The page content (text, images, vector graphics) is not re-rendered; the rotation is metadata that tells the viewer "display this page rotated by N degrees".
That means three things: zero quality loss, fast (no re-encoding), and small file-size change (only the rotation property changes; the rest stays identical).
90Β° vs. 180Β° vs. 270Β°
- 90Β° (clockwise) β fix pages that came in rotated to the left (top of page is on the left).
- 180Β° β fix upside-down pages.
- 270Β° (= 90Β° counter-clockwise) β fix pages rotated to the right (top of page is on the right).
If you're not sure which to use, try 90Β° first. If the page ends up upside-down, undo (reset) and try 270Β°.
Page range syntax
allβ rotate every page.1β just page 1.1-5β pages 1 through 5.2, 4, 6, 8β only even pages (e.g. fix every other page from a duplex scan).1-3, 5β multiple ranges.
Common rotation scenarios
- Phone-scanned documents rotated 90Β° because the camera was sideways.
- Duplex scans with alternating orientations β use the range field to rotate just the even pages (or odd pages, depending on your scanner).
- Receipts and invoices uploaded landscape into a portrait-only system.
- Old scanned books / journals where odd and even pages need different rotations.
- Mixed-orientation reports where one figure-page should be landscape but everything else portrait.
- Faxed documents received upside-down because the sender loaded the paper wrong.
Tips and best practice
- Test on a copy first if the PDF is irreplaceable. The tool produces a new file β your original is unchanged β but it's still good practice.
- Use the page range for mixed orientation β if pages 1, 3, 5 are correct and 2, 4, 6 are sideways, rotate just
2, 4, 6. - For complete reversal, run twice with 90Β° to get 180Β°, or just pick 180Β° directly.
- For scanned documents with skewed pages (slightly off-square), rotation alone won't fix it β you need a deskewing tool. Most modern scanners auto-deskew during capture.
FAQs
Is anything uploaded?
No. Rotation runs in your browser using pdf-lib.
Is rotation lossless?
Yes β it's a metadata change, not a re-render. Quality is identical to the source.
Will form fields, links and annotations rotate correctly?
Yes β they rotate with the page.
Does the output have a watermark?
No.
Can I rotate by 45Β° or other arbitrary angles?
No β PDF supports 90Β° increments only. For other angles you'd render the PDF to image first (via PDF to JPG), rotate the image, and rebuild a PDF.