PDFnook

Page orientation

Rotate a PDF and save it permanently: check the file you download

Rotate the pages, choose Save rotated PDF, download the result, and reopen that downloaded file. The last step matters: a correctly oriented preview is not proof that the file on your device changed. In our four-page sample, fixing the two upside-down even pages saved angles of 0°, 0°, 0°, 0°; both form fields and both bookmarks were still registered.

A short check that catches the common mistake

  1. Open Rotate PDF and choose your file. Check the thumbnails before changing anything.
  2. Use a page’s left/right buttons for one page. For a double-sided scan with every back page upside down, use Even pages 180°. Do not apply that preset to a file whose even pages already face the right way.
  3. Choose Save rotated PDF. That creates an export; it does not overwrite the original file on your computer.
  4. Use the download link, then close the preview and open the downloaded -rotated.pdf. Check the pages you changed, not just the first page.

A reader can offer a temporary view rotation, a saved document rotation, or both. The reliable test is the exported file, not the name of the reader’s button. In the PDF format, a page’s Rotate entry records clockwise rotation in multiples of 90 degrees (ISO 32000-1, section 7.7.3.3). That is different from straightening a slightly crooked scan.

A worked example: the back of every sheet is upside down

Try the same file. Download the four-page test PDF. It contains only synthetic labels and sample form values. Pages P2 and P4 start upside down. Keep this original, then compare your export with the examples below.

Original labelSaved angle beforeExtra turnSaved angle after
P10°0°0°
P2180°180°0°
P30°0°0°
P4180°180°0°

The second and fourth pages already had 180° stored in the file. Adding another 180° brings each to 360°, equivalent to 0°. This is why rotating all pages would be the wrong fix: it would turn the correctly oriented first and third pages upside down.

Original synthetic page P2 displayed upside down with a saved rotation of 180 degrees.
Original P2, reopened from original.pdf. The page has 180° saved rotation and displays upside down.
Saved page P2 displayed upright after adding 180 degrees and reopening the output PDF.
P2 reopened from fix-even-pages.pdf. The saved angle is 0°. Both images are renders of the actual saved PDFs using Poppler, not editor previews.

Open or download the corrected four-page PDF. You can also inspect a single-page rotation: only P1 gains 90°, while P2 and P4 keep their original 180°.

What the saved-file check did—and did not—confirm

Check on the corrected sampleResult
Pages and order4 pages; P1, P2, P3, P4
Page drawing streamsUnchanged bytes after decoding; the pages were not rasterized
Standard form fields2 registered fields, with their sample values
Bookmark titles2 retained
External URI link1 retained

These results come from the actual PDFnook processing function, with the exported files read independently by pypdf. Poppler renders check the pictured page orientation. They are not a test of every PDF reader, field appearance, screen-reader order, signed document or encrypted form. Keep your original and check your own output. Rewriting a signed PDF can invalidate its signature.

Use the smallest edit that solves the problem

If only orientation is wrong, stay on Rotate PDF. If pages also need moving or deleting, use Organize pages, but read the measured form and bookmark trade-off first. For a scan tilted by a few degrees, use a deskew tool; a 90° page turn will not straighten the text.

Questions

Why is my PDF sideways again when I reopen it?

First check whether you reopened the original file or the downloaded export. A view-only turn does not establish a saved change. Download the result, use a distinct filename, and check that copy.

Does permanent rotation mean converting each page to an image?

No. In this sample, PDFnook changed the saved page angle while the decoded page drawing streams stayed byte-for-byte identical. That does not certify every document feature or reader.

Can I keep bookmarks and form fields?

Both remained registered in this rotation-only synthetic test. Reordering or deleting takes a different export path. Verify important fields, links and bookmarks in your own downloaded file; signed and XFA forms were not tested.

Sources

  1. ISO 32000-1:2008, PDF reference — page Rotate entry: section 7.7.3.3; outlines: 12.3.3; interactive forms: 12.7
  2. pdf-lib document and page copying APIs — page-copy APIs and documented limits on copying document-level information
  3. PDFnook page-workflow evidence, 2 November 2026 — input/output hashes, plans, independent pypdf results and limitations