Skip to content

Rotate PDF Pages

Fix sideways scans without re-rendering the document. Rotation is metadata-only — the bytes underneath do not change.

In your browseryour files never leave your device.

Learn more

Files never leave your browser. Rotation only changes page-orientation metadata — content streams are untouched (no quality loss).

About this tool

Half the scanned PDFs in the world have at least one page rotated the wrong way, usually because someone fed the document into the scanner sideways or held the phone upside down. This page rotates either every page by the same angle, or only the specific pages you list (try "1-3, 5"), by 90, 180, or 270 degrees clockwise. Rotation is lossless: the underlying content is untouched, and only the page rotation flag in the PDF dictionary is updated. The file size after rotation is essentially identical to the original. Runs in your browser using pdf-lib, no upload, takes about a second even on 200-page documents because no rendering happens. The how-to and FAQ below cover the per-page mode, what happens with mixed-orientation source PDFs, and why no online tool offers true page mirroring.

How to rotate pdf pages

  1. Drop in your PDF

    Single file. The page reads the page count immediately so you can confirm what you uploaded and know the valid range for specific-pages mode.

  2. Pick an angle

    90, 180, or 270 degrees clockwise. 90 is what you want for a sideways scan; 180 for upside-down; 270 for sideways the other way. PDF rotation is always in 90-degree increments — arbitrary angles need a different tool.

  3. Pick a scope

    "All pages" rotates every page by the same angle. "Specific pages" takes a range like "1-3, 5, 8" — only those pages get rotated, the rest stay put.

  4. Click Rotate and download

    Output is a new PDF with the rotation flag updated. File size is within a few percent of the original because no content is re-rendered.

Features

Per-page or all-pages rotation

Pick "All pages" for the common case (one bad scan, every page sideways). Pick "Specific pages" and type something like "1, 3-5, 9" when only certain pages are wrong. This is the feature most online rotate tools skip — they only do all-or-nothing, forcing you to split, rotate, merge separately. Having the per-page mode here means a one-step fix for the typical scanner mishap where two or three pages out of fifty came out the wrong way.

Truly lossless

PDFs store page rotation as metadata in the page dictionary, not as actual transformed pixels. This tool flips that metadata flag and re-saves the PDF — no rasterization, no re-encoding, no quality loss. Text stays selectable, vector graphics stay sharp, file size barely changes. Some online rotators secretly re-rasterize to "normalize" the output, which makes text fuzzy and balloons file sizes. This one does not.

Reads page count up front

As soon as you drop in the file, the tool parses the structure and shows the page count. Two benefits: you confirm the right file uploaded, and you know the valid range for the "specific pages" field. So you do not type "1-100" on a 30-page document and get a cryptic error. If the input is encrypted, the parser flags it at this step before you waste time picking settings.

In-browser, no upload

Rotation runs through pdf-lib in your browser. The PDF never touches a server. This matters less for rotation than for compression (since rotation just shuffles metadata bits and the content never leaves the document) but the local execution model means the page works offline once loaded, there is no rate-limit, no queue, no daily cap. For documents you cannot upload (NDA-bound, regulated content), local rotation is the only safe option.

Frequently asked questions

Can I rotate only some pages and not others?
Yes — pick "Specific pages" and type the page numbers or ranges, like "1-3, 5, 8-10". Only those pages get rotated; everything else stays exactly as it was. This is the fix you want when one or two pages in a long scan came out sideways and you do not want to mess with the rest. The range syntax matches the split tool, so once you learn one you know both.
Will the file size change?
Only by a tiny amount. pdf-lib rewrites the PDF structure during save and some object streams get re-compressed slightly differently, but the content streams (the actual page graphics) are untouched. Expect file size deltas under 5%. If you see a big size change, something else is going on — probably the source had inefficient encoding that pdf-lib cleaned up as a side effect, which is harmless but worth noting.
Does this re-render or rasterize my PDF?
No. Rotation in PDF is a metadata operation — the page dictionary has a /Rotate entry, and this tool just updates that entry. The page contents (text, vectors, embedded images) are copied through verbatim. So selectable text stays selectable, fonts stay embedded, and there is no quality loss. Compare with the compress tool, which does rasterize, and you will see the difference: rotated output looks identical to the source at any zoom level.
What about flipping (mirroring)?
Not supported here. Mirroring a page (horizontal flip, like a mirror image) is not a standard PDF rotation — it requires re-rendering each page with a transformation matrix, which is a different operation and lossy. For most use cases (sideways scans, upside-down photos), pure 90/180/270 rotation is what you need. If you genuinely need mirroring (which is rare), you would have to rasterize the PDF to images with the PDF-to-JPG tool, flip them in an image editor, and rebuild the PDF with the JPG-to-PDF tool.
Are encrypted PDFs supported?
You need to unlock them first with the PDF unlock tool. The rotate tool refuses to operate on encrypted files because handling the password input here would conflate two security concerns. Unlock, rotate, optionally re-protect — three steps but each one is one click. All three tools run in your browser so the password stays on your device.