You open a scanned document and half the pages are sideways. A spreadsheet exported to PDF is in landscape when you need portrait. A mobile scan came out upside down. These orientation problems are frustrating, but they are completely fixable — for free, in your browser, without any software — using Doclair's Rotate PDF tool.

Pages end up in the wrong orientation for several reasons: mobile scanning apps misread the device sensor, documents are photographed at an angle, spreadsheets are exported in landscape by default, or a PDF is assembled from pages of different orientations. Whatever caused it, rotation is a lossless fix that takes under a minute.

How to Rotate PDF Pages — Step by Step

Open doclair.in/rotate-pdf and follow these steps:

  1. Upload your PDF — drag it onto the tool or click to browse. Your file stays on your device throughout.
  2. Select pages — click individual page thumbnails to select specific pages, or use "Select All" to rotate the entire document at once.
  3. Choose rotation direction — 90° clockwise, 90° counter-clockwise, or 180°. A live preview updates immediately so you can confirm before saving.
  4. Apply and download — click Rotate, then download your corrected PDF. The rotation is written permanently into the file.
The rotation is saved into the PDF file itself — not just the viewer. Every app and device that opens your downloaded file will show the correct orientation without any additional steps.

Rotate All Pages vs Specific Pages

If every page in the document needs fixing, click "Select All" before applying rotation — it is faster than clicking each thumbnail individually. For mixed-orientation documents, hold Ctrl (or Cmd on Mac) while clicking to select a non-contiguous range of pages, then rotate just that selection.

A common scenario is a long report where the main text is portrait but embedded charts are landscape. In that case, you might want to rotate only the chart pages 90° so they are easier to read without tilting your head, while leaving the text pages untouched.

Permanent vs View-Only Rotation

Most PDF viewers let you rotate pages on screen, but that rotation is temporary — it resets the next time someone opens the file. Doclair writes the rotation permanently into the file structure using the PDF page dictionary's /Rotate key. The result is a proper, standards-compliant PDF that any viewer will display correctly.

When to Use Each Rotation Direction

Choosing the right rotation depends on how the page is currently oriented versus how you need it to appear:

RotationDegrees TurnedBest Used When
90° ClockwiseTurns rightPage is rotated 90° to the left — content appears on its left side
90° Counter-ClockwiseTurns leftPage is rotated 90° to the right — content appears on its right side
180°Flips upside downPage is completely inverted — upside-down scans from mobile apps

If you are unsure which direction to choose, use the live preview in the tool — it updates instantly so you can try both 90° options and pick whichever looks correct before downloading.

Fix Rotation in Scanned Documents

Scanned PDFs often have two problems at once: the page is rotated, and the text is not machine-readable because it is stored as an image. Rotating the page fixes the visual orientation, but if you also need to search, copy, or edit the text, you should run the file through OCR PDF after rotating. OCR converts the image-based text into real, selectable text while preserving the corrected orientation.

A practical workflow for a badly scanned multi-page document: rotate all pages to the correct orientation first, then run OCR to make the text searchable. Both tools work entirely in your browser with no file uploads.

Frequently Asked Questions

Yes. Unlike rotating in a PDF viewer — which only changes how the file looks on screen — Doclair writes the new orientation directly into the file. When you download and reopen the PDF, the pages will appear correctly rotated in any viewer, on any device.
Absolutely. Select only the page or pages you want to fix, choose your rotation direction, and apply. Pages you did not select remain untouched. This is useful for mixed-orientation documents where some pages are landscape and others are portrait.
Mobile scanning apps sometimes misread the orientation sensor, especially when scanning on a flat surface. The camera assumes you are holding the phone upright, but if the document is placed in a particular direction, the resulting scan ends up rotated 90° or 180°. A quick 180° rotation fixes this instantly.
No. PDF rotation is a lossless operation — it updates the rotation metadata stored in the file without re-encoding any image data. Your text remains sharp and your images are pixel-perfect after rotation.
You need to remove the password first. Use the Remove Password tool at doclair.in/remove-password, then rotate the pages, and re-apply encryption afterwards using the Encrypt PDF tool if needed.