Rotate all pages in a PDF by 90°, 180°, or 270°. Fix sideways scans and upside-down documents. 100% browser-based, free, and private. 100% free, private,.
The PDF Page Rotator is a free browser tool that rotates every page in a PDF document by 90, 180, or 270 degrees. It fixes sideways scans, corrects orientation mistakes, and prepares documents for printing — all without uploading your file to a server.
Misoriented pages are one of the most common PDF problems. Scanners often produce landscape documents in portrait orientation. Mobile scanning apps occasionally save pages upside-down. And mixed-orientation documents (some landscape, some portrait) are frustrating to read on screens. Rotating standardises everything.
We use the pdf-lib library to load your PDF, iterate through every page object, and apply a rotation transformation. pdf-lib modifies the page dictionary's /Rotate entry, which tells PDF viewers to render the page at the specified angle. The content stream itself is not re-rendered or recompressed — only the orientation metadata changes — keeping the operation fast and lossless.
Because pdf-lib runs entirely inside your browser's JavaScript engine, a 50-page document rotates in under 2 seconds on a modern laptop. Your tax returns, medical records, and legal contracts never touch a remote server.
Currently this tool rotates all pages uniformly. For page-specific rotation, use our PDF Page Extractor to pull individual pages, rotate them, and then merge them back together.
File size usually stays nearly identical because only the rotation metadata is changed. pdf-lib re-encodes the document, so there may be minor fluctuations.
Owner-password-protected PDFs can be processed if the password restricts permissions rather than encryption. User-password (open) protected PDFs must be unlocked first using our Remove PDF Password tool.
Yes, the downloaded PDF has the new rotation baked into each page. You can always rotate again in the opposite direction to revert.
Browse all free tools · Guides and tutorials · PDF tools · Developer tools · Text tools · SEO tools