Skip to main content

Organize

Rotate PDF pages

Fix the orientation of a PDF document or individual pages. Choose to rotate all pages at once or specify page numbers to target. Rotation is applied in addition to any existing rotation stored in the file.

Runs in your browserPrivate by designPDF only

Drop your PDF here

or click to browse

Processed entirely in your browser — files stay on your device

How this tool handles files

Processing
In your browser, on-device
Storage
Nothing stored
Output
A file you download
Your responsibility
Review before official use
  • Runs in your browser. Your file is processed on your own device and, on this site, is not uploaded to our servers.
  • Nothing is stored. Your file and its output are gone the moment you close or reload the page.
  • Review sensitive files (bank, ID, medical) and check the output before sharing it.

Every tool on FormatOS runs in your browser. Read our Privacy Policy and File Handling Policy.

Common uses

  • Fix a scanned document that is upside down
  • Rotate a landscape page to portrait for printing
  • Correct the orientation of a specific page in a long document

Limitations

  • Rotation is applied in 90° increments only.
  • Encrypted PDFs cannot be rotated.
  • Rotation is applied via each page's rotation attribute, so the page displays turned; the underlying page content is not re-rendered.

Input

One PDF file. Must be a valid, unencrypted PDF.

Output

The same PDF with the selected pages rotated.

Straightening scans and sideways pages

This tool fixes orientation problems that show up after scanning or merging files: a contract that imported upside down, a spreadsheet exported in landscape that needs to read as portrait, or a single inserted page that faces the wrong way in an otherwise correct document. You pick a rotation amount and choose whether it applies to the whole file or just specific pages, then download the corrected PDF.

Rotation is offered in fixed quarter turns only: 90, 180, or 270 degrees. There is no free-angle option, so this is for correcting orientation, not for nudging a slightly skewed scan back to level. If a page came in tilted by a few degrees, a quarter turn will not fix that.

Because each turn is a quarter of a circle, you can reach any of the four orientations by combining what you apply now with what is already on the page. Choose 90 to turn clockwise, 270 to turn counter-clockwise, and 180 to flip a page that is fully upside down.

Why custom page entry must be exact

When you switch the scope to custom, you type page numbers separated by commas, or ranges with a hyphen, such as 1, 3, 5-7. The tool reads this list and rotates only those pages. Single pages and ranges can be mixed in the same entry.

Be precise here, because the parsing is strict and the failure is silent. If any number falls outside the document's page count, or the text is malformed in any way, the entire custom selection is discarded with no warning, and the tool falls back to rotating every page instead. There is no error message telling you this happened.

To avoid an unwanted full-document rotation, enter only page numbers that exist in your file, double-check the range bounds, and then open the result to confirm that only the pages you intended were turned. If the whole document came out rotated when you wanted a few pages, a typo or an out-of-range number in your selection is the likely cause.

How the rotation is stored and what stays private

The rotation is additive. The tool reads each target page's existing rotation, adds your chosen amount, and wraps the total at 360 degrees. So applying 90 to a page already stored at 270 lands it back at 0. If a page already carries an unexpected baseline rotation, account for that when choosing your amount.

Your selection is written as the page's rotation flag rather than by redrawing the page, so the underlying content is not rasterized. Text stays selectable and searchable, images keep their quality, and the file size barely changes compared with the original.

Everything runs in your browser using the pdf-lib library; the PDF is not uploaded to a server. Password-protected or encrypted PDFs are rejected and must be unlocked first. The download link your browser creates is released automatically after about ten minutes, so save the file before then if you need it.

Frequently asked questions

Yes. Enter page numbers separated by commas (e.g. 1, 3, 5) to rotate only those pages. Leave the field empty or choose 'All pages' to rotate the entire document.

No. Rotation sets each page's rotation attribute, so viewers and printers display the page turned to the angle you chose. The text and images themselves are untouched, so there is no quality loss.

Rotation works in 90° steps. If a scan is only slightly skewed (a few degrees), 90° rotation won't straighten it — use a scan-cleanup tool to deskew small angles first.

No. Rotation is performed entirely in your browser using pdf-lib. Your file stays on your device.

Related PDF tools

Tool last reviewed: June 30, 2026 · Report a problem