Rotate PDF by custom angle
Turn PDF pages by a fine custom angle (+1.5°, -1.5°, +45°, -45°) or automatically stand sideways pages upright in your browser. Text and vector graphics stay sharp.
Runs pdf-lib in your browser, a 215 KB download the first time you rotate. Open-source licenses
How to rotate a PDF by custom degrees
Drop a PDF onto the box above or choose one from your device, pick an angle or Auto-straighten sideways pages, and select Rotate PDF.
Download the rotated PDF. Every page's vector text and drawings are preserved inside a centered transformation matrix.
Fine angles and automatic upright orientation
Standard PDF rotation flags (/Rotate) only allow 90°, 180° and 270° steps. When a page needs a fine 1.5° adjustment or a 45° diagonal turn, this tool embeds the page as a Form XObject and applies an exact affine rotation matrix.
Choosing Auto-straighten checks each page's displayed width and height and turns sideways pages upright so every page reads in portrait orientation.
Runs in your browser with no upload
All page transformations run locally in your browser with pdf-lib. Your document never leaves this device, and password-protected PDFs stay protected.
Related tools
- Rotate PDF: Turn every page, or only some, the right way up.
- Deskew PDF: Straighten crooked or tilted scanned PDF pages automatically.
- Reorder PDF pages: Put the pages of a file in a new order.
- Delete PDF pages: Remove the pages you choose and keep the rest.
- Merge PDF: Join several files into one, in the order you choose.
- Compress PDF: Make a file smaller, or at or under a size you type.