Rotate the pages of a PDF
Scanners and phone cameras often save pages sideways. This tool rewrites the rotation flag on the pages you choose, so the document opens the right way up everywhere — not just in the viewer you happened to fix it in. Nothing is re-rendered, so text stays selectable and the file size barely changes.
How to use the Rotate PDF
- Drop the PDF you want to straighten.
- Choose how far to turn the pages: 90° clockwise, 180°, or 90° anticlockwise.
- Leave the page box blank for the whole document, or type ranges such as 2, 5-9.
- Click Rotate PDF and download the corrected file.
What rotation actually changes
Every page in a PDF carries an optional /Rotate entry that tells the reader how many degrees clockwise to turn the page before displaying it. Only multiples of 90 are legal. This tool adds your chosen angle to whatever each page already has and normalises the result to 0, 90, 180 or 270 — so rotating a page that is already at 270° by 90° gives 0°, not 360°. The page content, fonts, images, links and form fields are never touched, which is why a 90 MB scan rotates in under a second and comes back the same size.
Why the rotation you applied in a reader disappears
Several desktop readers let you turn the view with a toolbar button but only save that as a view preference, or not at all. Send the file on and the recipient sees it sideways again. Writing the rotation into each page object, as this tool does, is permanent: printers, e-mail previews, mobile readers and document management systems all honour it.
Choosing the angle
| Symptom | Use |
|---|---|
| Text reads bottom-to-top (head on the left) | 90° clockwise |
| Text reads top-to-bottom (head on the right) | 90° anticlockwise |
| Page is upside down | 180° |
Rotating only some pages
Mixed documents are common: a portrait report with two landscape spreadsheets dropped in the middle. Type 7, 12-14 to correct only those. Ranges are inclusive and use the page numbers you see in your reader, counting from 1. An open-ended range such as 5- means "page 5 to the end".
Rotation and page size
A rotated A4 portrait page is still 595 × 842 points internally; the reader swaps the axes when it displays it. That matters if you later add page numbers or a watermark — our tools work in the visual space you see, so a number placed at the bottom-centre lands at the visual bottom-centre of a rotated page, not on its side.
Frequently asked questions
Does rotating a PDF reduce its quality?
No. Only a flag on each page changes; the images and text are copied unmodified, so there is no re-compression at all.
Can I rotate a single page only?
Yes. Type its number in the Pages box, for example 4. Separate several with commas.
Why did my PDF reader forget the rotation last time?
Most readers treat the rotate button as a temporary view setting. This tool writes the rotation into the file itself, so it survives sending, printing and re-opening.
Is the file uploaded to a server?
No. The PDF is read and rewritten inside your browser with pdf-lib; you can disconnect from the internet after the page loads and it still works.
Privacy
This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.
Last updated 2026-09-23.