Rotate PDF
Rotate PDF pages 90°, 180° or 270° clockwise and save a new copy without uploading. Process one PDF up to 50 MB; leave page numbers empty to rotate all pages.
How to use
- Choose your PDF: Drop one PDF onto the box or click to pick it. Files up to 50 MB are accepted, one at a time. Once the document has been read, its page count appears next to the file name so you know which numbers are valid.
- Pick a rotation angle: Pick Clockwise 90°, 180° or Clockwise 270° (counterclockwise 90°). These are the three rotation amounts available; each is added to the page’s existing angle.
- Say which pages, or leave the field empty: Type page numbers into Page numbers (leave empty for all pages), separated by commas, with a dash for a run: 1,3,5-7. An empty field rotates every page.
- Rotate and save: Click Rotate PDF, check the preview, then download rotated.pdf. On a phone, Save to device opens your share sheet when the browser supports sharing files, and falls back to a normal download when it doesn't.
How to rotate PDF pages and save the new orientation
Every PDF page carries its own rotation value, and that is the only thing this tool writes. Choose one PDF of up to 50 MB, pick 90°, 180° or 270° clockwise, then either leave the page field empty to turn the whole document or list the pages that need fixing. When you click Rotate PDF, each selected page gets a new angle and the document is saved again as rotated.pdf. Because the angle lives inside the page object, the new direction travels with the file: open the download in Acrobat, Chrome, Preview, a phone or a printer and it is already the right way up.
This tool saves the rotation in the downloaded PDF. If you only rotate the view in a reader, check whether that reader also saves the change to the file.
The angle adds to the direction the page already has
new angle = (angle already stored on the page + angle you pick) % 360 0° + 90° = 90° 90° + 90° = 180° 180° + 180° = 0° 270° + 90° = 0° counterclockwise 90° → pick Clockwise 270°
Picking 90° does not mean "make this page 90°" — it means "turn this page another 90° clockwise". The tool reads the angle each page already has, adds the one you chose and wraps at 360°. A scan that your scanner already saved at 90° becomes 180° if you turn it another 90°, and two runs of 180° bring a page back where it started. The same note appears under the angle buttons in the tool itself.
Each page is handled on its own, so a document whose pages are stored at 0°, 90° and 180° does not get flattened into one direction — after a 90° turn those pages read 90°, 180° and 270°. If a file is sideways in mixed ways, fix one group of pages, then run the result again for the next group.
There is no counterclockwise button because a PDF page only stores 0, 90, 180 or 270 degrees. Counterclockwise 90° is the same page as clockwise 270°, which is why that button is labelled Clockwise 270° (counterclockwise 90°). Angles outside those three — 45°, 1°, 0°, 360° or a negative −90° — are rejected rather than rounded, so you can't tilt a page slightly or straighten a crooked scan here.
There is also no undo. If you overshoot, keep going: a page at 270° that you wanted at 0° just needs one more 90°. Or start over from the original file, which is never modified — the bytes on your disk are only read, and the new angle is written to a fresh copy.
Rotating all pages or only the sideways ones
Leaving the Page numbers field empty rotates the whole document; that is the default and not an error. To fix a single page — the one landscape chart in a 40-page report, say — type just its number. Page numbers start at 1, commas separate single pages and a dash marks a run, so 1,3,5-7 means pages 1, 3, 5, 6 and 7. Repeats and order make no difference: 1,1 turns page 1 once rather than twice, and 2,1 does exactly what 1,2 does.
The page count shown beside the file name is the real count read from your document, and the field is checked against it. A number above the total, or a number absurdly large like 1-999999999, gets the message "Page numbers must be between 1 and 40" with your document's own total in it. Formats the parser can't read — a backwards range such as 7-5, a decimal like 1.5, a 0, or letters — get "Those page numbers aren't in a format we can read". If any one page number is invalid the whole run stops, so you never receive a half-rotated file.
One run uses one angle. You cannot turn page 1 by 90° and page 2 by 180° in the same pass; do it in two passes, feeding the downloaded file back in for the second one, and remember that the second angle adds to what the first pass left behind. There is also no thumbnail grid to click: this tool takes page numbers, so open the PDF in any reader first to see which page is sideways. Nothing is detected automatically either — there is no content analysis or OCR deciding which way is up, so the direction is always the one you choose.
If some of those pages shouldn't be in the document at all, Delete PDF Pages takes the same kind of page list.
What stays the same, and what this tool won't do
The page count and page order never change — rotating adds, removes and reorders nothing, so a 5-page file comes back as the same 5 pages in the same sequence. Page dimensions are untouched as well, because the rotation is an angle on the page and not a new layout: an A4 landscape page measuring 841.89 × 595.28 points still measures 841.89 × 595.28 points after a 90° turn, it simply displays the other way round. Nothing is cropped, scaled or moved to a different paper size.
Everything on the page survives: text and its embedded fonts, vector drawings and images at their original resolution, with no rasterizing and no re-compression anywhere in the process. Document properties such as title and author come through too, because the tool edits your document and saves it again rather than building an empty one. Bookmarks, attachments, form fields and internal links are never touched by any step in the code — there is no stage that rebuilds them — though our test suite doesn't cover them, so check a form-heavy file yourself before sending it on.
Scan resolution is therefore preserved, but the file size can still move a little, because pdf-lib writes the document structure out again. Across our test samples every file changed by less than 1.4 KB in either direction; an 825 KB image-heavy sample came out at 824 KB after all four pages were turned 90°.
Nothing is uploaded. The rotation code (the pdf-lib library, version 1.17.1) is downloaded with this page and runs inside your browser, so scanned contracts, payslips, passport copies and medical letters stay on your own computer or phone. The file and the result live only in the tab's memory: refresh or close the page and they are gone, and no copy is kept in storage or sent anywhere.
Some files are turned away up front. Password-protected PDFs are rejected with "This PDF is password-protected. Remove the password first, then try again." — the tool never asks for a password and never decrypts, so open the file in a reader with its password, save or print an unprotected copy, and rotate that. Damaged files or files that aren't really PDFs get "This file isn't a valid PDF or it is damaged." Anything over 50 MB and any non-PDF type is stopped at the drop box, and dropping several files at once rejects the whole batch instead of keeping the first one. Once a document is selected the drop box is gone, so to work on a different file, remove the current one with the ✕ beside its name first.
Finally, rotating is only rotating. There is no mirror or flip (left-to-right, top-to-bottom), no cropping, no resizing, no page thumbnails, no batch mode for several PDFs at once, and the output is always a PDF — never an image or a Word file, and never under a name you choose, since the download is always called rotated.pdf. The work runs on the main thread, so a long or very image-heavy document can leave the tab briefly unresponsive while the button reads Rotating…; that is the file being processed on your device, not a stalled upload.
Rotating is not compression, so if the file still has to fit an upload limit, run the result through Compress PDF afterwards.
Frequently asked questions
- Will the rotation stay after I close and reopen the PDF?
- Yes. The new angle is written into each page of the file you download, not into a viewer's display settings, so rotated.pdf opens the right way up in Acrobat, Chrome, Preview and on any phone. That is the difference from your reader's rotate button, which usually only turns the page on screen for the current session.
- How do I rotate a PDF 90 degrees counterclockwise?
- Pick the Clockwise 270° (counterclockwise 90°) button. A PDF page can only be stored at 0, 90, 180 or 270 degrees, so turning 90° counterclockwise and 270° clockwise produce exactly the same page. There is no separate counterclockwise control and no negative angle.
- How do I rotate only one page in a PDF?
- Type that page's number into Page numbers (leave empty for all pages) — just "3" to turn page 3. Page numbers start at 1, and the page count shown next to the file name tells you the highest number you can use. For several pages use commas and dashes, like 1,3,5-7.
- Why did my page end up at 180° when I only chose 90°?
- Because the angle is added to the direction the page already had. A scan can already be stored with a 90° rotation on the page, and another 90° adds up to 180°. Choose the angle that closes the gap instead: a page sitting at 270° needs one more 90° to reach 0°.
- Does rotating change the file size or the quality of my scans?
- Scan resolution is preserved, but file size can change when the PDF structure is rewritten. Pages are never re-drawn or re-compressed, so images keep their resolution and text stays selectable and searchable; only the page's angle and the document structure are rewritten. In our test samples the size moved by under 1.4 KB, with an 825 KB image-heavy file coming out at 824 KB.
- Is my file uploaded to a server?
- No. The PDF is read, rotated and saved inside your browser by code that was downloaded with this page, so the document never leaves your device. It lives only in the tab's memory: refresh or close the page and both the file and the result are gone.
- Can I rotate a password-protected PDF?
- No. Encrypted PDFs are recognised when the file is loaded and rejected, and the tool neither asks for a password nor removes one. Open the file in a PDF reader with its password, save or print it as a new unprotected PDF, then rotate that copy.
- Can I rotate different pages by different amounts in one go?
- Not in one run — each run applies a single angle. Rotate the first group, download rotated.pdf, then feed that file back in for the second group. Keep in mind that the second angle adds to whatever the first run left, so a page already turned 90° reaches 180° with another 90°.