Rotate all or only some PDF pages

  1. Select one PDF in the PDF page rotation tool.
  2. Enter page numbers such as 1,3-5. Leave the field empty to rotate all pages.
  3. Select either Right 90°, Left 90°, or 180°.
  4. Click Save Rotate PDF and download the new PDF.
  5. Check which pages are selected and which are not selected in the PDF viewer.

Page numbers are counted from the first page of the file, including the cover. The chapter numbers may differ from those printed on the paper. Duplicate numbers are applied only once; non-existent numbers or reversed ranges such as 5-3 cannot be used.

How additional rotation works

Right 90° adds 90 degrees to the stored rotation and normalizes the result to 0, 90, 180, or 270 degrees. A page stored at 90 degrees becomes 180 degrees; a page stored at 270 degrees becomes 0 degrees. Left 90° is equivalent to right 270°. The pdf-lib setRotation API stores the angle it receives; this tool calculates the additional rotation.

For example, select 1,3 in a three-page document and choose Right 90°. Only pages 1 and 3 rotate; page 2 stays unchanged. To extract or reorder pages, use PDF Splitter and Page Extractor. Entering numbers in a different order does not reorder pages in this rotator.

Page rotation, image recompression, and deskewing

This tool changes the page rotation setting in pdf-lib. It does not render pages as photos or recompress them as JPEGs. Existing text is not converted to an image, but you should still check text search, display, and links in the saved file. Rotating a scanned page does not add searchable text.

The tool cannot deskew a scan tilted by 2 or 3 degrees. Image editing, cropping, and OCR require separate tools. Unlike a viewer’s temporary display rotation, this tool writes the rotation values to a new PDF.

Unsupported PDFs and checks after saving

The input limit is 20MiB and 150 pages, both inclusive; the output limit is 150MiB. Encrypted PDFs and documents with an AcroForm entry, including form or signature fields, are rejected. The tool does not accept passwords or preserve digital signatures. Special document structures and accessibility tags are not guaranteed to be preserved, so keep the original.

Files are processed within the browser. Interruptions during processing are applied at possible task boundaries, and reading/saving of large documents may not stop immediately. Open the resulting file to check the total number of pages, rotation direction, and whether text and images look as expected.

The page information table in save results shows only the original rotated pages. The existing and saved rotation values ​​are the angles stored in the PDF page and are not measurements of the tilt of the scanned image itself. For example, if you add 90 degrees left to a page that has an existing rotation value of 90 degrees, the stored rotation value is 0 degrees. Unselected pages and their overall order are maintained. Changing settings or files will also clear the previous results table.

Technical Notes: pdf-lib page rotation API.

Frequently Asked Questions

What happens if you rotate left 90 degrees twice?

Select the first output PDF as the next input, then apply Left 90° to the same pages to get a total rotation of 180 degrees from the original. Clicking Save twice while keeping the same original input does not accumulate rotation: each run starts from that input.

Does rotating the PDF reduce its size?

The size may vary during the process of re-saving files, but this is not a compression tool and does not guarantee any reduction in size.