Rotate PDF pages
rotate_pdfRotate all or selected PDF pages clockwise by 90, 180, or 270 degrees and save the result as a new PDF without altering the original.
Instructions
Rotate all pages, or only the listed ones, clockwise by 90, 180 or 270 degrees, and save the rotation permanently in a new PDF. The input is not modified and an existing file is never overwritten; returns the new path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to the PDF. | |
| pages | No | Pages to rotate, for example "1, 3-4". Default: every page. | |
| output | No | Where to write the result. Defaults to a new file beside the input. Existing files are never overwritten; a free name like file-1.pdf is used instead. | |
| degrees | Yes | Clockwise rotation to add. | |
| password | No | Password for a PDF that asks for one when opened. Used only on this machine. |