Skip to content

Rotate PDF Pages

Drop a PDF, pick the pages and the angle. Nothing leaves your browser.

Rotating a PDF page is not re-rendering the page — it is flipping a metadata flag. Every page object in a PDF carries an optional `/Rotate` entry that tells a viewer or printer to rotate the page by a multiple of 90 degrees before displaying it; the underlying content stream (the text and graphics themselves) never changes. This tool reads each page’s current `/Rotate` value, adds your chosen angle to it, and writes the result back, so the operation is lossless and effectively instant even on large files — no pixels are touched. The whole process runs locally in your browser; the file is never uploaded.

Drop a PDF here, or

One PDF, up to 64 MB. Stays in your browser — nothing is uploaded.

How to use

  1. Drop your PDF

    Drag a PDF (up to 64 MB) onto the dropzone or click to choose one. The tool reads its pages locally and shows the file name, page count, and size.

  2. Choose which pages to rotate

    Pick “Rotate all pages” to apply the rotation to the whole document, or “Rotate a page range” and enter From and To page numbers — 1-based and inclusive, exactly as a PDF reader displays them.

  3. Pick the rotation angle

    Choose 90° clockwise, 180°, or 90° counter-clockwise. This is added to whatever rotation the pages already have, so rotating a page twice by 90° clockwise is the same as rotating it once by 180°.

  4. Rotate and download

    Click “Rotate and save.” The tool writes the new rotation into the PDF and gives you a single download button for the updated file.

Frequently asked questions

Does rotating re-render or re-compress the page?
No. Rotation only changes the page's `/Rotate` value in the PDF's page dictionary — a display instruction. The text, images, and vector graphics on the page are untouched, so there is no quality loss and the operation is effectively instant regardless of file size.
Can I rotate only some pages and leave the rest alone?
Yes. Switch to “Rotate a page range” and enter a From and To page number; only those pages are changed. This is useful for scanned batches where a handful of pages came through sideways or upside down while the rest are already correct.
Will the rotation survive if I open the file in Word or print it?
Yes, for any tool that reads the PDF spec correctly. `/Rotate` is part of the PDF standard (ISO 32000), so Word's PDF import, Preview, Adobe Reader, browser PDF viewers, and standard printer drivers all honor it. A very small number of non-compliant tools that ignore page rotation exist, but they are rare.
Is this actually lossless?
Yes. Because the tool never rasterizes or redraws the page — it only edits a numeric rotation field — the output page objects are byte-identical to the originals except for that one value. Text stays selectable and fonts stay embedded exactly as before.
Can I undo a rotation, or rotate a page back to normal?
Yes. Rotation here is additive and wraps at 360°, so rotating a page 90° clockwise and then 90° counter-clockwise returns it to its original orientation. If you already downloaded a rotated file and want to reverse it, just re-run the tool on that file with the opposite angle.
What happens to pages I don't select in range mode?
They are left completely untouched, including their existing `/Rotate` value if they already had one — for example from a previous edit or from how the page was originally authored.

About

What the /Rotate key actually is

Every /Page object in a PDF's page tree may carry a /Rotate integer entry — 0, 90, 180, or 270 (a positive multiple of 90). It specifies, in the words of the PDF spec, “the number of degrees by which the page shall be rotated clockwise when displayed or printed,” and it is inherited from a parent /Pages node if a leaf omits it. Because it lives in the page dictionary rather than the content stream, changing it never touches the drawing instructions, fonts, or images the page references. This tool reads each target page's current rotation (defaulting to 0 if unset), adds the delta the user chose, reduces the sum modulo 360, and writes that back with pdf-lib's `setRotation` — which replaces the value outright, which is why the delta has to be computed relative to whatever rotation already exists rather than assumed to start at zero.

When rotating a PDF is the right move

The everyday case is a scanned document fed through a sheet-fed scanner sideways or upside down: the scanner produces a technically valid PDF, but every page (or every other page, in a duplex misfeed) displays rotated 90° or 180° from how a reader expects to read it. Rather than re-scanning, a rotation fix corrects the display orientation in a fraction of a second per page. The other common case is a mixed-orientation document — a report with a few landscape tables dropped into an otherwise portrait file — where only those specific pages need a 90° correction so the whole document reads consistently when printed or viewed on screen.

Sources & references

Authoritative references behind the math, constants, and tables on this page. Verified by Buğra Sözeri on the dates shown and re-checked at every deploy.