Rotate PDF Online - Turn Pages 90°, 180°, or 270° Free
Fix sideways scans and landscape slides in your browser. No upload, no account - 50 MB max.
Upload PDF
Loading PDF tools...
Rotation Settings
Each click adds the angle to the current page rotation.
Result
No rotated PDF yet
Upload a PDF and click a rotation angle to get started
What Is a PDF Rotate Tool?
A PDF rotate tool fixes page orientation inside an existing PDF without re-scanning paper or re-exporting from Word. When a document arrives sideways - common with phone photos of whiteboards, landscape Excel exports, or mixed portrait/landscape appendices - rotation turns each affected page upright while leaving fonts, vectors, and embedded images untouched. This page uses pdf-lib loaded on demand in your browser. That library rewrites the PDF page dictionary rotation entry and transformation matrix. It does not rasterize content the way a screenshot workflow would, so text stays selectable and file size stays close to the original.
Rotation is not the same as cropping, compressing, or reordering. Cropping removes margins; compression re-encodes images; reordering moves page 5 before page 2 without changing how page 5 is displayed. Rotation only changes the viewing angle. If your problem is page sequence, use the PDF sort tool instead. If one wide table should become portrait through scaling rather than turning, you may need desktop layout software - this tool assumes quarter-turn fixes are enough.
PDF viewers honor rotation metadata universally: Adobe Acrobat, Chrome built-in viewer, macOS Preview, and mobile readers all respect 90° increments. Arbitrary angles like 17° are not part of the PDF spec for page boxes, which is why this interface exposes exactly 90°, 180°, and 270° clockwise buttons. Each click adds to the page current rotation modulo 360°, so repeated 90° clicks cycle through all four orientations. Page count comes from PDF.js via getPdfPageCount; optional thumbnails use the same library to render small previews so you can spot the sideways page before applying a fix.
How to Rotate PDF Pages - Step by Step
Most documents take under a minute from upload to download. Nothing leaves your browser.
- Upload your PDF - Drag and drop a PDF or click Choose PDF File.
validatePdfUploadchecks the MIME type and the 50 MB limit before pdf-lib loads. - Choose all pages or a page range - Select All pages for a uniform fix, or Page range and type indexes such as
2, 4-6. The page count from PDF.js confirms how many pages exist. - Click 90°, 180°, or 270° to rotate - Each button adds that clockwise angle to the selected pages. Processing completes locally in seconds for typical office documents.
- Download the rotated PDF - Click Download to save the new file. The original upload on your disk is untouched; you always get a separate output file.
PDF Rotation Worked Example - Before and After
Imagine a quarterly report exported from a design tool: cover and appendix are portrait, but page 2 is a landscape architecture diagram saved as a full page. In Chrome the text runs bottom-to-top. That is the classic single-page rotation case - not a whole-document fix.
Before
3-page report: page 2 is a landscape chart scanned sideways (90° off).
After
Page 2 rotated 90° clockwise; pages 1 and 3 unchanged. Text reads upright in any PDF viewer.
Steps on this page: upload the report, confirm three pages in the info panel, switch Pages to rotate to Page range, enter 2, click 90°, then Download. If the chart was upside down instead of sideways, one 180° click on page 2 fixes it. If every page in a phone scan batch is landscape, choose All pages and apply 90° once. The worked example deliberately leaves pages 1 and 3 alone to show selective rotation - the same workflow law firms use when only exhibit B was scanned wrong.
When You Need PDF Rotation - Real-World Use Cases
1. Fixing phone scans of receipts and invoices
Mobile scanning apps sometimes lock orientation incorrectly when you tilt the phone mid-capture. A 12-page expense PDF may have pages 4 and 9 rotated 90° while the rest are fine. Upload here, range-select those indexes, rotate 90°, and attach the corrected file to accounting - no rescan and no desktop Acrobat license required.
2. Correcting landscape slides embedded in portrait handouts
Professors often merge slide decks into reading packets. One landscape slide breaks printing margins. Rotate that single page 90° so duplex printing aligns with the rest of the chapter. Thumbnail previews help you identify the offending page number before you touch the range field.
3. Preparing mixed-orientation closing binders
Real-estate and legal closings combine portrait contracts with landscape site surveys. Reviewers expect every page to read normally in a tablet viewer. Batch-rotate all landscape pages 90° (or 270° depending on scan direction) before merging on PDF merge.
4. Flipping upside-down fax or copier output
Office copiers occasionally deliver every page inverted 180° when the feeder is loaded backward. Select All pages, click 180° once, download - faster than walking back to the machine. Quality stays lossless because pdf-lib never re-encodes the image streams.
5. Normalizing CAD and blueprint exports
Engineering PDFs exported from CAD tools often default to landscape while cover sheets stay portrait. Rotate only the drawing sheets so field crews can scroll consistently on phones. Pair with page numbers if the binder will be referenced in email threads.
6. Fixing e-ticket and boarding pass orientation before printing
Airlines and rail operators email narrow portrait PDFs that render sideways in some browsers. A quick 90° rotation before printing avoids cropped barcodes at the kiosk. The file is small, well under the 50 MB cap, and processing is instant.
7. Correcting scanned book chapters for e-readers
DIY digitization projects produce PDFs where alternating spreads rotate depending on whether the page was left or right in the binder. Use page ranges like 2, 4, 6-20 to rotate even pages only, then verify with thumbnails before downloading.
8. Preparing medical imaging summaries for patient portals
Clinics must keep PHI local when possible. Because this rotate tool never uploads files, staff can fix orientation on imaging summaries inside the browser on a locked-down workstation, then save to the internal share - rotation adds no cloud exposure beyond what your org already allows for local saves.
9. Adjusting orientation before splitting oversized archives
When a scanned archive exceeds 50 MB, rotate the misaligned pages first on the full file if it still fits, or split with PDF split, rotate each chunk, and merge. Fixing orientation before split keeps page indexes stable in your notes.
10. Teaching PDF literacy in document workflow workshops
Trainers use rotation to explain the difference between content, page order, and display angle. Students upload a two-page sample, rotate page 2, and compare against reordering on PDF sort - the contrast makes metadata concepts concrete without installing desktop software.
PDF Rotate vs PDF Organize vs PDF Sort
Choose the tool that matches the problem. Rotation fixes angle; organize/sort fixes sequence.
| Task | PDF Rotate (this page) | PDF Organize | PDF Sort |
|---|---|---|---|
| Turn sideways page upright | ✓ 90° / 180° / 270° | No - sequence only | No - sequence only |
| Move page 10 before page 2 | No | ✓ drag-and-drop | ✓ custom order |
| Reverse entire document | No | Sometimes | ✓ reverse mode |
| Selective page subset | ✓ page range | Varies by UI | Reorder all pages |
| Browser-only, no upload | ✓ pdf-lib | Depends on product | ✓ pdf-lib |
| Changes file size significantly | Rarely | Rarely | Rarely |
PDF Organize is a generic industry label for drag-and-drop page management. On DevOkk the closest sibling is PDF sort, which reorders pages without changing their orientation. Use rotate first when content is correct but tilted; use sort when order is wrong but orientation is fine. Many workflows need both tools in sequence.
Common PDF Rotation Errors and Honest Limits
These are the failures the UI surfaces on purpose, plus jobs this page will not pretend to do.
- Invalid upload. Non-PDF files and files over 50 MB are rejected by
validatePdfUploadbefore processing starts. - Empty page range. Typo ranges like
99on a 10-page doc yield zero pages; the tool asks for at least one valid index. - Encrypted PDFs. pdf-lib cannot load password-locked files without credentials. Decrypt locally first.
- Corrupt or truncated PDFs. If PDF.js cannot count pages, upload fails early with a readable toast instead of a silent blank result.
- Not cropping. Rotation does not trim white margins from scans. Use a dedicated crop tool or re-scan with better edge detection.
- Not scaling. Shrinking a wide table to fit portrait paper is layout reflow, not rotation. Export again from the source application when possible.
- Memory on huge files. Files near 50 MB may spike RAM during
pdfDoc.save(). Close other tabs if the browser warns about memory. - Incremental rotation is additive. Clicking 90° twice adds 180° total. There is no undo stack - keep the original file or re-upload if you overshoot.
- Form field appearance. Rotating pages with interactive forms usually works, but exotic XFA forms may look wrong in older viewers. Test in your target reader.
Privacy & Security - 100% Browser-Side Rotation
PDF rotation on this page runs entirely in your browser. pdf-lib and PDF.js load from the same origin as the app; your document bytes are never POSTed to an API, never written to server logs, and never indexed. That makes the tool suitable for contracts, medical records, and financial statements - subject to your own device security policies. Clear downloads from shared computers when finished.
We do not persist uploads in localStorage. Closing the tab discards in-memory state except any file you explicitly downloaded. No account means no cross-device history. If you need audit trails, keep versioned filenames on your side (for example report-v2-rotated.pdf).
Rotated PDFs download as a separate file - your original upload on disk is never overwritten. Recipients open the output in Chrome, Acrobat, or Preview and see corrected orientation without installing extensions. That workflow suits legal exhibits and medical scans where cloud rotation services would violate data-handling rules.
Frequently Asked Questions
What does rotating a PDF page do?
Rotating a PDF page changes its display orientation without re-scanning or re-exporting the source file. A page scanned sideways at 90° can be turned upright so text reads left-to-right. pdf-lib updates the page rotation metadata and transform matrix inside the PDF structure. Text, images, and vector content stay embedded at full quality - only the viewing angle changes.
Does this PDF rotate tool upload my file to a server?
No. Rotation runs entirely in your browser with pdf-lib and PDF.js loaded on demand. Your PDF bytes never leave your device. There is no account, no cloud queue, and no retention period because nothing is stored remotely.
Can I rotate only specific pages instead of the whole document?
Yes. Choose Page range and enter numbers like 1, 3-5, or 2, 4, 7. parsePageRange validates each index against the document page count. Pages you omit keep their original orientation. That is useful when one landscape chart sits inside an otherwise portrait report.
What rotation angles are supported?
This tool offers 90°, 180°, and 270° clockwise buttons. Each click adds that angle to the page current rotation (modulo 360°). Three clicks of 90° return a page to its starting orientation. There is no arbitrary free-angle dial because PDF viewers standardize on quarter-turn increments.
What is the maximum PDF file size?
Uploads are capped at 50 MB (MAX_PDF_BYTES). That limit keeps pdf-lib save operations and optional PDF.js thumbnail rendering responsive in typical desktop browsers. Split oversized archives on the PDF split tool first, rotate the pieces, then merge again if needed.
Will rotating pages reduce PDF quality?
No. Rotation is a structural transform, not a re-render. pdf-lib does not rasterize text or recompress images when you turn a page. File size may change slightly because the saved PDF is rewritten, but visual fidelity matches the original content.
Can I rotate password-protected PDFs?
Password-protected PDFs must be unlocked before pdf-lib can load them. This page does not include a password prompt. Remove protection locally in a desktop reader, or export an unencrypted copy, then upload it here.
How is rotating different from reordering pages?
Rotation changes how each page is displayed while keeping the same page sequence. Reordering moves pages to different positions without changing their orientation. Use this rotate tool for sideways scans; use PDF sort when page 3 should become page 1.
Does the tool work on mobile browsers?
Yes on modern mobile Chrome, Safari, and Firefox, though large PDFs near the 50 MB cap may feel slow on phones with limited RAM. Processing still stays on-device. For heavy documents, a desktop browser is more comfortable.
Is this PDF rotate tool free?
Yes. There is no registration, watermark, or daily quota. Rotate as many PDFs as you need as long as each file is under 50 MB and your browser can hold it in memory.
Related PDF Tools
Rotation is one step in a longer PDF workflow. These sibling tools stay on the same origin:
- PDF sort - reorder pages when sequence is wrong but orientation is already correct.
- PDF merge - combine rotated chapters into one deliverable.
- PDF split - divide oversized files before rotating near the 50 MB cap.
- PDF delete pages - remove blank or duplicate scans after fixing orientation.
- PDF page numbers - stamp folios once pages read upright.
- PDF compressor - shrink file size after rotation if email attachment limits bite.
- PDF to JPG - export rotated pages as images for slides or thumbnails.
- Image to PDF - rebuild a PDF from photos when rescans are easier than rotation.
Related Tools
Discover more free developer tools that might interest you.
PDF Compressor
Compress PDF files to reduce size
Use ToolPDF Split
Split PDF documents into multiple files
Use ToolPDF Merge
Merge multiple PDF files into one document
Use ToolPDF Delete Pages
Delete specific pages from PDF documents
Use ToolPDF Page Numbers
Add page numbers to PDF documents
Use ToolPDF Sort
Sort and rearrange pages in PDF documents
Use Tool