Processing…

HCODX/Rotate PDF
Local-only · No upload · No watermark

Rotate PDF: turn pages 90°, 180° or 270° and save

Free online rotate PDF tool. Rotate one page, a custom range or every page 90°, 180° or 270° and save the rotation permanently. Runs entirely in your browser using pdf-lib — nothing is uploaded.

Drop PDF files here

Or click to choose. Up to 50 files. Files stay on your device.

Choose PDFs
Rotation direction
Pages to rotate
Page range
Custom pages Numbers and ranges, comma-separated.
Filename suffix Appended before .pdf in the output name.
Files
0
Rotated
0
Total pages
0
Use cases

When you'll use Rotate PDF

Scanned upside-down

Documents fed sideways into a scanner come out at 90° or 180°. Fix the orientation and save permanently.

Phone photo PDFs

Photos converted to PDF on mobile often pick up wrong rotation from EXIF. Snap them back to readable.

Mixed orientations

Reports with charts in landscape and text in portrait — rotate just the affected pages.

Print-ready output

Send the right side up to the printer the first time and save toner on test prints.

Step by step

How to rotate a PDF online

1

Drop in your PDF

Drag and drop or click to browse. Add up to 50 files at once — each is rotated independently.

2

Pick a rotation

Tap 90°, 180° or 270°. Rotations are clockwise relative to the page's current orientation.

3

Choose which pages

All pages, only odd, only even, or a custom list like 1, 3, 5-9.

4

Download

Click Rotate & download. Each file downloads individually, or grab the batch as a ZIP.

FAQ

Rotate PDF — frequently asked questions

Drop your PDF into the tool, choose 90°, 180° or 270°, optionally restrict to specific pages, then click Rotate & download. The rotation is written to the PDF object stream so it persists in every reader, including Adobe Acrobat and macOS Preview.

Yes. Switch the page range to Custom and enter the page number — for example, 3 to rotate only page 3, or 2, 5-7 to rotate page 2 plus pages 5 through 7.

Yes. Many viewers let you rotate for the current session but discard the rotation on save. This tool writes the rotation into the PDF page dictionary, so it persists across opens and across applications.

No. Rotation runs entirely in your browser using pdf-lib. The PDF bytes never leave your device — the tool works offline once the page is loaded.

Password-protected PDFs cannot be rotated. Use our Unlock PDF tool first to remove the password, then rotate.

90° rotates clockwise (the top of the page becomes the right edge). 270° rotates counter-clockwise (the top becomes the left edge). 180° flips the page upside down.

About

About rotating PDFs

Every page in a PDF carries a /Rotate entry in its page dictionary — a multiple of 90 that tells the viewer how much to rotate the page clockwise before displaying it. Rotating a PDF "permanently" means updating that entry and saving the file.

How this tool rotates

We load the PDF with pdf-lib, read each page's current rotation, add the requested angle modulo 360, and write the new rotation back to the page dictionary. The page's content stream isn't modified — text stays selectable, embedded fonts stay embedded, and the file's structure is preserved byte-for-byte everywhere else.

What's preserved

  • Selectable, searchable text
  • Embedded fonts and images
  • Hyperlinks, bookmarks and outlines
  • Form fields and annotations
  • Original page dimensions

What changes

  • The /Rotate entry on the pages you select
  • Modification date in the document metadata
Related

Related PDF tools