+PDFNova

Rotate PDF on Linux

Turn sideways or upside-down pages the right way up and save the change.

Drop your PDF file here

or browse your device

A single PDF file, up to 100 MB. Files are processed on this device.

If you are on Linux and need to rotate a PDF file, this page is the whole solution. Nothing to install, nothing to buy, and no account — add your file and the tool is ready.

Linux has genuinely capable PDF tooling — qpdf, pdftk, Ghostscript and PDF Arranger between them cover most of what anyone needs. The catch is that it is fragmented and mostly command-line, the package names differ across distributions, and remembering the right Ghostscript invocation for a size target is not most people's idea of a good afternoon.

This runs in Firefox, Chromium, Chrome, Brave or Vivaldi on any distribution — Ubuntu, Fedora, Debian, Arch, Mint, openSUSE, Pop!_OS, whatever you run. There is no package to install, no repository to add, no dependency to resolve and no difference in behaviour between distributions.

A PDF that opens sideways is usually a scanner's fault. The page was fed in landscape, or the document feeder rotated it, and now everyone who opens the file has to tilt their head or rotate it in their reader every single time. Rotating in a reader does not fix it — the rotation is a view setting and is lost the moment the file is reopened elsewhere.

This tool writes the rotation into the document itself. Turn every page, or just the ones that are wrong, by 90, 180 or 270 degrees, and download a file that opens the right way up for everybody, in every reader, forever.

How to rotate a PDF file

  1. Add your PDF

    Drop the file in or press the upload area to browse for it.

  2. Choose the angle

    90 degrees clockwise fixes most scanner problems. 180 is for pages that are upside down. 270 is 90 degrees anticlockwise.

  3. Choose which pages

    Leave the pages field empty to rotate everything, or enter a list such as 2, 5-8 to rotate only those pages.

  4. Rotate

    Press Rotate PDF. The whole document is processed in one pass.

  5. Check and download

    Read the result in the preview to confirm every page is the right way up, then download it.

Why use this rotate pdf tool

No Linux software to install

No application, no package and no app store download. The rotate pdf tool runs in the browser already on your Linux device.

Identical output everywhere

The same code runs on every platform, so a file produced on Linux is identical to one produced anywhere else.

Standard download handling

Finished files go to your usual downloads location and behave like any other file on Linux.

The rotation is permanent

The angle is written into the PDF's page attributes, not into a viewer preference, so the file opens correctly everywhere it is sent.

Rotate only what is wrong

Leave the pages field blank to turn the whole document, or list specific pages when only some of them came out sideways.

Rotation is cumulative

The angle you choose is added to whatever rotation the page already had, so a page already 90 degrees out and rotated another 90 lands at 180 rather than snapping back to zero.

Features

  • Three angles90, 180 and 270 degrees, applied clockwise.
  • Selective pagesRotate the whole document or just the pages you name.
  • Additive rotationBuilds on any rotation already stored in the page.
  • Content untouchedOnly the page rotation attribute changes — nothing is re-rendered.
  • Instant previewConfirm the orientation in the browser before downloading.

When people use this

Fixing a scanner's output

Document feeders regularly rotate pages depending on how the paper was loaded. One pass through this tool corrects the whole batch.

Correcting landscape spreads

Wide tables and diagrams are often scanned in landscape inside an otherwise portrait document. Rotate just those pages and leave the rest alone.

Preparing a document for print

Print drivers respect the page rotation stored in the file, so fixing it here means the document comes out of the printer correctly oriented.

Making a file readable on a phone

Mobile PDF readers rarely offer a rotate control. Fixing the file itself is the only way to make it comfortable to read on a small screen.

Using the rotate pdf tool on Linux

Files save to ~/Downloads or wherever your browser is configured to put them, as a normal file owned by you with standard permissions. Nothing needs root, and nothing is written outside your home directory.

The tool itself behaves identically regardless of what you are running it on. The same options, the same validation, the same progress reporting and the same output — a file produced on Linux is byte-for-byte equivalent to one produced anywhere else, because the same code does the work in both cases.

