Skip to content

Pdf Rotate API

Network tool
POST https://api.findutils.com/api/tools/pdf-rotate/execute

Rotate pages of a PDF by 90, 180 or 270 degrees clockwise, or the negative of those for anticlockwise. Rotation is added to whatever a page already carries, so rotating a page twice by 90 leaves it at 180. Omit the page list to rotate every page. Input and output are base64-encoded PDFs.

Request body

application/json
  • pdf

    string required

    The base64-encoded PDF to rotate.

  • degrees

    integer required

    Clockwise rotation to add: 90, 180, 270, or a negative for anticlockwise. One of 90 · 180 · 270 · -90 · -180 · -270.

  • pages

    string optional

    Pages to rotate, 1-based: "1,3,5-8". Default: every page.

Example arguments

Verified
{
  "pdf": "JVBERi0xLjcK",
  "degrees": 90
}