LocalTools All tools →

Rotate PDF

Fix sideways or upside-down pages. Click a page to rotate it, or open the full-page viewer to inspect content before deciding. Save the corrected PDF. Nothing is uploaded.

Upload a PDF

⬆
Drop a PDF here or click to browse

Preview thumbnails load automatically

No watermark · No upload · Works offline

Rotate any PDF — free, in your browser

This tool rotates pages of a PDF without uploading anything. Click any page thumbnail to turn it 90° clockwise, or use the Rotate all buttons to apply the same rotation to every page at once. For a closer look, hover any thumbnail and click the magnifier icon to open a full-page viewer with zoom, pan and rotate controls. Everything runs locally in your browser using JavaScript.

Unlike most online PDF rotators that upload your file to a server, keep it for hours, watermark the output, or require an account, this tool reads the PDF into memory on your machine, applies rotation as a page-level instruction, and writes the result back to disk. You can disconnect from the internet after the page loads and keep working.

How to rotate a PDF

  1. Open the PDF. Drop a file onto the drop zone or click to browse. Every page renders as a thumbnail in the strip.
  2. Rotate individual pages. Click any page thumbnail to rotate it 90° clockwise. Click again to rotate further. The badge in the corner shows the current angle.
  3. Or rotate all pages at once. Use ↻ 90° right, ↕ 180° or ↺ 90° left in the toolbar.
  4. Inspect in the full-page viewer (optional). Hover a thumbnail and click the magnifier icon to open the page full-screen. Zoom, pan and rotate from inside. Changes apply back to the strip.
  5. Save the corrected PDF. Click Save rotated PDF. The file downloads with -rotated appended to the filename.

When rotation makes a difference

SituationWhat you need
Scanned pages come in sidewaysClick each sideways page once for 90°
Pages photographed upside downClick each page twice for 180°
Whole document is landscape but needs portraitUse Rotate all once
Two pages have different orientationsRotate each individually
Camera auto-rotated some shots incorrectlyOpen the viewer to check orientation, then rotate from inside

Three ways to rotate

1. Click a page in the strip

The fastest option when you know which pages are wrong. Click rotates 90° clockwise. Click again for 180°, then 270°, then back to 0°.

2. Use the Rotate all buttons

Applies the same rotation to every page. Useful when a whole scan came in the wrong orientation.

  • ↻ 90° right — clockwise turn
  • ↕ 180° — upside down flip
  • ↺ 90° left — counter-clockwise turn
  • Reset all — clear every rotation

3. From inside the full-page viewer

Hover a thumbnail and click the magnifier icon. The viewer opens with the page centered. Use the footer buttons or press R to rotate. Useful when you want to read the content before deciding the correct orientation.

Full-page viewer controls

The viewer supports zoom, pan, rotate and page navigation:

  • Zoom — scroll wheel, pinch with two fingers on touch, or + and − buttons.
  • Pan — drag with mouse, or drag with one finger on touch.
  • Rotate — footer buttons, or press R for clockwise and Shift+R for counter-clockwise.
  • Navigate — arrow keys ← →, or the on-screen prev/next buttons.
  • Fit to screen — press 0 or click the Fit button.
  • Close — press Esc or click Close.

Any rotation applied inside the viewer is preserved when you close it. The thumbnail in the strip updates to match.

How rotation works in a PDF

PDF pages store a rotation angle in the page dictionary. Every PDF reader — Adobe Acrobat, Chrome, Preview, Edge, Foxit, and every mobile app — reads that value and rotates the page accordingly when displaying it.

This tool changes the rotation value only. It doesn't rotate the pixels or redraw the content. That means:

  • No quality loss. Images, text and vector graphics stay byte-for-byte identical.
  • The file size stays the same. No re-encoding, no recompression.
  • Text stays selectable. Original text is preserved, not rasterised.
  • Every reader agrees. The output displays correctly everywhere.

Rotations combine additively. If a page already had a 90° rotation and you click once more, the tool writes 180° to the output, not 90°.

Common uses

  • Fix scanned documents. Scanners sometimes output pages rotated 90° or 180°. Rotate them all at once or individually.
  • Correct phone photos. Photos of documents taken in portrait mode often come out landscape inside the PDF. Rotate to fix.
  • Prepare for printing. If a document needs to print landscape instead of portrait, rotate it first.
  • Read sideways pages. Manuals and diagrams sometimes embed a landscape table inside a portrait document. Rotate just that page.
  • Fix auto-rotation errors. Some apps auto-rotate photos based on EXIF data. If the wrong pages rotated, correct them manually.
  • Standardise orientation. Mixed-orientation PDFs look messy. Rotate everything to match before sharing.
  • Prepare for OCR. OCR engines are more accurate on correctly-oriented pages.
  • Fix upside-down covers. A PDF that starts with a page 180° off can be corrected in one click.
  • Clean up booklets. Booklet PDFs sometimes have odd pages rotated for saddle-stitching — rotate them for reading on-screen.
  • Before merging or splitting. Rotate each PDF to match before combining or dividing them.

