Rotate PDF Pages
Rotate PDF pages right here: turn a page 90° clockwise, 90° counter-clockwise or 180°, on every page or just the ones you pick. The file is edited locally with pdf-lib and never uploaded, and the page content is not re-rendered, so text stays vector and image quality is untouched. Free, no signup.
No file loaded yet.
Choose a PDF to begin. Nothing leaves your device.
What is a PDF page rotator?
A PDF page rotator changes the direction a page is displayed in without touching what is drawn on it. Every PDF page carries a rotation value, stored as the /Rotate entry, which tells the viewer how far to turn the page before showing it. That value must be a multiple of 90, and the four states that matter are 0°, 90°, 180° and 270°. Set it to 180 and a page that was scanned upside down reads normally; set it to 90 and a sideways scan stands upright.
Because rotation is only a viewing instruction, the content of the page is left exactly as it was. This tool opens your PDF in the browser with the pdf-lib library, adds your chosen angle to the existing /Rotate value of each selected page modulo 360, and saves the document again. Nothing is re-rendered, no page is turned into an image and no data is uploaded. Text stays selectable and searchable, vector lines stay crisp, and images keep their original resolution — the rotated download is the same document, simply displayed at a new angle.
How to rotate a PDF
- Choose a PDF file. Click the button and pick the document. The page count, file size and a numbered chip for every page appear below.
- Pick the rotation from the Rotation menu: 90° clockwise, 90° counter-clockwise or 180°.
- Choose which pages. Leave "Pages to rotate" on All pages, or switch to Selected pages only and click the chips of the pages you want. Select all and Clear selection handle whole documents and quick resets.
- Press Rotate pages. The tool adds the angle to each selected page and prints the new rotation of every page in the summary line.
- Check the summary, then press Download rotated PDF. The file is saved as
<original-name>-rotated.pdf. - Repeat if needed. The current rotations stay in memory, so you can rotate one page 90° clockwise and a different page 180° in the same session before downloading once.
Worked example
Take a 5-page scanned booklet whose pages are stored as 0°, 90°, 0°, 180° and 0°. Two pages are wrong: page 2 is sideways and page 4 is upside down. Select Selected pages only, click chips 2 and 4, choose 180° and press Rotate pages. The tool adds 180 to the two selected pages and reduces the result modulo 360:
- Page 2: 90 + 180 = 270 → 270° (it was sideways, now it is sideways the other way).
- Page 4: 180 + 180 = 360 → 360 ÷ 360 leaves no remainder, so the stored value is 0° (upside down again upright).
- Pages 1, 3 and 5 keep 0° — untouched pages are never written to.
Because page 2 came out sideways rather than upright, the correct fix was a quarter turn, not a half turn: applying 90° counter-clockwise to page 2 gives 90 + 270 = 360 → 0°, which is upright. The summary line would then read 1: 0°, 2: 0°, 3: 0°, 4: 180°, 5: 0°, and the counter reports 1 page rotated.
Now the other common case: a 6-page file stored as 0°, 0°, 270°, 270°, 0°, 90° where the middle two pages are landscape scans that need turning. Choose All pages and 90° clockwise. Every page moves one quarter turn: 0→90, 0→90, 270→0, 270→0, 0→90 and 90→180, so the summary reads 1: 90°, 2: 90°, 3: 0°, 4: 0°, 5: 90°, 6: 180° and the counter reports 6 pages rotated. The page count stays 6, and the file is downloaded as scan-rotated.pdf.
Who is this PDF rotator for?
- Anyone fixing a crooked scan: a sheet fed upside down or sideways comes back as a PDF with the wrong /Rotate value, and one click per page puts it right.
- Students and researchers: rotate a single landscape figure or appendix page to match the rest of a report before submitting, without re-exporting the whole document.
- Office and admin work: tidy up a batch of invoices, forms or signed pages that were scanned in different orientations before they are filed or sent.
- Privacy-conscious users: lawyers, accountants and clinics can rotate confidential PDFs knowing the file is opened in the browser and never uploaded to a server.
Rotation reference table
The table shows what each stored value becomes after one action, with the result reduced modulo 360. Every figure is exact — rotation is held as an integer number of degrees, so nothing here is rounded or approximated.
| Current rotation | After 90° clockwise | After 90° counter-clockwise | After 180° |
|---|---|---|---|
| 0° | 90° | 270° | 180° |
| 90° | 180° | 0° | 270° |
| 180° | 270° | 90° | 0° |
| 270° | 0° | 180° | 90° |
Formula: new = (current + delta) mod 360, where delta is +90 clockwise, −90 (that is, +270) counter-clockwise, or +180. Two useful consequences: a quarter turn clockwise followed by a quarter turn counter-clockwise returns a page to its starting value, and 180 applied twice does the same (180 + 180 = 360 ≡ 0).
Common use cases
- Upside-down scans: apply 180° to the pages that came out inverted after the sheet was placed the wrong way in the feeder.
- Sideways forms and receipts: rotate a landscape page 90° so it reads upright in a portrait document.
- Mixed-orientation bundles: normalise a stack of pages from different sources so every page matches before the set is printed.
- Single-page corrections: fix one rotated figure or signature page in a long report rather than regenerating the export.
- Printing preparation: line orientation up with the paper before sending a job to a duplex printer, which avoids pages that come out the wrong way round.
Pro tips
- Rotate the pages, not the whole document. If only page 4 is wrong, select just page 4 — re-writing the /Rotate value of every page is unnecessary and makes the change harder to reverse.
- Work out the angle first. A page displayed sideways needs a quarter turn; a page displayed upside down needs a half turn. The reference table above shows exactly where each starting value lands.
- Check the summary before downloading. The line under the buttons lists the new rotation of every page, so you can confirm the result without opening the file.
- Keep the original. The tool never modifies the file on your disk — it writes a new one ending in
-rotated.pdf, so a wrong angle costs nothing. - Password-protected files must be unlocked first. An encrypted PDF cannot be read in the browser; save a copy without the password and rotate that.
FAQ
Are my PDF files uploaded to a server?
No. The rotation runs entirely in your browser with the pdf-lib library. Your file is read from your disk into browser memory, the page rotation values are changed there, and the result is saved straight back to your downloads folder. Nothing is sent over the network, so the tool is safe for confidential documents.
Does rotating a PDF reduce quality?
No. Rotation changes only the page's /Rotate entry — a single number that tells the viewer which way to turn the page. The text, vector graphics, images and fonts inside the page are copied byte for byte and are never re-rendered, re-compressed or resampled, so a rotated page looks exactly as sharp as the original.
Can I rotate just one page?
Yes. Set the pages control to "Selected pages only" and click that page's number chip, then apply an angle. You can also press Select all and deselect the pages you want to keep, or pick any scattered set such as pages 1, 4 and 9.
How do I fix a scanned PDF that is upside down?
Apply 180 degrees to the pages that are upside down. If a scan was fed sideways, choose the pages and apply 90 degrees clockwise or 90 degrees counter-clockwise, whichever makes the text read normally. Rotate only the pages that are wrong — untouched pages keep their original /Rotate value.
Does it work with password-protected PDFs?
No. A password-protected or encrypted PDF cannot be opened in the browser, so the tool reports a load error instead of producing a broken file. Remove the password in your PDF reader first, then rotate the unlocked copy.
Will it work on a phone or tablet?
Yes. The page runs in any modern mobile browser and the page chips, angle selector and buttons are all touch sized. Very large files can be slower on older phones because the whole PDF is held in memory while it is edited.
Is there a page limit?
There is no fixed limit in the tool. The practical limit is your device's memory: a several-hundred-page document is fine on a laptop, while a very large file of hundreds of megabytes may be slow or may run out of memory on a phone.
Does rotating a PDF change the file size?
Only slightly. Rotating rewrites one short integer per page, so the rotation data itself costs nothing noticeable. pdf-lib rebuilds the file when it saves, which can shift the size by a few bytes, but all image and font streams are copied unchanged, so the download is essentially the same size as the original.
What if the page is A4, Letter or another custom size?
Page size is untouched. An A4 page stays 595 by 842 points and a US Letter page stays 612 by 792 points; a quarter turn changes only how the width and height are read on screen, not the numbers stored in the file. Mixed page sizes in one document are fine.
Is this PDF rotator free?
Yes. It is free, there is no sign-up or login, no watermark is added, and you can rotate as many files as you like. Because everything happens on your own device there is no cost per page and no queue.
Can I undo the rotation?
Yes. The tool keeps your current rotation state while the page is open, so applying the opposite angle puts the pages back: 90 degrees clockwise then 90 degrees counter-clockwise returns a page to where it started, and 180 applied twice does the same. The original file on your disk is never modified, so you can always load it again.
Is this the same as rotating an image?
No. Rotating a PDF page keeps it as a PDF page: text stays selectable and searchable, vector lines stay sharp and the document structure is preserved. Rotating an image re-encodes pixels. If you need to turn a picture rather than a document, use the Image Rotate tool instead.
Related searches
rotate pdf, rotate pdf online, rotate pdf pages, fix upside down pdf, turn pdf 90 degrees, rotate one page of a pdf, pdf rotator, rotate pdf and save, rotate scanned pdf, rotate pdf without uploading, rotate pdf free, change pdf page orientation
Related tools
- Split PDFBreak one PDF into separate files by range or every N pages — the tool to use when you want many files, not one.
- Image to PDF ConverterFree image to PDF converter. Turn any image into a PDF right in your browser — private, no uploads, no signup,…
- Merge PDF — Combine PDF Files Online FreeCombine multiple PDFs into one file right in your browser with pdf-lib. No uploads, no signup — merge pages, t…
- Extract Pages from PDFPick pages out of a PDF and save them as one new, smaller PDF file.
- Invoice GeneratorFree invoice generator: build a professional invoice with your details, line items, tax and discount, then pri…
