Rotate PDF — fix page orientation in your browser

Turn sideways or upside-down pages the right way up and save it for good — 90, 180 or 270 degrees, on some pages or all of them.

Your file never leaves your device — rotation runs in your browser. 0 bytes uploaded.

Drop a PDF hereTap to choose a PDF

Rotates every page 90°, 180° or 270°, in your browser. Nothing is uploaded.

100% in your browser. 0 bytes uploaded — open DevTools → Network and watch. Your file is read, never sent.

In short

This permanently rotates PDF pages — 90, 180 or 270 degrees, applied to the pages you choose — entirely in your browser. It's built onpdf-lib, a pure-JavaScript library, so there's no server and no install. The change is written into the file itself, not just the way you happen to be viewing it, so the document opens correctly everywhere. Nothing is uploaded, and you can verify that in the Network tab.

View rotation vs. saved rotation

Every PDF page carries a rotation value — 0, 90, 180 or 270 degrees — that tells viewers how to display it. When you rotate a page inside most viewers, you're only changing your temporary view; the file's stored rotation is untouched, which is why the document prints or reopens sideways somewhere else. This tool edits that stored value directly with pdf-lib, so the corrected orientation travels with the file into every viewer, printer and app. It's a metadata-level change: no pixels are re-rendered.

Why rotation is lossless here

Some tools "rotate" by rasterising each page to an image and turning that — which throws away selectable text and softens the image. This one doesn't. It updates only the page rotation attribute, leaving the page's content streams, fonts and images exactly as they were. The output is byte-for-byte the same document apart from the orientation flags, so text stays searchable and images stay crisp. You can rotate a whole scanned document or just the one landscape page that slipped in.

Why no-upload matters even for a small edit

Fixing orientation is trivial — but the document usually isn't. A scanned contract, an ID, a signed form: it makes no sense to copy the whole thing onto a stranger's server just to turn a page the right way up. In-browser rotation keeps the file on your machine: it's read from disk, re-saved in your tab, and no request carries your bytes. Open DevTools and watch the Network tab stay empty while it runs.

Encrypted or damaged files

If the PDF is encrypted, its pages can't be edited until it's decrypted — the tool detects that and points you to Unlock PDF first. If instead a file fails to parse, it may be structurally damaged — truncated, interrupted mid-save, or clipped in transit — and rotation can only work on a document it can read. Looks damaged?Diagnose & repair it, then rotate the repaired copy here.

FAQ

How do I permanently rotate a PDF?

Drop the PDF above, pick a rotation — 90, 180 or 270 degrees — for some or all pages, and download the result. Unlike rotating in a viewer (which only changes how you see it), this writes the new orientation into the file, so it opens the right way up everywhere. It runs in your browser with pdf-lib and is never uploaded.

Why does my PDF look rotated on screen but print sideways?

Viewers let you rotate the on-screen view without changing the file, so the document still carries its original orientation — which is what printers and other apps read. This tool changes the stored page rotation itself, so the saved PDF is correct in every viewer and when printed, not just in your current window.

Is my file uploaded to rotate it?

No — 0 bytes leave your device. Rotation happens in your tab with the pure-JavaScript pdf-lib library; there's no server. Open DevTools, switch to the Network tab, drop the file, and confirm nothing carries it. A change this small should never require handing your document to a server.

Does rotating lose any quality?

No. Rotation only updates each page's rotation value in the PDF — it doesn't re-render or re-compress anything. Text stays selectable and images keep their exact resolution; the pages are identical apart from the orientation flag.

Can I rotate an encrypted or damaged PDF?

Encrypted files must be decrypted first — the tool detects encryption and points you to unlock. If a file fails to parse instead, it may be structurally damaged, and rotation can only work on a document it can read. Looks damaged? Diagnose & repair it first.

More PDF tools: unlock PDF ·merge PDF ·split PDF ·remove PDF metadata ·all PDF tools · broken file — repair PDF