Rotate PDF Pages Online
Rotate one page, a range, or every page in a PDF by 90°, 180°, or 270° to fix sideways scans and photos taken in the wrong orientation. Preview the result and download the corrected file — the PDF is processed entirely in your browser and is never uploaded to a server.
Drag and drop a file here
or click to browse
One PDF
How to use Rotate PDF
- Open the PDF whose pages are sideways; pdf-lib loads it in-tab and lists how many pages it has.
- Pick the rotation amount: 90° clockwise, 180° (upside down), or 270° (90° counter-clockwise).
- Choose "All pages" to rotate everything, or "Specific pages" and list them (e.g. 1, 3, 5-7).
- Click "Rotate" — pdf-lib updates each page's rotation, adding to any rotation already present.
- The rotated PDF downloads automatically with a "-rotated" suffix; your original is untouched.
How to rotate pages in a PDF
Sideways and upside-down pages are one of the most common PDF annoyances — a scanner feeds a page the wrong way, a phone photo of a document lands rotated, or a landscape spreadsheet ends up in a portrait document. This tool fixes orientation cleanly and losslessly, either across the whole file or on just the pages that need it, without uploading anything.
How PDF rotation works
Every page in a PDF carries a rotation value — 0, 90, 180, or 270 degrees — that tells the viewer how to display it. This tool simply changes that value with pdf-lib; it never re-renders the page content. That is why rotation is instant and completely lossless: the text stays crisp, images stay sharp, and the file size barely moves. Your chosen angle is added to whatever rotation the page already had.
Rotate everything or just specific pages
Use All pages when an entire document came in sideways — for example a landscape report saved in portrait. Use Specific pages when only a few pages are wrong; enter them as a comma-separated list with ranges, such as 2, 4, 9-11. The tool validates your list against the real page count so you can't reference a page that doesn't exist.
When you'll reach for this
- Straightening scanned pages that the document feeder pulled in the wrong way.
- Turning a landscape chart or table upright within a portrait report.
- Fixing a phone-captured document page before sharing or printing it.
- Correcting one stray upside-down page (use 180°) without touching the rest.
A change too small to need a server
Rotation is the lightest edit a PDF can take: the tool loads the file, adjusts one rotation value per affected page, and re-serialises. No content is re-encoded, so there is nothing for a server to do that your browser cannot do instantly — which is exactly why this runs locally and a sideways scan of a passport or a signed form never has to leave your computer to be set straight.
If a viewer ignores the rotation
Standard-compliant viewers honour the rotation flag, but a handful of older tools display the page unrotated. When you need the orientation permanently fixed for every possible viewer, pass the file through the Compress PDF tool, which flattens each page into an image and bakes the rotation in — at the cost of selectable text.
Related PDF tools
- Compress PDF — bake rotation in permanently by rasterizing pages.
- Merge PDF — combine documents after fixing each one's orientation.
- Split PDF — pull out the page that needs rotating into its own file.
- Delete PDF Pages — remove a stray sideways scan entirely instead.
Frequently asked questions
Which way do the rotation options turn the page?
Can I rotate only some pages?
Does rotating re-encode or degrade the PDF?
Does the new rotation add to existing rotation?
Why does the page look correct in one viewer but not another?
Will rotation affect text selection or links?
Does the file get uploaded while it is rotated?
Related tools
More tools you might find useful in the same flow.
PDF Split
Free PDF splitter: extract specific pages, ranges, or split a PDF into separate files. Browser-based, no upload, no quota, no watermarks ever.
Delete PDF Pages
Delete pages from a PDF online: pick the pages you want removed and download the cleaned-up document in seconds. No upload — everything runs on your device.
PDF Merge
Free PDF merger: combine any number of PDFs into one file, drag to reorder pages, no signup. Files are processed locally — never uploaded to a server.
PDF Compress
Free PDF compressor: shrink PDFs for email or upload by re-encoding embedded images. Adjustable quality, instant preview, runs entirely in your browser.
Built by Muhammad Tahir · About