KitNelo · All tools · Blog
Documents & OCRPractical guides

How to rotate a sideways PDF: check whole-file and mixed page orientations

A PDF may look upright in a reader and return to a sideways view when reopened because you changed only the viewing state. A mixed document is trickier: fixing sideways body pages by rotating everything can make an upright cover incorrect. Identify the affected pages before processing.

KitNeloPublished 4 min read
Printed text on an open book
Illustrative photo: Finn Mund · Unsplash License

Quick answer

The current PDF tool adds the chosen 90, 180 or 270 degree rotation to every page and exports rotated.pdf. It has no page-range rotation control. Use it when all pages need the same adjustment; use a page-specific editor for a document with mixed directions.

Distinguish the reader view from the file

Keep the original PDF, close the reader and reopen it. Inspect the cover, middle and final pages. If another reader still shows sideways pages, a temporary viewing change has not fixed the file.

Record the total page count and affected pages. A landscape sheet with readable text may already be correct. The goal is a useful reading direction, not forcing every sheet into portrait layout.

Confirm that one angle suits every page

The implementation changes the page rotation property. PDF-LIB's setRotation documentation specifies multiples of 90 degrees. KitNelo adds your chosen value to the existing angle while preserving page order; it does not reflow text.

If you only need to send an affected excerpt, follow the PDF extraction and delivery guide, save the required pages separately and rotate that new file. Extraction does not automatically reinsert them at their original locations. Use page-specific editing when the full mixed document must retain its order.

Rotate a file whose pages all need the same change

  1. 1Open the PDF document tool, choose page rotation and upload one PDF that opens normally.
  2. 2Choose 90, 180 or 270 degrees. Use 180 for upside-down pages. For sideways pages, try 90 on a copy; if that is the wrong direction, return to the original PDF and choose 270.
  3. 3Run the operation and download rotated.pdf. Save it under an identifiable name so duplicate downloads do not obscure which copy you are checking.
  4. 4Close the preview and open the downloaded file in an independent reader. Check every page's direction, the page count and sequence, and the required text and figures.

Applying 90 degrees twice to the same output accumulates to 180 degrees. If an adjustment is wrong, return to the retained original instead of guessing the accumulated angle across several copies.

Do not rotate an entire mixed three-page document

This is an editorial decision example: page 1 is an upright cover, page 2 is sideways and page 3 is upright. Adding 90 degrees to the entire file changes all three pages. It cannot fix only page 2, so that file does not meet the tool's whole-document condition.

If all three pages are sideways in the same direction, a successful export should still contain three pages in the same sequence with readable content. Inspect every page rather than only the first thumbnail. Scanned inserts and foldout figures can differ from the rest of a document.

Check more than the first upright page

For scanned content, use the searchable-PDF OCR guide when you also need recognized text. Rotation fixes direction; OCR recognizes text, so inspect those results separately.

  • Text and figures: check that edges are not clipped and that labels and footers face the intended direction.
  • Saved file: reopen it in another reader rather than relying on the same window's view state.
  • Printing: preview a page. Correct reading direction does not establish correct paper, scaling or duplex binding settings.
  • Searchability: select and search existing text. Rotating a scanned image does not create a text layer.

Protected files and formal delivery

Processing runs locally in the browser and large documents can encounter device memory limits. Encrypted, damaged or unparseable PDFs may fail. The current operation does not crack passwords, reflow page content or provide precise cropping.

Keep the original before changing a formally signed document and verify the new file through its signing workflow. Do not assume that editing preserves signature validity, every interactive form or all reader behavior. Check the functions on which delivery depends.

Common questions

Can I enter one page number to rotate only that page?

The current rotation mode processes every page and has no page-range input. Extract a separate page when that is the only deliverable; use a page-specific editor to retain a complete document with mixed orientations.

Does rotation reformat landscape A4 into portrait A4?

No. It changes reading direction without reflowing text or tables or configuring print paper. Treat page size and content layout as separate requirements.

Why is the upright PDF still not searchable?

It may contain only scanned images without a text layer. Rotation does not perform OCR. Recognize the text separately and verify the result.

Further reading & sources

Put the guide into practice

Open the relevant tool, preview the result and check your exported file.

Related articles