Rotate PDF
Rotate a whole PDF or just the pages that came out sideways, then download a file that opens correctly for everyone. The rotation is saved into the document, not just applied to your view.
Related tools
How to rotate a PDF
- Drop your PDF in. It opens on your device; nothing is uploaded.
- Choose the turn — 90° right, 90° left, or 180° for a page that is upside down.
- Apply it to every page, or pick just the ones that need it.
- Rotate, then download. Your original file is untouched.
The rotation is written into the file, so it opens the right way up for everyone.
Rotating the file, not the view
This is the distinction that sends most people looking for a tool in the first place.
Open a sideways PDF in almost any viewer and there is a rotate button. Press it and the page turns. Close the document, reopen it, and it is sideways again. Send it to a colleague and they see it sideways too.
That is not a bug. Viewers deliberately treat rotation as a display setting — a way to read something awkward without modifying a file you may not own. Adobe Reader, macOS Preview, Chrome's built-in viewer and the rest all behave this way, and none of them makes it obvious that nothing was saved.
Saving the rotation is a different operation: it changes a property stored inside the document itself. Once that is done, every viewer everywhere draws the page the new way, because the file now says which way up it goes.
That is what this tool does. The download you get is a real, permanently corrected document.
How rotation is stored in a PDF
Worth understanding, because it explains why this is safe.
Every page in a PDF carries an optional entry called /Rotate. It holds a number — 0, 90, 180 or 270 — and it means "draw this page turned clockwise by this many degrees." That is the whole mechanism.
The page's actual content does not move. The text is still at the same coordinates, the images are still in the same places, the fonts are unchanged. Only the instruction about which way up to present it is different.
Two consequences follow, and both are good news:
Nothing is re-encoded. No image is resampled, no text is redrawn, no compression is reapplied. The output is byte-for-byte the same content, so there is no quality loss of any kind. This is not true of rotating a JPEG, where a naive tool decodes and re-encodes the image and loses a little each time.
It is instant. Changing a number is trivial work, however large the document. A 500-page file rotates as fast as a one-page one.
Why rotation is applied relative to what is there
This is the detail that separates a tool that works from one that quietly makes things worse.
Pages frequently already carry a rotation. A scanner that fed a sheet sideways writes /Rotate 270 so the page displays upright despite being stored on its side. To you it looks perfectly normal, because the viewer has already corrected for it.
Now suppose you rotate the document by 90 degrees. There are two things a tool could do:
Set the rotation to 90. Every page ends up at 90, regardless of where it started. The pages that were already correct at 270 are now wrong, and the ones you were trying to fix may be wrong differently.
Add 90 to whatever each page has. A page at 270 becomes 0. A page at 0 becomes 90. Every page turns by exactly the quarter-turn you asked for, relative to how it currently looks.
The second is what "rotate this 90 degrees" means to a person looking at a document, and it is what this tool does. When the pages you have selected already carry a rotation, the tool says so, so nothing is a surprise.
The cases this actually solves
A scan where some sheets went in sideways. The most common one by far. Rotate just those page numbers and leave the rest alone.
A document that is entirely 90 degrees out. Usually a landscape original saved as portrait or the reverse. Rotate everything at once.
Pages that are upside down. A stack fed into a scanner the wrong way round. 180 degrees fixes the whole batch.
A file you need to print. Printers respect the stored rotation, so a corrected file prints the right way up without anyone fiddling with driver settings.
A document going into a system that will not let anyone rotate the view — a portal, an archive, an e-filing system. The file has to be right before it is submitted.
A file you are about to merge. Fixing orientation before combining documents is far easier than after.
Limits and requirements
Rotation only. This tool changes orientation and nothing else. It does not crop, resize, reorder or compress.
Multiples of 90 degrees. That is what the PDF format permits, and it is what a viewer can render.
Password-protected files will not open. Remove the password first, in software that has it.
Very large files use memory. The document is held in memory while it is rewritten, so a several-hundred-megabyte file needs a machine with room for it. Rotation itself is fast regardless of page count.
Browser support. Any modern browser on desktop or mobile. No installation, no account, no upload.
Privacy: how this tool handles your document
The file is read from your disk into your browser's memory, modified with pdf-lib, and written back out as a download. It never touches a network. Nothing is transmitted, nothing is logged, nothing is stored, and closing the tab discards everything.
That is worth stating plainly given what tends to need rotating. Sideways PDFs are almost always freshly scanned paper, and freshly scanned paper is contracts, identity documents, medical forms, tax paperwork and signed agreements. Uploading one of those to an unknown server — to change a single number inside the file — is a genuinely poor trade.
The rest of the industry does upload them. Most free PDF tools are server-side: your file goes up, a process on someone else's machine modifies it, and the result comes back. That means the document sat, however briefly, on hardware you know nothing about, subject to a retention policy you did not read and backup systems nobody thought about in this context.
None of that is needed to change a number. You can verify this one does not: open your browser's developer tools, watch the Network tab while you rotate, and see that no request carries your file. Or disconnect from the internet after the page loads — the tool carries on working, because there is nowhere else for the work to happen.
Frequently asked questions
Why does my PDF open sideways in the first place?
Almost always because of how it was produced. A scanner fed a sheet in landscape and recorded it that way; a phone camera wrote an orientation tag the PDF creator ignored; or a document mixed portrait and landscape pages and something along the way normalised them badly. The page content is usually fine — it is the orientation flag that is wrong, which is exactly what this tool corrects.
Why does rotating in my PDF viewer not stick?
Because most viewers rotate the view, not the file. Adobe Reader, Preview, Chrome's built-in viewer and most others treat rotation as a temporary display setting so you can read something awkward without modifying it. Close the document and the setting is gone, and anyone you send it to sees the original orientation. Saving the rotation into the file, which is what happens here, is a different operation — and it is why the document then opens correctly for everyone.
Does rotating reduce quality?
No, not at all. Rotation in a PDF is a page property — a number, in 90-degree steps, that tells a viewer which way up to draw the page. Changing it does not touch the text, the fonts, the vectors or the embedded images. Nothing is re-encoded and nothing is resampled, so the result is pixel-for-pixel identical to the original, just oriented differently. This is not true of rotating an image file, where a non-lossless format may be re-compressed.
Can I rotate only some pages?
Yes. Choose selected pages and enter numbers and ranges — 2, 5-8, 11 works. This is the common case with scans, where a few sheets went through the feeder the wrong way while the rest are fine. Pages you do not name are copied through untouched.
What happens if a page is already rotated?
The turn is applied on top of the rotation the page already carries, which is what you want. If a scanner set a page to 270 degrees and you rotate it 90 degrees right, it ends up at 0 — upright. Applying an absolute value instead would silently un-rotate pages that were already correct, which is a common bug in these tools. The tool tells you when the pages you selected already carry a rotation.
Why are the rotation options 90, 180 and 270 only?
Because the PDF specification allows only those. The /Rotate entry on a page must be a multiple of 90, so a viewer only ever has four orientations to render. Rotating by an arbitrary angle would mean transforming the actual page content — redrawing every element at an angle — which is a fundamentally different and far more destructive operation, and not what anyone means by rotating a scan.
Does this change my original file?
No. Your file is read into memory and a new document is produced from it, which downloads separately. The original stays exactly where it is, untouched, so a mistake costs you nothing but another attempt.
Is my PDF uploaded?
No. The file is opened and rewritten entirely inside your browser using pdf-lib. Nothing is transmitted, logged or stored, and closing the tab discards everything. Sideways scans are typically documents someone has just scanned in — contracts, ID, forms, medical paperwork — which is exactly the category of file that should not be casually posted to an unknown server for a change this trivial.