PDF page rotation permanently changes the orientation of one or more pages in a PDF document by rotating them in 90-degree increments. Unlike zooming or panning, which only change how you view the document, page rotation modifies the page's rotation attribute so the new orientation is preserved in any PDF viewer, printer, or downstream application.
Every PDF page has a /Rotate entry in its page dictionary that stores the current rotation angle: 0, 90, 180, or 270 degrees. When a page is rotated, this value is updated. The width and height of the page effectively swap when rotated 90 or 270 degrees — a portrait A4 page (210 x 297 mm) becomes landscape (297 x 210 mm).
Example: A 5-page PDF where pages 1-3 are portrait and pages 4-5 are landscape. If you want all pages in portrait orientation, rotate pages 4-5 by 90 degrees. The tool lets you do this per-page with a visual preview.
Each click of the rotate button adds 90 degrees clockwise. Four clicks return the page to its original orientation.
| Clicks | Cumulative Angle | Effect | Dimensions |
|---|---|---|---|
| 0 | 0° | Original orientation | Unchanged |
| 1 | 90° clockwise | Portrait becomes landscape (or vice versa) | Width and height swap |
| 2 | 180° | Page is upside down | Width and height unchanged |
| 3 | 270° clockwise (90° counterclockwise) | Portrait becomes landscape (or vice versa) | Width and height swap |
| 4 | 360° = 0° | Back to original | Unchanged |
The tool also provides "Rotate All Left" (counterclockwise, subtracts 90°) and "Rotate All Right" (clockwise, adds 90°) for batch operations.
| Feature | Description |
|---|---|
| Visual thumbnail preview | Each page is rendered as a thumbnail using pdf.js, showing the current orientation in real time |
| Per-page rotation | Click the rotate button on any individual page to rotate it 90 degrees clockwise |
| Rotate All Left | Batch rotate every page 90 degrees counterclockwise |
| Rotate All Right | Batch rotate every page 90 degrees clockwise |
| Live CSS preview | Thumbnails update immediately via CSS transforms before processing |
| Independent rotation state | Each page tracks its own rotation angle (0/90/180/270) independently |
| Client-side processing | All rotation happens in your browser using pdf-lib and pdf.js. Files are never uploaded to any server |
| No registration | Use immediately, no account or email needed |
| Free | No cost, no watermarks, no file limits |
Drag and drop a PDF file onto the upload area, or click to browse your device. The tool accepts any .pdf file. Once uploaded, pdf.js renders a thumbnail for every page in the document.
The thumbnails appear in a scrollable grid. Each page shows its current orientation with a rotation preview.
For individual pages: Click the rotate button (circular arrow) below the page thumbnail. Each click rotates that page 90 degrees clockwise. Click multiple times for 180 or 270 degree rotation.
For all pages: Use the "Rotate All Left" button to rotate every page 90 degrees counterclockwise, or "Rotate All Right" to rotate every page 90 degrees clockwise. You can then fine-tune individual pages afterward.
The thumbnail previews update in real time so you can see exactly how each page will look before committing.
Click "Apply Rotations & Download". The tool applies all rotation changes to the PDF using pdf-lib and downloads the result as a new file. The original file is not modified.
Fixing scanned documents: Scanners often save pages in the wrong orientation, especially when documents are fed in landscape but the scanner defaults to portrait. Rotate the affected pages to their correct orientation.
Correcting phone camera PDFs: Photos taken with a phone camera and converted to PDF may have incorrect orientation metadata. Use the per-page rotation to fix individual pages without affecting others.
Preparing documents for printing: Print jobs may require all pages in a specific orientation (e.g., all portrait for duplex printing). Rotate landscape pages to match before sending to the printer.
Fixing mixed-orientation documents: When combining pages from different sources, some pages may be landscape while others are portrait. Rotate specific pages to create a uniform orientation throughout the document.
Correcting upside-down pages: Pages scanned from the back side of double-sided documents often appear upside down. A single 180-degree rotation (two clicks) fixes this.
Presentation handouts: Rotate slides that were exported in the wrong orientation to ensure they display correctly when shared or printed.
No data is transmitted to any server. No files are stored or logged. The PDF content remains on your device.
Upload your PDF, find the page you want to rotate in the thumbnail grid, and click the rotate button beneath it. Each click rotates the page 90 degrees clockwise. Click multiple times for 180 or 270 degree rotation.
Yes. Use the "Rotate All Left" or "Rotate All Right" buttons to rotate every page 90 degrees counterclockwise or clockwise simultaneously. You can then adjust individual pages as needed.
Yes. Rotating 90 or 270 degrees swaps the width and height of the page. A portrait A4 page (210 x 297 mm) becomes landscape (297 x 210 mm). Rotating 180 degrees keeps the same dimensions but flips the content upside down.
No. Rotating the view in a PDF reader only changes how the page appears on your screen temporarily. This tool modifies the page's rotation attribute permanently so the new orientation is preserved in any application.
Each click rotates the page 90 degrees clockwise. Two clicks give 180 degrees, three clicks give 270 degrees, and four clicks return to the original orientation.
No. The original file is never modified. The tool generates a new PDF with the rotations applied, and your source file remains unchanged.
Yes. Each page's rotation is tracked independently. You can rotate page 1 by 90 degrees, page 2 by 180 degrees, and leave page 3 unchanged.
The output is a standard PDF file, identical in format to the input but with updated page rotation values. It works in any PDF viewer, printer, or application.
All processing happens locally in your web browser using pdf-lib and pdf.js. Your PDF is never uploaded to any server. No data leaves your device.
Yes. Completely free with no registration, no watermarks, and no file limits.
Yes. The tool works in any modern web browser on desktop, tablet, or mobile. The thumbnail grid is responsive and adapts to screen size.
Page rotation only changes a single attribute value per page (the /Rotate entry in the page dictionary). No page content is re-rendered or re-encoded, so the file size remains essentially unchanged.
Yes. Use the "Rotate All Left" button for counterclockwise rotation. For individual pages, three clockwise clicks (270 degrees) produce the same result as one counterclockwise 90-degree rotation.