Rotate PDF Pages

Fix sideways or upside-down pages. Rotate the whole document or just the pages you pick, then download the result. Nothing is uploaded, it all happens on your device.

Click to choose a PDF file, or drag and drop it here

Stays on your device, nothing is uploaded.

Are my PDF files uploaded anywhere?

No. Rotating happens entirely inside your browser using JavaScript. Your files never leave your device or touch a server.

Can I rotate only some pages?

Yes. Type the page numbers or ranges you want, like 1-3, 7, and only those pages will be rotated. Leave it blank to rotate every page.

What if a page is already rotated?

The rotation you choose is applied on top of each page's current orientation, not set from scratch, so an already-sideways page turns the expected extra 90, 180, or 270 degrees rather than resetting.

Does rotating reduce PDF quality?

No. Rotation is a metadata change on each page, the underlying content isn't re-rendered or recompressed.

Can I rotate a password-protected PDF?

Not currently. Password-protected or encrypted PDFs can't be read by the tool and will show an error, remove the password first with a PDF reader.

How it works

Every page in a PDF has a /Rotate entry in its page dictionary, a single number (0, 90, 180, or 270) that tells the viewer which way to turn the page when displaying it. This tool uses pdf-lib, running in your browser, to read that value for each selected page, add your chosen rotation on top, wrap the result back into the 0-359 range, and write it back. That's the entire operation. The page's actual content, the text, fonts, images, and vector graphics, is not touched at all.

This matters more than it sounds. Some converters "rotate" a PDF by rendering each page to an image, turning the image, and rebuilding the file. That approach destroys selectable text, bloats the file, and locks the quality to whatever resolution they rendered at. A metadata rotation is the opposite: perfectly lossless, reversible (rotate another 270 degrees and you're back), and instant even on a 500-page file, because the amount of work doesn't depend on what's on the pages. Your output file will be almost exactly the same size as the input.

Because the rotation is applied on top of each page's current value, a scan that's already sideways turns the extra amount you asked for instead of resetting. And clicking rotate repeatedly always starts from the original file you loaded, not from the previous download, so results stay predictable.

As with every tool on this site, the file stays in the tab. Open DevTools and watch the Network panel while you rotate: nothing is transmitted, the PDF is modified in memory and downloaded from a local blob.