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 browserFree · No signup requiredPDF only

Drop your PDF here

or click to browse

Processed entirely in your browser — files never leave 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.
  • Visual rotation is stored as a metadata flag; page content itself is not redrawn.

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 is performed in your browser using pdf-lib.

Related PDF tools

Appearance

Choose how the site looks on this device.