Skip to content
LeafPDF
All tools

Rotate PDF

Rotate PDF pages 90° at a time and save an upright copy — free, and your file never leaves your browser.

Runs 100% in your browser — only same-origin app assets load, never your file.

Sideways scans and photographed documents are the usual reason a PDF opens the wrong way up: the page is fine, but the file records an orientation that no longer matches how the text reads. Drop the PDF below, turn the pages that need it with the arrows under each preview, and save. Rotation is written as the page's own rotation value, so the fix travels with the file — and because nothing is re-drawn, the saved PDF is byte-for-byte as sharp as the one you started with.

Drop a PDF here

or click to browse — files stay on your device

Rotating PDFs: common questions

Why does my scanned PDF open sideways?
A PDF page carries its own orientation flag, and scanners set it from how the sheet went through the feeder rather than from how the text reads. The page content is fine — the file is just telling every viewer to display it turned. Rotating the page here rewrites that flag, so the document opens the right way up from then on.
Does rotating a PDF re-encode it or lose quality?
No. LeafPDF rotates by setting the page's rotation value with pdf-lib; the page content, its text and its embedded images are copied across untouched. Nothing is rasterised and nothing is re-compressed, so the result is pixel-for-pixel identical to the original — just displayed at a different angle.
Will the rotation stick if I email the file or open it in another app?
Yes. The angle is written into the saved PDF itself, not remembered by this website, so any conforming reader — Acrobat, Preview, Chrome, a phone mail client — shows the page upright. That is different from the rotate button inside most PDF viewers, which usually only turns the page on screen and forgets it when the file is closed.
Can I rotate a single page instead of the whole document?
Yes. Every page thumbnail has its own pair of turn-left and turn-right arrows, and each click moves that one page by 90 degrees. Pages you never touch are saved exactly as they were. There is no rotate-everything shortcut, so a document that is uniformly sideways needs one click per page.
Can I reorder or delete pages in the same pass?
Yes, and it costs nothing extra. Rotations, drag-to-reorder and page deletions are collected as pending changes and written out in a single save, so you never have to run one tool, download the result and feed it into another.
Is my PDF uploaded to a server?
No. The file is read and rewritten by a Web Worker inside your own browser, and a Content Security Policy of connect-src 'self' stops the page contacting anywhere else at all. The only things this page requests are LeafPDF's own code and the pdf.js font data used to draw the page previews, both from this domain and neither carrying any part of your document. Automated tests assert that no request made during a run contains a body.