PDF Page Rotator
Rotate all pages in a PDF by 90, 180, or 270 degrees. Runs in your browser — nothing uploaded.
Built with pdf-lib (MIT), self-hosted.
How to use this tool
- Choose a PDF.
- Select 90°, 180°, or 270°.
- Click Rotate & Download — a new PDF with rotated pages is saved.
Rotate all pages in a PDF by 90, 180, or 270 degrees. Runs in your browser — nothing uploaded.
How it works
The PDF Page Rotator applies a rotation of 90, 180, or 270 degrees to every page in a PDF file. This is useful when a PDF was scanned or exported in the wrong orientation, resulting in landscape pages that open sideways or upside-down pages that are hard to read.
The rotation is applied to the PDF's internal page transformation metadata, not by rasterizing and re-encoding the pages as images. This means text remains selectable and file quality is preserved. Processing runs in your browser using a JavaScript PDF library -- no file is uploaded.
Use 90 degrees clockwise to fix a page scanned in portrait that appears as landscape, 180 degrees to flip an upside-down scan, or 270 degrees (equivalent to 90 degrees counter-clockwise) to rotate in the other direction.
Worked example
Fix a sideways-scanned PDF
- Upload the PDF with incorrectly oriented pages.
- Select 90 degrees clockwise rotation.
- Click Rotate.
- Download the corrected PDF and open it to verify all pages are upright.
A new PDF where every page has been rotated 90 degrees clockwise, displaying in the correct portrait orientation.
Common mistakes to avoid
- Rotating 90 degrees when 270 degrees was needed, producing pages rotated in the opposite wrong direction -- rotate again by 180 degrees to correct it.
- Using this tool when only some pages need rotation -- it applies the same rotation to every page in the document.
- Forgetting to download the output file before closing the tab -- the processed PDF must be downloaded immediately.
Key terms
- Page rotation metadata
- A value stored in a PDF page dictionary that tells viewers how to rotate the page when rendering, without altering the actual content stream.
- Clockwise rotation
- Rotation in the same direction as clock hands -- 90 degrees clockwise turns a portrait page into a landscape page.
Frequently asked questions
- Does it change the original file?
- No — a new rotated PDF is downloaded; your original is unchanged.