PDF Tools

Rotate PDF pages and keep them rotated.

Turn all pages, only the odd or even ones, or a range such as 3 to 5, by 90, 180 or 270 degrees and save the change into the file. Thumbnails show what will turn. Nothing is uploaded.

Rotate pages and save the change in the file

A PDF viewer lets you turn a page for reading, but that is usually a view setting that disappears when you close the file. This tool writes the turn into the PDF itself, so every viewer, printer and e-mail preview shows the page the right way up. Choose the angle, say which pages, check the outlined thumbnails and press Rotate and save.

Choosing pages

What changes and what does not

The file is read and written in your browser. The isolated tool frame loads no advertising or analytics scripts and cannot open network connections.

Good to know

Document properties, metadata and scripts stay in the file. This tool opens your PDF with a different reader than the one that drew the preview, and it keeps your pages whole rather than removing content. A PDF built to look different in different readers (for example with an extra hidden version of a page added after its end) can come out different from the preview, so look at the saved file. Fonts and images stay with their pages, and a font used on several pages can reveal which characters appear in the file. To take something out of a document for good, use the redact tool, which turns every page into a picture.

How rotation is stored in a PDF

Every page in a PDF is a dictionary of entries, and one of them is Rotate. The PDF specification defines it as the number of degrees, a multiple of 90, by which the page is rotated clockwise when displayed or printed. The default is 0. The page content, which is defined in an unrotated coordinate system, is untouched: a viewer simply turns the finished page when it shows it. That is why this operation is fast, lossless and reversible. Turning a page back is the same operation with the opposite angle.

The tool opens your file with the open-source pdf-lib library, reads each selected page’s current Rotate value, adds the angle you chose, wraps the result into 0, 90, 180 or 270, and writes it back. Then it saves the document. Nothing else is rewritten except what the library needs to save the file.

Why pages end up sideways in the first place

Most sideways pages come from scanning. A document feeder takes pages in the order and direction you load them, so a stack loaded the wrong way round gives a file that is upside down throughout, while duplex scanners often return the back of each sheet rotated by 180 degrees. Phone scanning apps record how the phone was held, and some exports from slide or spreadsheet programs mix portrait and landscape pages in one file. Each of these is a pattern you can describe with the page box: every page, every second page, or one run of pages.

Thumbnails and the red outline

When you open a file the tool draws small pictures of up to 48 pages using Mozilla’s pdf.js renderer. They show you which pages are sideways or upside down. As you change the angle or the page box, the selected thumbnails turn on screen and get a red outline, so you can see the result before you save. Files with more than 48 pages still rotate fully; only the first 48 thumbnails are drawn to save memory.

Worked examples

Duplex scan with upside-down backs. A sheet-fed scanner has produced a 20-page file in which every back side (the even pages) is upside down. Type even, choose 180°, check that the red outlines sit on pages 2, 4, 6 and so on, and save.

A few landscape pages in a portrait report. Pages 7 and 8 are charts that were scanned sideways. Type 7-8 and choose 90° clockwise or counter-clockwise depending on which way the tops of the letters point. If the first attempt is wrong, load the new file and apply 180° to the same pages.

Everything sideways. A phone scan app has saved a whole file at 90°. Leave the pages box on all and choose the opposite angle.

Common mistakes

  • Choosing the wrong direction. Clockwise means the top of the page moves toward the right. If the tops of letters point to the left, you need 90° clockwise; if they point to the right, you need 90° counter-clockwise.
  • Counting pages from the printed numbers. The page box uses the position in the file (the first page is 1), not the number printed on the page. A cover and a preface can make the two differ.
  • Rotating twice. Because turns add up, running the same operation on the same file again turns the pages further. Use the thumbnails to check before you save.
  • Expecting a straightened scan. This turns pages in steps of 90° only. It does not fix a page that was scanned a few degrees crooked.

What this tool does not do

  • It does not detect orientation for you. You choose the pages and the angle, using the thumbnails as a guide.
  • It does not rotate the content inside a page by an arbitrary angle, and it does not deskew.
  • It does not reorder, delete or extract pages. Use the page organizer for that.
  • It does not open password-protected PDFs. Remove the password first with the remove password tool.
  • It will invalidate a digital signature, because saving rewrites the file. Sign the document after you rotate it.

Limits

Up to 40 MB and 500 pages. Very large scans can take a few seconds on a phone. If the thumbnail strip does not draw, rotation still works; the thumbnails are only a preview.

Related tools

For reordering pages as well as turning them, use the PDF page organizer. Once pages are upright you can crop their margins, fit them to A4 or Letter, split the file or merge it with others.

Frequently asked questions

How do I rotate a PDF permanently?

Open the file here, choose the angle and the pages, and save. The rotation is written into each page’s own settings, so it shows the same way in every viewer, not just on your screen.

How do I rotate only the odd or even pages of a PDF?

Type odd or even in the pages box. This is the fix for double-sided scans where every other page came out upside down.

Is my PDF uploaded when I rotate it?

No. The file is read, changed and saved on your device inside a sealed frame that has no advertising code and cannot make network requests.

Will rotating lower the quality or change the text?

No. Only the rotation value of each page changes. The text, images and vector drawings are not redrawn, so text stays selectable and sharp.

Can I rotate by 45 degrees or straighten a crooked scan?

No. PDF page rotation comes in steps of 90 degrees. Straightening a slightly crooked scan needs image editing, which this tool does not do.

Why are my rotated pages still sideways in one program?

Almost every viewer honours the rotation value. If one does not, it is usually reading a cached copy or a preview that ignores it. Open the saved file in another viewer to confirm.

What does “1-3, 7, 9-” mean?

Pages 1 to 3, page 7 and page 9 to the last page. Page numbers count from the first page of the file, whatever number is printed on it.

Does it work on password-protected or signed PDFs?

Password-protected files are refused: remove the password first. A signed PDF can be rotated, but the signature will no longer validate because the file is rewritten.

Sources

Checked

Runs entirely in your browser. Nothing you choose is sent or stored.

Common mix-ups

  1. ISO 32000-1 (PDF 1.7) specification, Adobe-hosted copy

Checked against these sources on .

Advertisement
Advertisement