Rotate PDF
When a page ended up scanned in landscape in the middle of an otherwise portrait document — or just upside down — there's no need to rescan the whole file: select the PDF, click the rotate icon on the affected page to turn it 90° per click, and download the document with the fixed orientation. Thumbnails are generated with pdf.js and the rotation is applied with pdf-lib, without the file ever leaving your browser.
How it works
- Choose the PDF file you want to fix; each page appears as a thumbnail so you can spot which ones are misoriented.
- Click the rotate icon on a page to turn it 90° clockwise; the thumbnail rotates on screen so you can see the result.
- Each additional click adds another 90°, so you can rotate a page 180° or 270° with multiple clicks.
- Click 'Download rotated PDF' so pdf-lib applies each page's accumulated rotation to the final document.
- Download the result as rotated-document.pdf.
Use cases
- Fix landscape-scanned pages when the rest of the document is portrait.
- Turn a single page that ended up upside down within a multi-page PDF.
- Adjust the orientation of landscape diagrams or tables before printing a report.
- Prepare a document for combined printing where some pages need a different orientation.
Use cases
- Fix landscape-scanned pages when the rest of the document is portrait.
- Turn a single page that ended up upside down within a multi-page PDF.
- Adjust the orientation of landscape diagrams or tables before printing a report.
- Prepare a document for combined printing where some pages need a different orientation.
Common mistakes
- Expecting the rotation to apply equally to every page.Rotation is per page: only the pages where you clicked the rotate icon are turned; the rest stay unchanged.
- Clicking too many times and not noticing a page ended up rotated 180° or 270° instead of 90°.Each click adds 90° more; check the rotated thumbnail before downloading to confirm each page's final angle.
- Thinking the rotation is saved when switching files or reloading the page.The selected rotation only applies once you click 'Download rotated PDF'; if you load a new file, rotations reset.
Frequently asked questions
Yes, rotation only applies to the pages where you click the rotate icon; the others keep their original orientation.
Clockwise, 90° per click on the rotate icon.
Yes, click the icon on that page twice to accumulate 180° of rotation.
No. pdf.js draws the thumbnails and pdf-lib applies the rotation to the final document; both steps happen in your browser, without sending the file to any server.
Alternatives
Adobe Acrobat and macOS's Preview app also rotate individual PDF pages. This tool covers the same case without installing anything, and works the same on Windows, macOS, Linux, or a Chromebook, since the browser does all the work.