To rotate PDF pages permanently: open the file below, turn single pages with the ⟳ buttons under each thumbnail, or type a page spec (7, 1-3, 1-3, 5, odd, even, all) and apply 90° clockwise, counterclockwise, or 180° to that whole set, then download. Each press adds a quarter-turn to the pages' stored rotation — a 5-page file with "2-3, 5" turned 90° once comes out 0°, 90°, 90°, 0°, 90°. Nothing re-renders: text stays selectable, images stay sharp, and the change survives every viewer because it's written into the file, not your view of it.

Pages

Open a PDF to begin. The file never leaves your browser.
Ad

What Each Rotation Value Means

Stored valueHow the page displaysTypical cause
0°Upright, as authoredNormal portrait page
90°Quarter-turn clockwiseLandscape table; scan fed sideways
180°Upside downPage fed reversed through a feeder
270°Quarter-turn counterclockwiseThree presses, or the other landscape direction

Values accumulate: pressing 90° CW on a page already at 270° wraps to 0°. The download stores each page's final angle.

Page Spec Cheat Sheet

You typeOn an 8-page PDF it selectsUse it for
all1 2 3 4 5 6 7 8Whole document turned the wrong way
odd1 3 5 7Duplex scan, fronts sideways
even2 4 6 8Duplex scan, backs sideways
2-52 3 4 5A run of landscape pages
1-3, 71 2 3 7Mixed pages
7-44 5 6 7Reversed ranges flip automatically

How Permanent Rotation Works

Every page in a PDF carries a rotation value — one of 0, 90, 180, or 270 — that tells viewers how far to turn the page's content when displaying and printing it. Your PDF reader's rotate button changes a session view and discards it on close; a permanent fix writes a new value into the file itself. That's the whole trick, and it's why rotation is the safest edit in PDF-land: the content stream is never touched, so text stays selectable, images keep their exact pixels, and the file size moves only a few percent either way (measured below).

This tool renders thumbnails with pdf.js so you can see which pages are sideways, tracks each page's extra turns, and writes the final angles with pdf-lib on download. Pages you never touch keep their original stored value exactly.

A worked example

A 5-page scanned contract comes in with pages 2, 3, and 5 sideways. Open it, type 2-3, 5, press ⟳ 90° CW once, and the pages' stored values go from 0, 0, 0, 0, 0 to 0, 90, 90, 0, 90. If page 3 was actually authored already rotated (stored 90) and you add another quarter-turn, it lands at 180 — one press of ⟲ on its card walks it back to 90. A duplex-scan job where every even page is sideways is the two-click case: type even, press ⟳ once, download. The math is plain modulo-360 addition, which is exactly what the exporter writes per page.

What Happens to the Rest of the File?

Rotation itself is a single number per page, but the download is a re-saved copy of the whole document. We ran the same library this page uses, pdf-lib, over 30 real PDFs from our own files: reports, manuals, brand books and research papers. We turned page 1 a quarter-turn and saved. Here's a sample of what happened to file size:

DocumentOriginal sizeSize change after rotating
1-page letter43 KB+1.6%
12-page text report154 KB+4.4%
49-page spec with bookmarks228 KB+21.2%
47-page research paper3.2 MB0.0%
48-page product manual4.3 MB−0.7%
148-page brand guide with a form5.0 MB+3.2%

Across all 30 the change ran from −1.3% to +21.2%, with a median of +3.5%. Small text-only files moved the most in percentage terms. Big image-heavy files barely moved, because the images are copied as they are. If you're right at an email limit, the PDF compressor will claw back more than rotation adds.

What's kept and what isn't

Because the tool opens your file, changes the rotation values and saves the same document, almost everything else rides along. We checked each item on the re-saved files:

Part of the PDFAfter rotatingWhy
TextKept, still selectable and searchablePage content is never redrawn
ImagesKept, pixel for pixelNo recompression
BookmarksKept on all 21 files that had themSame document re-saved, not rebuilt
Form fieldsKept (tested on a 148-page file with a form)Fields turn with their page
Links and commentsKeptThey belong to the page
Untouched pagesExact original rotation valueOnly pages you turned are rewritten
Password-protected PDFsDownload fails with an "encrypted" errorRemove the password first, then rotate

That last row catches people out. If the file only has a permissions password, the thumbnails still appear and you can turn pages, but the save step refuses to write an encrypted document. A file that needs a password just to open won't load at all. If it's your file and you know the password, remove it with the PDF password tool, rotate, and add the password back afterwards.

Landscape pages versus rotated pages

A PDF page can be landscape in two ways. It can simply be wider than it is tall, which is how most spreadsheets and slide decks export. Or it can be a portrait page with a rotation of 90 or 270, which is how many scanners store a sideways sheet. Both look the same on screen, which is why one file can hold a mix of stored values. When a page is upright on screen, it's right, whatever its stored number. The thumbnails show each page as viewers will display it, so trust the picture, not the number, and turn only what looks wrong.

If what you actually need is to move pages around or drop a few, Organize PDF does rotation, reordering and deletion in one pass. To pull the pages out into their own file, use Extract PDF Pages.

Frequently Asked Questions

Why doesn't the rotate button in my PDF viewer stick?

Most viewers rotate your view of the page for that session only and throw the setting away when the file closes. A permanent rotation has to change the page's stored rotation value inside the file — which is what this tool writes — so every viewer, printer, and phone honors the turn from then on.

Does rotating a page re-render it or hurt quality?

No. Rotation is stored as a number on the page object — 0, 90, 180, or 270 — and viewers simply display the same content turned. Nothing is re-rendered, nothing is recompressed: text stays selectable, images stay pixel-identical, and file size barely moves. Across 30 real PDFs we tested, the median change was +3.5%, from re-saving the file rather than redrawing anything.

How do I rotate only some pages in a PDF?

Type a page spec: single pages (7), ranges (1-3), or a mix (1-3, 5), plus the shortcuts all, odd, and even for duplex scans. Each rotate press adds another quarter-turn to exactly those pages, so a page already at 90 that gets another 90 lands at 180.

How do I fix a duplex scan where every other page is sideways?

Use the odd or even shortcut. Two-sided documents fed through a sheet feeder often scan one side rotated, so selecting odd (or even) and applying a single 90-degree turn fixes the whole file in two clicks — then reset and try the other parity if the first guess was wrong.

Will rotating pages break anything else in the document?

Rotation is one of the safest edits possible: the page contents, links, and form fields are untouched. Bookmarks keep pointing at the same pages. The only thing to check is landscape tables that were already rotated by the author — they may now double-turn past upright.

What's the difference between rotating pages and saving with a viewer?

A viewer's File > Save after a view-rotation either discards the rotation or, in some apps, prompts to save pages — inconsistently across apps. A dedicated rotation tool writes the intended final angle for each page and hands you a clean download, which is why print shops ask for it rather than trusting viewer saves.

Does rotating a PDF make the file bigger?

Only slightly. The rotation value itself is a few bytes, but the download is a re-saved copy of the whole file. In our test of 30 real PDFs the size changed by −1.3% to +21.2%, with a median of +3.5%.

Can I rotate a password-protected PDF?

Not directly. The page previews load, but the download fails because the tool can't write an encrypted file. Remove the password with a PDF password tool (you'll need to know it), rotate the pages, then protect the file again.