Your privacy is protected

Every operation happens in your browser. The PDF is read into memory, modified, and written back to disk by your own device. No PDF is ever sent to any server, logged, or retained.

The only network requests the page makes are for two open-source libraries — pdf-lib for writing the output and Mozilla's pdf.js for rendering previews — both loaded from a public CDN when the page first opens. After that, the tool works entirely offline. You can disconnect from the internet and keep rotating.

This makes the tool safe for documents you'd never upload to a cloud service: contracts, medical records, tax returns, bank statements, legal filings, signed agreements, personnel files.

What this tool can't do

Being honest about limits is more useful than pretending they don't exist. This tool does not:

  • Delete pages. Use Delete PDF Pages for that.
  • Reorder pages. Use Organize PDF for that.
  • Merge or split PDFs. Use Merge PDF or Split PDF.
  • Add page numbers. Use Add Page Numbers for that.
  • Extract or edit text. Use PDF Editor for editing or Extract PDF Text for text extraction.
  • Rotate text within a page. The whole page rotates as a unit. To rotate text or content inside a page, use a full PDF editor.
  • Handle password-protected PDFs. If the PDF requires a password to open, remove it first. PDFs with only print or edit restrictions usually work after removing those restrictions.
  • Auto-detect orientation. All rotations are manual. The tool doesn't analyse page content to guess which way is up.

Troubleshooting

  • "PDF library not loaded" — the CDN is blocked or you're offline before the first page load. Refresh the page once. After that, the tool works offline.
  • Preview thumbnails don't render — the PDF is very large, or one page has unusual content. Wait a few seconds. Previews render one at a time.
  • Rotation doesn't appear to save — check that the page badge shows a non-zero angle before clicking Save. If no page is rotated, the tool refuses to save to avoid producing an unchanged file.
  • The output PDF looks different from what I saw — some PDF readers cache page orientation. Close and reopen the file, or reload the reader.
  • Rotation is very slow — the PDF is over 500 pages. Wait a moment. The progress bar shows how far along it is.
  • I accidentally rotated everything — click Reset all to clear every rotation. Or click individual pages until they cycle back to 0°.
  • Zoom doesn't go high enough in the viewer — the viewer caps zoom to keep the page from blurring beyond its native resolution. Scroll further with Ctrl+wheel to bypass.
  • Mobile browser crashes on a large PDF — memory limit reached. Try rotating in stages, or use a desktop browser for very large files.

Common questions

Can I rotate just one page?

Yes. Click any page thumbnail to rotate it 90 degrees clockwise. Or click the magnifier icon to open a full-page view and rotate from there.

Can I view a page full-screen?

Yes. Click the magnifier icon on any thumbnail to open a full-page viewer with zoom, pan and rotate controls.

Are my PDFs uploaded?

No. Everything happens in your browser. Your PDF never leaves your device.

Does rotating affect quality?

No. Rotation is stored as a page-level instruction in the PDF. The content itself is untouched and no re-compression occurs.

Does it work on mobile?

Yes. Tap any page to rotate it. The viewer supports pinch-to-zoom and touch-drag.

Can I rotate all pages at once?

Yes. Use the Rotate all buttons in the toolbar: 90° right, 180° or 90° left. Every page rotates by the same amount.

How do I fix a PDF where some pages are upside down?

Open the PDF, then click any upside-down page twice to rotate it 180°. Or open the full-page viewer to inspect the page and rotate it from there.

Can I undo a rotation?

Yes. Click the page again to keep rotating until it returns to the correct orientation. Or click Reset all to clear every rotation.

Will the rotation be saved?

Yes. The rotation value is written into the PDF's page dictionary. Every PDF reader will display the rotated pages correctly.

Does the tool change the page size or content?

No. Rotation only changes how the page is displayed. Page dimensions, content, fonts, images and annotations all stay exactly the same.

Can I rotate a password-protected PDF?

Not if the PDF requires a password to open. If it only has print or edit restrictions, rotation usually works after removing those restrictions.

Does the viewer change my rotation?

No. Rotations made in the full-page viewer are applied to the same page in the thumbnail strip. Closing the viewer preserves them.

What keyboard shortcuts are available?

Arrow keys navigate pages, R rotates clockwise, Shift+R rotates counter-clockwise, 0 fits to screen, + and − zoom, and Esc closes the viewer.

Does it work offline?

Yes. After the page loads once, the tool works entirely offline. Disconnect from the internet and keep rotating.

How is this different from Adobe Acrobat?

For rotating pages, nothing — it does the same job. Acrobat offers advanced features like OCR and form creation, but for rotation this tool matches it for free and without uploading.