PDF Rotate API, Rotate PDF Pages

Rotate PDF Pages by 90, 180 or 270 Degrees via API

Rotate PDF pages by exact degree values via REST API. Upload your PDF and specify a rotation of 90, 180, or 270 degrees as multipart/form-data. Perfect for correcting document orientation in automated document processing pipelines.

cURLPythonNode.jsn8n
# Rotate PDF pages by 90, 180, or 270 degrees
curl -X POST \
  https://api.convertfilefast.com/v2/pdf/rotate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@document.pdf" \
  -F "rotation=90" \
  --output rotated.pdf

# HTTP 200 OK — rotation values: 90, 180, 270 degrees
# 90 = clockwise quarter turn
# 180 = upside down
# 270 = counter-clockwise quarter turn
Conversion completed in <2s

Advantages

Why use our API?

Complete and reliable solution for integration in any tech stack.

Three Rotation Angles

Choose exactly 90 degrees (clockwise), 180 degrees (upside down), or 270 degrees (counter-clockwise) for precise orientation control.

All Pages at Once

Rotation is applied to all pages of the PDF in a single API call. Receive the fully rotated document in response.

Formatting Preserved

All text, images, and formatting are preserved during rotation. Only the page orientation changes.

Document Correction Pipelines

Fix incorrectly scanned or oriented documents automatically in document processing and OCR pipelines.

n8n Workflow Support

Rotate PDFs in n8n workflows triggered by email attachments, cloud storage uploads, or webhook events.

Zero Storage

PDF files are processed in memory and deleted immediately after rotation. Your documents are never stored on our servers.

Start Rotating PDFs via API

Get your API key and rotate PDF pages in seconds. Free plan includes 10 conversions per month.

No credit card. 10 free conversions on Free plan.