Rotate PDF without uploading
Rotate PDF pages 90°, 180°, or 270° in your browser.
Drop a PDF here, or click to upload
Rotation is applied losslessly in your browser
This rotates PDF pages without uploading the file and without touching image quality. Rotation is written into each page's /Rotate metadata entry with pdf-lib rather than re-rendering the content, so the result is mathematically lossless — the same bytes, displayed at a different orientation. It runs entirely in your browser, and you can rotate every page at once or pick individual pages from the live previews. /Rotate accepts only 0, 90, 180 and 270 degrees clockwise, which is why those are the options offered; arbitrary angles are not part of the PDF specification. Because nothing is re-encoded, file size barely moves, embedded fonts and selectable text survive intact, and rotating twice back to the original leaves a file functionally identical to the one you started with. Encrypted PDFs cannot be opened, and pages that merely look sideways because the scan itself was rotated will not be corrected by changing this flag.
About the Rotate PDF
Rotate PDF pages online for free, with a live preview of every page. Spin all pages at once, or pick exactly which pages to turn 90°, 180°, or 270°. Everything runs locally with pdf.js and pdf-lib — no uploads, no watermarks.
How to use the Rotate PDF
- 01Drag and drop your PDF, or click to choose it from your device.
- 02Select the pages you want to rotate, or apply rotation to all pages at once.
- 03Click a 90°, 180°, or 270° button and watch the live preview update.
- 04Click “Download rotated PDF” to save the corrected document.
Why use our Rotate PDF
- 01
Live page previews
See exactly how every page will look after rotation, before you download.
- 02
Per-page control
Rotate all pages together, or pick individual pages to fix.
- 03
Lossless rotation
Pages are rotated using PDF metadata — image and text quality are preserved exactly.
- 04
Fully private
Powered by pdf-lib in your browser — your document never reaches a server.
Does rotating a PDF reduce its quality?
There are two ways to rotate a PDF page and they are not equivalent. The naive approach renders the page to an image, turns the image, and writes it back — which flattens the page, destroys selectable text, and re-compresses every graphic. The correct approach, used here, sets the page's /Rotate attribute, an integer of 0, 90, 180 or 270 defined in the PDF specification that instructs any viewer to display the page turned by that many degrees clockwise. The underlying content stream is untouched. Fonts remain embedded and text remains selectable, images keep their exact original compression, vector artwork stays vector, and the file size barely changes. This is why rotating here and rotating again to return to the original leaves you with a file visually and functionally identical to what you started with, which is emphatically not true of tools that rasterise.
Fixing scans and mixed-orientation documents
The common reason people need this is a scanner or a phone that captured pages the wrong way up, often inconsistently across a single document. Because the previews render every page, you can see exactly which ones are wrong before changing anything, then select just those and correct them. Documents that mix portrait and landscape pages deliberately — a report with wide tables or charts interleaved among text — are the other frequent case, and per-page selection is what makes those manageable. A detail worth knowing is that /Rotate is cumulative with any rotation already present: if a page was authored at 90 degrees and you apply another 90, it displays at 180. The previews reflect the final state, so trust what you see rather than doing the arithmetic. Also note that rotation is a display instruction, so page dimensions as recorded in the file do not change; a portrait page rotated to landscape still reports portrait dimensions while rendering landscape.
Printing, viewer differences and what to check
Almost every modern PDF viewer and printer honours /Rotate correctly, and it is the mechanism Acrobat itself uses, so a rotated file behaves as expected in Acrobat, Preview, Chrome, Edge, Firefox and standard print drivers. Two edge cases are worth being aware of. First, a small number of older or minimal PDF renderers — some embedded viewers, certain document-management previews and a few legacy print pipelines — ignore the attribute and display the page unrotated. If your document is going into a system like that, verify there rather than assuming. Second, printer drivers sometimes apply their own auto-rotate-and-centre behaviour on top, which can override what you set; if a printed page comes out unexpectedly, check the print dialog's orientation and scaling options before concluding the file is wrong. For ordinary sharing, emailing and viewing, none of this arises.
The /Rotate values and what they mean
| Value | Displayed rotation | Common use |
|---|---|---|
| 0 | As authored | No change |
| 90 | Quarter turn clockwise | Landscape scan captured portrait |
| 180 | Upside down | Page fed into the scanner reversed |
| 270 | Quarter turn anticlockwise | Landscape scan turned the other way |
Rotation is cumulative with any value already in the file — the live previews show the final result.
Frequently asked questions
Is my PDF uploaded to a server?
No. Rotation is applied in your browser with pdf-lib. The document is never transmitted and the tool works offline after the page loads.
Will rotating reduce the quality of my PDF?
No. Rotation sets a metadata attribute rather than re-rendering the page, so text, fonts and images are byte-identical to the original.
Can I rotate only some pages?
Yes. Click any page thumbnail to select it and apply rotation to just those pages. Unselected pages are left untouched.
Does the file size change?
Barely. Only a small integer per rotated page is altered, so the output is essentially the same size as the input.
What if my PDF is password-protected?
Encrypted PDFs cannot be parsed until decrypted. Unlock the file in your viewer first, then rotate the unprotected copy.
Why does the page still report portrait dimensions?
Rotation is a display instruction, so the recorded page box does not change. Viewers apply the rotation when rendering, which is why the output looks correct everywhere it matters.
Will it print the right way round?
In standard viewers and print drivers, yes. Watch for printer auto-rotate settings in the print dialog, which can apply their own orientation on top of the file's.
I rotated twice and it went too far. Why?
Rotation is cumulative with any value already in the document. Use the previews to confirm the final orientation rather than counting turns.
Does text stay selectable after rotating?
Yes. Because nothing is rasterised, the text layer is preserved exactly and remains selectable and searchable.
Last updated
Rotation via the pdf-lib page /Rotate attribute, previews rendered with pdf.js. Attribute semantics follow ISO 32000-1 (PDF 1.7), which defines /Rotate as clockwise degrees in multiples of 90.