That consistency is worth something practical. Start a job on Linux and finish it on a different device, or hand the page to a colleague on another platform, and neither of you has to learn a different interface or account for a difference in behaviour.

How rotation works

Every page in a PDF carries a /Rotate entry: an integer of 0, 90, 180 or 270 that tells a reader how to turn the page before displaying it. This tool loads the document with pdf-lib, reads the existing value on each page you targeted, adds your chosen angle, wraps the result back into the 0 to 359 range, and writes it out.

Because nothing but that integer changes, the operation is effectively free in both quality and file size. The text, images and vector content of the page are written back exactly as they were read — there is no rendering step anywhere in the process.

Privacy

Your files are not uploaded. When you add a PDF file, your browser reads it from your device into the memory of the tab you are looking at, and the rotate pdf operation runs there using your own processor. Nothing is transmitted to any server at any point.

That means there is no file for anyone to store, no retention policy to trust, and no deletion schedule to take on faith. The document exists only in the memory of an open browser tab, and it is released the moment you close it, reload the page, or press start over.

The site uses standard anonymous analytics to count page views and how often each tool is used. Those events record which tool ran and whether it succeeded — never a file name, never file contents, and never anything that could identify a document or the person processing it.

No account is required, so no personal information is collected. There is no profile, no history and nothing tied to an identity, because no identity was ever created.

Security

The strongest security property this tool has is structural: your file never travels anywhere, so there is no transmission to intercept and no server-side copy to breach. This is not a policy that could change — it is a consequence of where the code runs.

You can verify it in about thirty seconds. Open your browser's developer tools with F12, select the Network tab, and use the tool. You will see the page's scripts load — including the PDF libraries, which are fetched on demand the first time a tool runs — and then nothing further. No request carrying your document is ever made.

For a stronger test, disconnect from the network once the page has loaded. The tool will keep working exactly as before, which is only possible because nothing is being sent.

Uploaded files are validated in the browser before anything runs: the extension must match what the tool accepts, the file must not be empty, and it must be within the size limit. Malformed documents produce a clear error and a retry option rather than a silent failure.

What this tool does not do

Being clear about limits is more useful than a feature list that quietly omits them. Rotation is applied per page in whole 90-degree steps; arbitrary angles and per-page previews of the current orientation are not available.

If you need capabilities beyond that — redaction, PDF/A conformance, OCR, or scripted batch processing across thousands of documents — dedicated desktop software genuinely earns its licence fee, and this is not trying to replace it. For the specific job of producing a rotated PDF, everything you need is on this page.

Frequently asked questions

How does this compare with qpdf or Ghostscript?
Those tools are more powerful and scriptable, and for batch work across hundreds of files they are the right choice. This is for the one-off case where you would otherwise be searching for the correct flags. No installation, no distribution-specific packages, and the same behaviour everywhere.
Is the rotate pdf tool different on Linux?
No. It is the same tool with the same options and the same processing code. Only the browser and the download location differ.
Is the rotation saved into the file, or just how it looks here?
It is saved into the file. The angle is written to each page's rotation attribute in the PDF itself, which every compliant reader honours. This is the difference between rotating here and rotating in your PDF viewer, where the change is usually just a temporary view setting.
Can I rotate only some pages?
Yes. Enter the pages in the pages field using the same format as a page range — 2, 5-8, for example. Any page you do not list keeps the orientation it already had.
What if a page is already rotated?
The angle you pick is added to the page's existing rotation. A page already sitting at 90 degrees that you rotate by another 90 ends up at 180. This is almost always what you want when fixing a mixed batch.
Does rotating change the quality or size of the file?
No. Rotation only sets a numeric attribute on each page — no content is re-rendered, re-encoded or resampled, and the file size is essentially unchanged.
Can I rotate more than one PDF at a time?
This tool handles one document at a time so the page selection stays unambiguous. If you have several files that all need the same treatment, run them through one after another, or merge them first and rotate the combined document.

Browse every PDF tool, or read the help and FAQ pages. Details of how files are handled are in the privacy policy.