Skip to content
PurePDF HQ
Color theme

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.

Rotation angle

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.