PDF Tool
Rotate PDF
Rotate individual pages or all pages at once — left, right, or 180°. Live thumbnail preview, text always stays selectable.
Advertisement
Drop your PDF here
or click the button below to choose a file
Single file · Any size · Never uploaded
Per-Page ControlRotate each page independently with ↺ ↻ buttons
Bulk RotateRotate all pages left or right in one click
Live PreviewThumbnail rotates in real-time as you click
Text Preservedpdf-lib encodes rotation metadata — no rasterization
↻
🔄
Applying Rotations…
✅
Rotations Applied!
Your PDF is ready to download.
Total Pages
Pages Rotated
Output Size
Advertisement
About This Tool
Rotate PDF rotates individual pages or all pages in a PDF by 90°, 180°, or 270° — with a visual thumbnail grid for page-by-page control. Download the result as a standard PDF.
How to Use
- Upload a PDF.
- Thumbnails of all pages appear — click ↺ or ↻ to rotate each page.
- Use "Rotate All Left/Right" for bulk rotation.
- Page thumbnails show the current rotation visually.
- Click Apply & Download to save the rotated PDF.
Logic & Algorithm
Thumbnails are rendered using PDF.js with CSS transform: rotate() applied for live preview (no re-render needed per click). On save, pdf-lib loads the original bytes fresh, iterates all pages, and calls page.setRotation(degrees(originalAngle + userDelta)). Using a fresh load prevents rotation values from stacking on repeated saves.
Frequently Asked Questions
Does rotating a PDF upload my file anywhere?
No. Everything runs locally in your browser using PDF.js (for thumbnails) and pdf-lib (for applying rotations). Your file never leaves your device.
Will text stay selectable after rotating?
Yes. pdf-lib encodes the rotation as metadata without rasterizing any content. Text, hyperlinks, vector graphics, and fonts are all preserved exactly as in the original.
Can I rotate just some pages and leave the rest?
Yes. Use the ↺ or ↻ buttons on individual page cards. Only the pages you rotate will be changed — pages with no rotation badge keep their original orientation.
Can I rotate a password-protected PDF?
No. Use the PDF Password Remover to unlock the file first, then rotate it here.
Why are thumbnails still loading after I open the PDF?
Thumbnails are rendered page-by-page in the background using PDF.js. You can start rotating pages immediately — the rotation controls work independently of thumbnail loading.