PDF Rotator
Rotate PDF pages by 90°, 180° or 270° and save.
What is PDF Rotator
The PDF Rotator fixes scans and phone photos whose pages are sideways or upside down, rotating them by 90°, 180° or 270°. It rewrites the page rotation flag with pdf-lib, so text and images are never re-compressed and quality is untouched. Nothing is uploaded — everything runs in your browser (up to 50 MB).
File
… up to 30 MB
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Size limit
- 30 MB free, 50 MB with Pro
- Offline
- Works with the network disconnected
Rotation is a property, not a redraw
Rotating a page changes the page's rotation attribute rather than re-rendering its content. The file stays small, text stays selectable, and the result is identical to what a viewer shows after you rotate the view.
Because it is a property, rotating twice by 90 degrees returns to the original orientation with no quality loss — unlike rotating a rasterised page.
Not every viewer respects the rotation attribute. A PDF that looks upright in one reader can appear sideways in an older one; that is a viewer problem, but it is worth checking in the tool you will actually use to present.
Mixed orientation documents
A scanned batch often contains a few sideways pages among upright ones. Rotating the whole document makes those worse. Rotate only the affected pages by selecting them individually.
If page sizes differ, rotation swaps width and height for the rotated pages. A landscape page rotated 90 degrees becomes portrait, which is usually the intent.
Printing a rotated page with «fit to page» can add white margins, because the printer scales the rotated box. Choose «actual size» if the output must match the original.
How to use it
- 1.Choose a PDF
- 2.Pick the angle and pages
- 3.Download the rotated PDF
How PDF Rotator works under the hood
A PDF is a graph of objects plus a cross-reference table that says where each object starts. Merging, splitting and reordering are structural edits to that graph — no page is re-rendered, which is why the output keeps its original quality.
- 1
Load the document
pdf-lib parses the object graph, following the xref table to every page, font and image stream. Encrypted files are rejected here.
- 2
Copy page dictionaries
Each selected page is copied into a new document, together with the resources it references (fonts, images, colour spaces).
- 3
Rewrite the cross-reference
Every object gets a new byte offset, so the xref table is rebuilt. A wrong offset is the classic cause of a 'damaged PDF' — this step is why the tool cannot simply concatenate files.
- 4
Save and download
The new document is serialised to bytes in memory and offered as a Blob download.
Processing pipeline
Pages are copied whole, in the order you picked the files — content, fonts and layout of the highlighted pages are the original bytes, not a re-render. Form fields and layers can behave differently after a merge; check interactive PDFs before distributing them.
Why signatures and forms break
A digital signature covers the exact bytes of the document. Any operation that rewrites the file — even adding a page number — changes those bytes and invalidates the signature. That is the signature doing its job, not a defect. AcroForm fields live in a separate object tree; operations that rebuild the page tree may drop their appearance streams, so test a form-heavy document before relying on the output.
Scanned PDFs have no text
Text extraction reads the text operators inside each page's content stream. A scan is a single image, so there are no text operators to read — the result is an empty or near-empty file. Recognising that text requires OCR, which this site does not provide. If a PDF's text can be selected in a viewer, extraction will work; if it cannot, no converter can invent it.
Compression is re-encoding, not magic
PDF compression re-packs streams with Flate and can downsample embedded images. A PDF that is already mostly JPEG will shrink only slightly; a PDF of scanned pages at 600 dpi can drop by 80%. Text stays sharp because text is not an image. The tool never silently deletes pages to hit a size target.
Verify it yourself
The original file is never sent anywhere. Confirm it in one run.
- 1.Open DevTools on this page and switch to the Network tab
- 2.Keep the filter on Fetch/XHR and run the tool
- 3.Confirm no request carries your file — you should see only page assets and fonts
Frequently asked questions
Does it lose quality?
No. Only the page rotation flag is rewritten — images and text are never re-encoded.
Can I rotate only some pages?
Yes. Enter a range like `1-3,5` in Page range; leave it blank to rotate every page.
Is rotation cumulative?
Yes. Adding 90° to a page already rotated 90° makes it 180°.
Is this tool free?
Yes — no sign-up and no card. The free tier handles 30 MB. Everything runs in your browser, so your file is never uploaded.
What happens if my file is over the limit?
You see a notice before any processing starts, and nothing is charged automatically. Pro raises the limit to 50 MB. If you'd rather stay free, compress or split the file first.
What this kind of conversion cannot keep
PDF pages are copied as page objects, not re-rendered as images. Text stays selectable, the file size stays close to the sum of the inputs, and nothing is flattened. The one thing that cannot survive is a digital signature: any change to the bytes invalidates it, which is the signature working as designed.
Go deeper
More in PDF
On this page
- What is PDF Rotator
- What this tool actually does with your file
- How it actually behaves
- How to use it
- How it works inside
- Frequently asked questions
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →