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.

Written by · Published · Last updated

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

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. If any number falls outside the document's page count, or the text cannot be read as page numbers and ranges, the tool stops and tells you which pages the document has instead of guessing. Commas, spaces and any kind of dash all work, so '1, 3-5' and '1 3–5' select the same pages.

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: September 27, 2026 · Report a problem