Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. PDF Tools
  3. PDF Rotator
Add to favorites

PDF Rotator

Turn PDF pages, counting from the rotation they already carry

PDFs never leave your deviceMore pdf toolsJump to full guide

Initializing in your browser…

You might also like

PDF Signature Tool

Draw, type or upload a signature and place it on the page a reader sees, at a width you can state in inches, on one page or every page. Transparent, so it does not hide the line you are signing on.

PDF Merger

Join PDFs into one document, with a bookmark for each file

PDF Splitter

Split a PDF by page, by batch, or by range

PDF Rotator: a worked example

A scan arrived with /Rotate 90 on some pages and 180 on others, and every page needs one more quarter turn.

Input

scan.pdf · pages at 0, 90, 180, 270 · 90 clockwise, all pages
What PDF Rotator produces

Output

/Rotate 90, 180, 270, 0 · MediaBox unchanged at 612 x 792

The turn is composed with the rotation each page already carries, so pages that started at different angles all move by the same quarter rather than being flattened to one value. The previews turn by the difference, because pdf.js has already drawn each page at its own rotation, which is how a preview and a file end up disagreeing. Only one number in the page dictionary changes: nothing is redrawn, the text stays selectable and the paper size is exactly what it was.

Fix page orientation in seconds

Rotate pages by 90, 180 or 270 degrees, or set them upright. The tool reads what each page already carries and composes your turn with it, so a file whose pages arrived at different rotations comes out right rather than flattened to one value. Every page shows where it started and where it will end up, and the previews are turned by the difference rather than by the whole rotation, so what is on screen is what lands in the file. Nothing is redrawn: only the page's rotation entry changes, so the text stays selectable and the paper size is exactly what it was.

Working with your PDF

  1. 1Upload your PDF. Each page is drawn at the rotation it currently carries, and the counters say how many arrived rotated.
  2. 2Choose which pages: leave the box empty for all of them, or type 1, 3, 5-7, odd, even, first or last, or click pages.
  3. 3Press a turn: 90 clockwise, 90 anticlockwise, 180, or "Make upright" to set the rotation to zero.
  4. 4Check the previews and the per-page list, which reads "90 degrees clockwise to upside down" rather than a number.
  5. 5Press Rotate, then download.

Key features

  • Reads each page's existing rotation and composes your turn with it
  • Absolute "Make upright", which sets the rotation to zero
  • 90 clockwise, 90 anticlockwise and 180, on all pages or a named selection
  • Previews turned by the difference, so the screen and the file agree
  • A per-page list saying what each page was and what it becomes
  • The stored page size is never changed, because a rotation is a display instruction
  • Nothing is re-encoded, so the text stays selectable

Common scenarios

  • A sideways scan

    One page fed into the scanner the wrong way round: select it and turn it, or make it upright regardless of where it started.

  • A document that arrived rotated

    Some cameras and scanners write /Rotate 90 on every page. "Make upright" clears it in one press, on all pages at once.

  • Landscape tables in a portrait report

    Turn only the pages holding wide tables, named as a range, leaving everything else alone.

Tips & best practices

  • Turning a page four times by 90 returns it to exactly where it started, and the "will change" counter drops back to zero, because the counter compares against the file rather than against a session.
  • Use "Make upright" rather than counting turns when a scan came in sideways. It sets the rotation to zero, which is the only way to straighten a page whose starting rotation you did not choose.
  • Leave the page box empty to turn the whole document, or name pages: 1, 3, 5-7, odd, even, first, last. Anything that is not a page is reported rather than ignored.
  • Pictures are drawn for the first 200 pages; pages past that still rotate correctly and can be named in the box.
  • The stored page size never changes. A 90 rotated Letter page keeps its 612 by 792 MediaBox and simply displays landscape, which is what every viewer and every printer expects.

Examples

  • Fix one sideways scanned page

    Type its page number, or click it, and press 90 clockwise. Only that page's /Rotate entry changes; the rest of the document is untouched and nothing is re-encoded.

  • Straighten a document that arrived rotated

    On a file whose pages carry /Rotate 90, "Make upright" writes zero on all of them. Adding turns cannot do this: on such a file one "90 clockwise" correctly produces 180, not 90.

  • Turn the whole document

    Leave the page box empty and press a turn. Every page composes with its own starting rotation, so a document of mixed orientations comes out consistently turned rather than flattened to one value.

How it works

A PDF page carries a /Rotate entry, which ISO 32000-1 table 30 defines as the number of degrees the page shall be turned clockwise when it is displayed or printed. Rotating a PDF means writing that number. Nothing is redrawn and nothing is re-encoded, so the text stays selectable, the vectors stay sharp, and the stored page size does not change: a Letter page shown landscape still has a 612 by 792 MediaBox, and that is correct rather than a shortcut.

The number is ABSOLUTE, and that is the thing a rotator has to get right. A turn the user asks for is a change relative to where the page already is, so writing the turn straight into the entry is only correct on a page that started upright. This tool reads each page's existing rotation from the file first, composes your turn with it, and writes the result. The page shows you both: what each page arrived as, and what it will become.

That reading is also why "Make upright" exists. Zero is a legal rotation and is not the same as "no change", so a page that arrived sideways cannot be straightened by adding turns until it looks right, unless the tool knows where it started. Setting the rotation to zero is one button.

The previews are turned by the DIFFERENCE between where a page is and where it is going, not by the whole rotation, because pdf.js has already drawn each page at its own /Rotate. Getting that wrong is how a preview can show the right answer while the file gets the wrong one.

Frequently asked questions

Can I rotate just one page in a multi-page PDF?

Yes. Click that page, or type its number in the page box, and press a turn. Every other page is left exactly as it is.

My pages are already rotated. Will a 90 degree turn work correctly?

Yes, and this is the case a rotator most often gets wrong. The tool reads what each page already carries and adds your turn to it, so a page at 90 becomes 180 and a page at 270 becomes 0. The counters show what each page arrived as and what it will become.

How do I make a page upright when I do not know how it started?

Press "Make upright", which sets the rotation to zero rather than adding a turn. Counting turns until it looks right cannot be relied on, because zero is a real rotation value and not the same as "unchanged".

Does the page size change when I rotate?

No, and it should not. A rotation is a display instruction: the page keeps its stored MediaBox and a viewer turns it when it draws it. A 90 rotated US Letter page is still 612 by 792 points in the file and renders as 792 by 612 on screen.

Is the quality affected?

Not at all. Only one number in the page dictionary changes. Nothing is rendered, rasterised or re-encoded, so the text is still selectable and the vector graphics are still sharp at any zoom.

Related tools and how they differ

  • PDF Cropper: Trims margins off what a page shows by writing its CropBox; use it to cut whitespace rather than to change which way up a page is.

Private by design

PDF parsing and editing happen in your browser. Documents, and everything inside them, are never uploaded or stored remotely.