Rotate PDF pages
pdf_rotateRotate selected PDF pages by 90, 180, or 270 degrees clockwise on top of existing rotation, leaving other pages, links, and form fields unchanged.
Instructions
Rotate selected pages of a PDF by 90, 180 or 270 degrees clockwise (-90 = counter-clockwise), on top of any rotation they already have. Other pages, links and form fields are left as they are. Web version: https://s3eidat.github.io/pdf-organizer/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The PDF: a local file path (absolute, or relative to the server's --root) or base64 data (raw or a data: URI). | |
| angle | Yes | Clockwise degrees: 90, 180, 270, or -90. | |
| pages | No | Pages to rotate: 1-based list like "1-3, 5, 8-" ("5-" = to the end, "-3" = first three, "3-1" = reversed). Also "all", "odd", "even", "last". Empty = all pages. | |
| output | No | Where to write the result: a file path, or a folder ending in "/". Default: the server output folder (a temp folder unless --out-dir is set). | |
| returnBase64 | No | Also return the output as base64 in the result (only for small files). Default false. |