How Client-Side PDF Rotation Works
This tool uses pdf-lib — a pure JavaScript PDF library — running entirely inside your browser. When you click "Apply & Download", it reads the original PDF bytes from memory, calls page.setRotation(PDFLib.degrees(angle)) for each page, and streams the result directly to your downloads folder. No bytes ever touch a remote server.
Page previews are rendered with PDF.js at a scale of 0.25 for fast loading. The thumbnails reflect the visual rotation of each page in real time before you commit. Once you click Apply, pdf-lib bakes the rotation permanently into the PDF metadata — the output is a standard, universally-compatible PDF file.