Organize PDF pages
Rotate selected PDF pages
Rotate selected PDF pages by 90, 180, or 270 degrees, create a separate output document, and preserve the original browser-selected file.
Rotation summary
- Input
- PDF and page selection
- Output
- Rotated PDF
- Package
- OfficeIMO.Pdf
- Runs on
- Browser-local WebAssembly or .NET
- Microsoft Office
- Not required
- License
- MIT
Browser rotation accepts 90, 180, or 270 degrees and a one-based page expression.
Browse all PDF workflowsPractical steps
Rotate selected pages in a PDF copy
Resolve the selected pages, apply a supported clockwise rotation, and write a separate PDF.
- SelectChoose one PDF and enter pages such as 1,3-5,last.
- RotateChoose 90, 180, or 270 degrees.
- DownloadCreate the rotated PDF and review the resolved selector in the report.
Rotation updates the selected pages in a newly written document. It is intended for sideways scans, mixed-orientation packets, and deterministic publishing workflows.
Rotate from .NET
using OfficeIMO.Pdf;
PdfDocument source = PdfDocument.Load("scans.pdf");
PdfPageSelector pages = PdfPageSelector.Parse("1,3-5,last");
PdfDocument rotated = source.Pages.Rotate(90, pages);
File.WriteAllBytes("scans.rotated.pdf", rotated.ToBytes());
The browser report records the resolved selector, source and output page counts, and rotation angle. The source file is never overwritten.
Rotation is not page reflow
This operation changes page orientation metadata and page-space presentation. It does not reinterpret text, crop content, deskew scanned images, or rebuild the document layout. Image deskewing and OCR require different processing contracts.