🔄 Page Rotator

Rotate PDF

Rotate all pages or specific pages of your PDF. Choose 90°, 180°, or 270° rotation.

Drop your PDF here

or click to browse

Choose File

Rotate PDF

Rotate PDF pages online for free. Rotate all pages or specific pages by 90, 180, or 270 degrees. Stays 100% on your device — no watermark.

Stays in your browser

Processing runs on your own device. Your files are not uploaded to a server, so private documents stay private.

Scanned pages and phone photos often end up sideways or upside down. This tool turns all pages, or only the ones you choose, by 90°, 180° or 270° and saves the result as a new PDF. The rotation is stored as page metadata, so text and images are not re-encoded and keep their original quality.

How to rotate pages in a PDF

  1. 1Drop your PDF into the tool above, or click to browse your device.
  2. 2Choose whether to rotate all pages or specific pages by number or range.
  3. 3Select your rotation angle (90°, 180°, or 270°) and click "Rotate PDF" to download instantly.

How PDFly rotates PDF pages

PDFly uses the pdf-lib library to apply rotations to your PDF pages. Here's how it works:

  • Lossless rotation: The rotation is applied as a metadata transformation — the content itself is not re-rendered or re-encoded, so there's no quality loss.
  • Page-level control: You can rotate all pages at once, or target specific pages using page numbers and ranges.
  • Cumulative rotation: If a page already has a rotation applied, the new rotation is added to the existing rotation (e.g., 90° + 90° = 180°).
  • Preserved content: All text, images, form fields, links, and bookmarks remain intact — only the page orientation changes.

Page number formats you can use

  • Single page: 3 — rotates only page 3
  • Range: 5-10 — rotates pages 5 through 10
  • Multiple: 1, 3, 5-7, 12 — rotates pages 1, 3, 5, 6, 7, and 12

Understanding rotation angles

  • 90° CW (Clockwise): Rotates the page 90 degrees to the right. Use for pages that are rotated 90° counter-clockwise.
  • 180°: Flips the page upside down. Use for pages that are completely inverted.
  • 90° CCW (Counter-clockwise): Rotates the page 90 degrees to the left. Use for pages that are rotated 90° clockwise.

Troubleshooting

  • The rotation didn't apply to the pages I selected: Double-check your page numbers and range format. The preview shows page numbers as you type.
  • The PDF won't open after rotation: Some PDFs use features that pdf-lib can't fully preserve. Try Repair PDF on the original first, then rotate.
  • I rotated the wrong direction: Upload the original file again and rotate it back using the opposite angle (e.g., 90° CW to fix a 90° CCW mistake).
  • Some pages are still the wrong orientation: Check if those pages have existing rotations that are being added to your new rotation. Try rotating by a different angle.

Frequently asked questions

No. PDFly's PDF Rotator runs entirely in your browser using the pdf-lib library. Your file is read, rotated, and made available for download without ever being sent anywhere.
No. The rotation is applied as a page-level metadata transformation, not as a re-rendering of the content. Your text, images, and formatting remain at their original quality.
Yes! PDFly works with any PDF, including scanned documents. The rotation is applied at the PDF level, regardless of whether the content is text or images.
You need to unlock it first using Unlock PDF if you know the password. The tool can't modify encrypted files directly.
Form fields, hyperlinks, and bookmarks are preserved. The rotation is applied to the page as a whole, so all interactive elements remain functional.
There's no hard limit, but since processing runs in your browser's memory, very large files (several hundred MB) may be slow on phones or older computers. A desktop browser will handle large PDFs more comfortably.
Yes! Select "Specific pages" and enter the page number you want to rotate. You can also use ranges like "3-5" to rotate multiple specific pages.