Rotate PDF — Fix Page Orientation
Rotate PDF pages 90°, 180°, 270° — one page or all. Fix upside-down or sideways pages.
Runs in your browser — nothing is uploaded. Verify it
About the Rotate PDF — Fix Page Orientation
Rotate PDF pages without re-rendering the document: the tool writes the page's orientation, so text stays selectable, images are not re-compressed and nothing changes except which way up the page is. The part most rotate tools get wrong is the starting point — a page that already carries a 90° rotation is treated as sideways, so turning it right writes 180° rather than snapping it back to 0. Every page shows a preview, one page can be turned on its own from the buttons on its card, and the untouched pages keep exactly the orientation they arrived with.
A sideways page is usually not a mistake in the PDF but a mistake in how it was made: a scanner that fed a sheet the wrong way, a phone photo appended to a document, a spreadsheet exported in landscape between portrait pages. The fix is one number per page, and it matters that it is only that number — a tool that re-renders the pages to rotate them silently re-compresses every image and can drop the text layer, which is exactly what you notice later when the document no longer searches.
How to use the Rotate PDF — Fix Page Orientation
- Add your PDF, or drop it in. Every page appears as a card with a preview, rendered only as you scroll to it.
- Click the pages you want to turn, then use Rotate left or Rotate right. A single page can be turned from the buttons on its own card.
- Download the corrected PDF — rotation and download happen in one step.
What a rotation actually changes inside the PDF
| Property | Before and after | Why it matters |
|---|---|---|
| Page rotation (/Rotate) | Written as 0, 90, 180 or 270. This is the only thing the tool changes. | It is a viewing instruction, so nothing is re-rendered. Text stays selectable and searchable, and images are not re-compressed. |
| Page dimensions (MediaBox) | Unchanged. The stored width and height stay as they were. | A viewer swaps the displayed width and height when /Rotate is 90 or 270, so a portrait page looks landscape — but the page box itself is untouched, which is why nothing needs re-laying out. |
| Starting point for a turn | The page's existing rotation, not zero. | A page already at 90° opens at 90°; turning it right writes 180°. Tools that assume zero snap it back to 0 and lose the original orientation. |
| Pages you did not touch | Written out exactly as they arrived, including a page that has no /Rotate entry at all. | No /Rotate 0 is invented for them, so a document with mixed orientations keeps every page as it was. |
| Unusual rotation values | Snapped to the nearest multiple of 90 when you rotate that page; left as-is if you do not. | A page carrying /Rotate 45 is not a valid rotation for most renderers, so the tool rounds it rather than failing — and does not touch it at all if you leave it alone. |
| Output name | {original-name}-rotated.pdf | The source file is never overwritten, and the name can be edited before you save. |
Because rotation is a page property rather than a re-render, the output stays close to the size of the input: measured on this page, a 9,375-byte three-page PDF with all three pages turned came back at 9,430 bytes — 55 bytes larger, which is the cost of writing the new rotation entries and nothing else. A rotate tool that returns a file dramatically smaller than the original has re-encoded your pages.
Frequently asked questions
How do I rotate a PDF page?
Open your PDF in the tool and every page appears as a card with a preview. Turn a page 90° at a time with the Rotate left and Rotate right buttons on its card, or select several pages and turn them together. Then click Rotate & Download. Rotation only changes page orientation — text and images stay intact.
Can I rotate just one page instead of the whole file?
Yes. Every page has its own Rotate left and Rotate right buttons, so one page can be turned on its own. To turn several at once, click the pages to select them — Shift-click selects a run of pages — and use the Rotate left and Rotate right buttons in the toolbar. Select all, or use Set all, to turn the whole document at once, and Set selected to give the selected pages one exact angle.
Are my files uploaded to a server?
No. All rotation runs in your browser with pdf-lib. Your file never leaves your device.
Does rotating the PDF change the text or images?
No. Rotation is stored as the page's orientation, so nothing is re-encoded, re-rendered or re-compressed. Text, images, fonts, links and image quality remain exactly as they were, just turned.
Can I make a landscape PDF portrait (or the other way)?
Yes. A 90-degree turn switches a page between portrait and landscape. Apply it to the pages you want and download the corrected file.
My PDF already has some pages rotated. Will this override that?
No. Each page opens showing the orientation it already has in the file, so a page stored as 90° appears as 90° and turning it right makes it 180°. Pages you do not change are written out exactly as they were, and Reset returns a page to the orientation it started with.
Can I rotate a password-protected PDF?
Yes, as long as it opens without asking you for a password. The rotated copy keeps the same protection, so you will still need the password to open the result. If a file prompts for a password to open at all, its pages cannot be previewed or rotated here — remove the password first.
Is there a page limit?
No hard limit. Page previews are rendered only as you scroll, so a long document stays responsive instead of loading every page up front. Very large files take a little longer to save.
Guides
- How to Rotate PDF Pages (Complete Guide)
Learn how to rotate PDF pages online. A practical guide to fixing upside-down and sideways pages in your PDF documents.
- Remove PDF Metadata and Prove It Is Really Gone
A cleaner can say "metadata-free" and still leave your name in the file. Here is how to check the produced bytes yourself, and the measured result of a tool that re-opens its own output before it lets you download it.
- How to Remove the Background From a PDF Page
Every converter on page one uploads your PDF, asks you to sign in, or paywalls the download. Here is how to strip the page background locally, what the output really is, and the numbers from a real 3-page run.
More PDF tools
- PDF CompressorCompress a PDF online for free. Images are re-encoded and scaled down; text stays sharp and selectable, and…
- Add Watermark to PDFWatermark a PDF in your browser. Stamp text across every page, including rotated and mixed-size pages. Free,…
- Add Page Numbers to PDFNumber the pages of a PDF in your browser. Nine positions, page ranges, your own text — no upload, no signup,…
- Image to PDFTurn JPG, PNG and WebP images into one PDF in your browser. Reorder pages, set page size and margins - free,…
- Crop PDFCrop PDF pages in your browser: drag a box, trim scans and margins per page. Nothing is uploaded.
- Remove PDF Page BackgroundStrip the background from every PDF page and download transparent PNGs — no upload, no signup.
- PDF to Text ExtractorExtract the text from a PDF in your browser, page by page, with no upload.
- PDF to Word ConverterTurn a PDF into an editable Word file in your browser, with no upload.