Rotate PDF
Fix sideways scans — every page or just a range.
Why scans come out sideways
Scanners and multifunction printers often feed paper in one orientation while the OCR layer stores text in another, producing PDFs that display rotated — or worse, half-rotated when a batch was fed in mixed directions. This tool sets each page's rotation flag by exactly 90°, 180° or 270°, which fixes the display without re-encoding a single pixel: quality is untouched and the file stays compact.
You can rotate everything at once, or restrict the change to a page range like 4-6 for the odd sideways pages in an otherwise-correct document. Processing is entirely local via pdf-lib — the file is read, modified in memory and downloaded, with no upload at any point.
FAQ
Will rotation affect text selection or file size?
No — only the page's /Rotate attribute changes. Text stays selectable and searchable, and the output is typically the same size as the input.
Can I rotate already-rotated pages back?
Yes — choose the counter-rotation (e.g. 90° CCW for a page that's 90° clockwise off). To set an absolute orientation regardless of current state, rotate 180° twice or use 270° appropriately.