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 rotated PDF" to save the result. 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 stored in each page's /Rotate entry, added to any rotation the page already had; 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

Can I rotate individual pages or only the whole PDF?
Both. Every page thumbnail has its own rotation controls so you can mix portrait and landscape pages, or use Rotate all in the toolbar to apply 90, 180, or 270 degrees to the entire document. All rotation runs in your browser using pdf-lib.
Is my PDF uploaded to a server?
All page rotation is performed in your browser using pdf-lib. Our servers are not involved at any point.
Are rotations of 90, 180, and 270 degrees supported?
Yes. Click the ↻ button under a page once for 90 degrees, twice for 180, three times for 270. The rotation is cumulative.
Will rotating affect the PDF text or content?
The content itself is unchanged. pdf-lib writes the new angle to each page's /Rotate entry, a standard page property, so text remains selectable after rotation.

Related tools

Reorder PDF pages
Drag PDF pages into any order and download the rearranged PDF. Runs in your browser.
Add page numbers
Stamp page numbers onto every page of a PDF. Choose position, start number, and size.
Crop PDF
Trim PDF pages with a draggable rectangle. Lock to A4, Letter, or square. Applied via pdf-lib in your browser.
Rotate & flip
Rotate images 90°, 180°, 270° or flip horizontally or vertically. Download as PNG or JPG.

Reviewed and tested September 30, 2026.