Home Image tools Rotate PDF

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.

Selected chips are filled in blue.0 pages selected.

Choose a PDF to begin. Nothing leaves your device.

Pages in file
Pages rotated in the last action0
Output file name
No PDF loaded yet. Page rotations will be listed here after you rotate.

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

  1. 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.
  2. Pick the rotation from the Rotation menu: 90° clockwise, 90° counter-clockwise or 180°.
  3. 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.
  4. Press Rotate pages. The tool adds the angle to each selected page and prints the new rotation of every page in the summary line.
  5. Check the summary, then press Download rotated PDF. The file is saved as <original-name>-rotated.pdf.
  6. 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:

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?

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 rotationAfter 90° clockwiseAfter 90° counter-clockwiseAfter 180°
90°270°180°
90°180°270°
180°270°90°
270°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

Pro tips

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