Rotate PDF

Rotate PDF pages 90°, 180°, or 270° instantly. Select specific pages or rotate them all at once. 100% client-side — your files never leave your device.

100% Private

No upload

Instant

Browser processing

Flexible

Per-page control

Free

No watermark

Drop file here or click to upload

PDF files up to 100MB • Max 100MB

What Is a PDF Rotator?

A PDF rotator is a tool that changes the orientation of pages within a PDF document. Whether a scanned page came out sideways, a presentation slide needs to be flipped, or an entire document was exported in the wrong orientation, a PDF rotator corrects these issues without altering the content, quality, or structure of the document. Our free online PDF rotator processes everything in your browser — your files are never uploaded to any server.

How Does PDF Rotation Work?

PDF rotation works by modifying the /Rotate entry in the page dictionary of the PDF, as defined in the PDF specification (ISO 32000-2:2020). This is a metadata-level change — the actual content streams (text, images, vector graphics) remain untouched. The rotation value tells PDF viewers how to orient the page when displaying it.

The PDF Rotation Model

The PDF format supports four rotation values: (default, no rotation), 90° (quarter turn clockwise), 180° (half turn), and 270° (quarter turn counter-clockwise, or three-quarter turn clockwise). These are the only valid values per the PDF/A standard — arbitrary angles like 45° are not supported at the page level.

Worked Example

Consider a 10-page scanned document where pages 3, 5, and 7 were fed into the scanner in landscape orientation while the rest are in portrait. Using our tool, you would: (1) upload the PDF, (2) click the 90° CW button on pages 3, 5, and 7 individually, and (3) click Rotate. The result is a corrected document where all 10 pages display in the same portrait orientation — no re-scanning required.

Understanding Rotation Directions

90° Clockwise (CW): The top of the page moves to the right side. Use this when a page appears rotated 90° to the left (counter-clockwise). This is the most common correction for landscape-scanned pages.

180°: The page is flipped upside down. Use this when a page is completely inverted — text appears upside down. This often happens with double-sided scanning when the back side is fed incorrectly.

90° Counter-Clockwise (CCW) / 270° CW: The top of the page moves to the left side. Use this for pages that appear rotated 90° to the right (clockwise). Less common than CW rotation but needed for certain scanner configurations.

Common Scenarios for PDF Rotation

  • Scanned documents: Automatic document feeders (ADF) frequently produce pages in mixed orientations, especially when mixing letter and legal-size paper.
  • Mobile photos: PDFs created from phone camera captures often inherit the device's orientation metadata, resulting in sideways pages.
  • Merged documents: When combining PDFs from different sources, some pages may be in portrait while others are in landscape.
  • Presentation exports: PowerPoint-to-PDF exports sometimes rotate slides incorrectly, particularly when mixing slide orientations.
  • Architectural plans: Engineering and architectural drawings are often in landscape format and may need rotation for printing on portrait printers.

Rotate PDF vs. Re-Scanning

Re-scanning a document takes time, wastes paper, and risks damaging originals. PDF rotation is instantaneous, lossless, and non-destructive. The original document data is preserved bit-for-bit — only the orientation metadata changes. For organizations processing hundreds of scanned documents per day, this saves significant time and reduces operational costs.

Privacy and Security

Our PDF rotation tool uses the pdf-lib library to process your files entirely within your web browser. No file data is transmitted to our servers or any third-party service. Your PDF is read into your browser's memory, the rotation metadata is modified, and the resulting file is generated locally on your device. This makes our tool safe for rotating confidential legal documents, medical records, financial statements, and other sensitive files.

Technical Specifications

FeatureSpecification
Supported Angles90° CW, 180°, 270° CW (90° CCW)
Page SelectionAll pages or individual pages
Processing100% client-side (browser)
Quality LossNone (lossless metadata operation)
Max File Size~100 MB (device-dependent)
PDF StandardCompatible with PDF 1.0–2.0, PDF/A
PreservesText, images, annotations, bookmarks, links, form fields

Sources and References

  • ISO 32000-2:2020 — Document management — Portable document format — Part 2: PDF 2.0. International Organization for Standardization.
  • ISO 19005-4:2020 — Document management — Electronic document file format for long-term preservation — Part 4: Use of ISO 32000-2 (PDF/A-4).
  • Adobe Systems Inc. (2008). PDF Reference, Sixth Edition, version 1.7. Adobe Developer Connection.
  • pdf-lib — Open-source JavaScript library for creating and modifying PDF documents. github.com/Hopding/pdf-lib.

Frequently Asked Questions

Does rotating a PDF affect the text or image quality?
No. Rotating a PDF using our tool is a lossless operation — it modifies the page's orientation metadata without recompressing or resampling the content. Text remains searchable, images retain their original resolution, and all annotations, bookmarks, and hyperlinks are preserved exactly as they were before rotation.
Can I rotate only specific pages in my PDF?
Yes. After uploading your PDF, you can see a page preview with individual rotation controls for each page. Use the rotation buttons on any individual page to rotate it independently, or use the 'Rotate All' button to apply the same rotation to every page at once. This is especially useful for scanned documents where some pages were fed in the wrong orientation.
What rotation angles are supported?
Our tool supports three rotation angles: 90° clockwise (turns the page right), 180° (flips the page upside down), and 270° clockwise — which is equivalent to a 90° counter-clockwise rotation (turns the page left). These cover all standard page orientation corrections defined in the PDF/A specification (ISO 19005).
Are my PDF files uploaded to a server?
No. Our Rotate PDF tool processes your files entirely within your web browser using client-side JavaScript and the pdf-lib library. Your PDF never leaves your device — no data is transmitted to any server. This makes it ideal for confidential documents, legal contracts, medical records, or any sensitive files that should not be uploaded to third-party servers.
Is there a file size limit for rotating PDFs?
Because processing happens in your browser, the effective limit depends on your device's available memory (RAM). Most modern devices can handle PDFs up to 100 MB with no issues. For very large files (100+ pages with high-resolution images), performance may vary. We recommend using Google Chrome or Edge for the best performance with large PDFs.
Why do some scanned PDFs appear sideways or upside down?
This is a common issue with document scanners and multifunction printers. When pages are fed into the automatic document feeder (ADF) in the wrong orientation — or when a scanner does not properly detect page direction — the resulting PDF pages can be rotated 90° or 180° from their intended orientation. Our tool corrects this instantly without requiring you to re-scan the original documents.

Related Tools