PDF Rotate

Rotate PDF pages by specified degrees (90°, 180°, 270°)

Rotate pages in a PDF document by specified angles.

Features:

  • Rotate all pages or specific page ranges
  • Support for 90°, 180°, and 270° rotation
  • Clockwise rotation (positive angles)
  • Preserve all other PDF properties

Common Use Cases:

  • Fix scanned documents with incorrect orientation
  • Rotate landscape pages to portrait
  • Correct upside-down pages

Example Results

2 examples

Rotate All Pages 90 Degrees

Rotates all pages in a PDF 90 degrees clockwise

pdf_rotated.pdf View File
View input parameters
{ "sourceFile": "/public/samples/pdf/sample.pdf", "angle": "90", "pageRange": "" }

Rotate Specific Pages 180 Degrees

Rotates only pages 1-3 and 5 by 180 degrees

pdf_rotated.pdf View File
View input parameters
{ "sourceFile": "/public/samples/pdf/sample.pdf", "angle": "180", "pageRange": "1-3,5" }

Click to upload file or drag and drop file here

Maximum file size: 100MB Supported formats: application/pdf

Specify pages to rotate (e.g., 1-3,5,7-9). Leave blank to rotate all pages.

Key Facts

Category
Documents & PDF
Input Types
file, select, text
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

The PDF Rotate tool allows you to quickly adjust the orientation of your PDF documents by rotating pages 90, 180, or 270 degrees clockwise. Whether you need to fix upside-down scans, change landscape pages to portrait, or target specific page ranges, this utility processes your files while preserving all original PDF properties.

When to Use

  • When scanned documents or digitized receipts are saved sideways or upside down.
  • When you need to align landscape-oriented presentation slides with portrait-oriented report pages.
  • When only specific pages within a multi-page PDF document require orientation correction.

How It Works

  • Upload the PDF document you want to modify using the file selector.
  • Select the desired rotation angle: 90° clockwise, 180°, or 270° clockwise.
  • Specify the page range (e.g., '1-3,5') if you only want to rotate certain pages, or leave it blank to rotate the entire document.
  • Click the process button to apply the rotation and download your updated PDF file.

Use Cases

Correcting the orientation of sideways-scanned contracts or invoices.
Flipping upside-down pages in digitized books or manuals.
Standardizing page orientation in mixed landscape and portrait reports.

Examples

1. Correcting Sideways Scans

Office Administrator
Background
An administrator scanned a batch of contracts, but pages 2 and 4 were fed sideways into the scanner.
Problem
The sideways pages make the document difficult to read and archive properly.
How to Use
Upload the scanned PDF, select '90° clockwise' as the rotation angle, and enter '2,4' in the page range field.
Example Config
angle: 90, pageRange: 2,4
Outcome
A corrected PDF where pages 2 and 4 are rotated 90 degrees clockwise to match the portrait orientation of the rest of the document.

2. Flipping Upside-Down Pages

Student
Background
A student downloaded a lecture slide deck in PDF format, but all pages are upside down.
Problem
Reading the slides requires rotating the physical screen or head constantly.
How to Use
Upload the PDF file, choose '180°' as the rotation angle, and leave the page range blank to apply it to all pages.
Example Config
angle: 180, pageRange:
Outcome
A new PDF file with all pages rotated 180 degrees, making the document fully readable.

Try with Samples

pdf, file

Related Hubs

FAQ

Can I rotate only specific pages instead of the whole PDF?

Yes, you can enter a page range (such as '1-3,5') to rotate only those selected pages.

What rotation angles are supported?

The tool supports 90° clockwise, 180°, and 270° clockwise (which is equivalent to 90° counter-clockwise) rotations.

Will rotating the pages affect the text quality or links in my PDF?

No, the tool preserves all original PDF properties, including text formatting, links, and metadata.

How do I rotate pages counter-clockwise?

To rotate pages 90° counter-clockwise, select the 270° clockwise option.

Is there a file size limit for the uploaded PDF?

Yes, the tool supports PDF files up to 100 MB in size.

API Documentation

Request Endpoint

POST /en/api/tools/pdf-rotate

Request Parameters

Parameter Name Type Required Description
sourceFile file (Upload required) Yes -
angle select Yes -
pageRange text No Specify pages to rotate (e.g., 1-3,5,7-9). Leave blank to rotate all pages.

File type parameters need to be uploaded first via POST /upload/pdf-rotate to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-pdf-rotate": {
      "name": "pdf-rotate",
      "description": "Rotate PDF pages by specified degrees (90°, 180°, 270°)",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-rotate",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]