inyourbrowser.com

Rotate PDF

Rotate PDF is a PDF tool that corrects page orientation in any PDF by 90°, 180°, or 270°. It renders every page as a thumbnail, supports individual or bulk rotation, and preserves the underlying text and content. The tool runs in your browser.

Drop a PDF here or click to browse

How to rotate PDF pages

  1. Drop your PDF onto the upload area or click to browse, a thumbnail grid of all pages loads automatically.
  2. Click the rotation arrows on individual page thumbnails to rotate just those pages.
  3. Use the "Rotate all" buttons in the toolbar to apply the same rotation to every page at once.
  4. Click "Download" to save the rotated PDF. All processing is in-browser.

Common uses

  • Correcting landscape-oriented pages in a document that should be portrait, then merge PDFs if the corrected file needs to be combined with others
  • Rotating a scanned document that was fed sideways into the scanner
  • Fixing orientation of specific pages in a mixed-orientation report or book, use split PDF to separate sections before rotating them

Technical specification

  • Algorithm or formula: For each affected page, the tool calls pdf-lib's page.setRotation(degrees(angle)), where angle is a multiple of 90. Rotation is encoded as page metadata; underlying content is untouched.
  • Browser API or library: pdf-lib for PDF write; pdfjs-dist for thumbnail rendering with the live rotation preview.
  • Input limits: PDF up to 100 MB. Rotation angles 90°, 180°, 270° (cumulative on each click).
  • Output: Rotated PDF (application/pdf) with the same content and selectable text, downloaded via Blob URL.
  • Known limitations: Only 90-degree increments are supported. Annotations attached to a page retain the original coordinate system and may render unexpectedly in some viewers.

Frequently asked questions

Is my PDF uploaded to a server?
No. Page rotation is performed using pdf-lib running in your browser.
Can I rotate individual pages rather than the whole document?
Yes. Each page thumbnail has independent rotation controls. Mix portrait and landscape pages as needed.
Are rotations of 90, 180, and 270 degrees supported?
Yes. Click the rotate-right button once for 90 degrees, twice for 180, three times for 270. The rotation is cumulative.
Will rotating affect the PDF text or content?
No. pdf-lib sets the page rotation flag in the PDF metadata, the content itself is unchanged. Text remains selectable after rotation.

Reviewed and tested May 26, 2026.