A scan where every page is on its side
Rotate all right Download PDF
One click turns all pages. If the text now reads upside down, use Rotate all right once more.
Turn a sideways page upright, or the whole document, and download a PDF that opens the right way up everywhere.
Last updated
Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.
A scanned page that comes out sideways is annoying, and turning it in your viewer rarely sticks: the next person who opens the file sees it sideways again. This tool changes the page rotation stored in the PDF itself, so the file opens the right way up in every viewer, on every device.
Click a page to turn it 90 degrees clockwise. Each page also has buttons to rotate left and right, and Rotate all left and Rotate all right turn every page together. The thumbnails show the result straight away. When they look right, click Download PDF: the file, named after yours with -rotated at the end, downloads right away.
The file is read and rewritten in your browser, so nothing is uploaded and nothing is added to the pages. No sign-up is needed. To also change the order of pages or remove some, use organize PDF pages.
Drop the file on the page or choose it. If it needs a password to open, type it when asked.
Click a page to turn it 90 degrees clockwise, or use the rotate left and right buttons under it. Click again to keep turning.
Rotate all left and Rotate all right apply to every page at once, which is handy for a scan that is all sideways.
The new PDF downloads right away, with the rotation saved in the file and -rotated.pdf at the end of its name. If your browser holds it back, click Download PDF again on the result.
How a page turns for each action.
| Action | Turn | Use it when |
|---|---|---|
| Click the page | 90 degrees clockwise | A page is a quarter turn off |
| Rotate right | 90 degrees clockwise | The top of the page points left |
| Rotate left | 90 degrees counterclockwise | The top of the page points right |
| Rotate right twice | 180 degrees | A page is upside down |
| Rotate all left or right | Every page by 90 degrees | The whole scan is sideways |
Rotate all right Download PDF
One click turns all pages. If the text now reads upside down, use Rotate all right once more.
Click page 6 once Download PDF
Only page 6 is turned, so the table reads comfortably and the other pages stay as they are.
from pypdf import PdfReader, PdfWriter
reader = PdfReader("scan.pdf")writer = PdfWriter()
for page in reader.pages: page.rotate(90) # clockwise, in multiples of 90 writer.add_page(page)
with open("scan-rotated.pdf", "wb") as f: writer.write(f)page.rotate(90) adds to the page rotation value, which is exactly what the tool does when you click a page.
Open the file, turn the pages you want and click Download PDF. The rotated file downloads right away, with the rotation stored in it.
Yes. The rotation is written into the PDF, so it shows the same way in other viewers, on phones and in print.
Yes. Click that page, or use its rotate buttons. The other pages stay as they are.
Yes. Use Rotate all left or Rotate all right, then click Download PDF.
No. Rotating runs in your browser, so the file never leaves your device and nothing is stored on a server.
No. Only the rotation value of each page changes, so text, images and vector drawings stay as they were.
Yes. If the file needs a password to open, the tool asks for it and opens the file once you type it. The password stays in your browser, and the saved PDF has no password.
-rotated added, for example scan-rotated.pdf.