Rotate PDF

Try Rotate PDF

Files are processed in your browser without uploading them.

Rotate PDF inputs

Loading calculator. If this message stays visible, enable JavaScript and reload.

Rotate PDF pages by choosing an angle and downloading the edited document. The tool adds the same clockwise turn to every page, building on whatever rotation is already stored on each page. Choose 90 for a clockwise quarter turn, 180 for a half turn or 270 for three clockwise quarter turns. A setting of 0 leaves each stored angle as it was while still saving a new PDF.

This is an all-page edit for one unencrypted PDF with up to 500 pages and 20 MiB. It fits a scan that is sideways throughout. Inspect a mixed document first because already-upright and sideways pages will both receive the same turn.

Changing the saved orientation of all PDF pages

How do I rotate PDF pages and save the new orientation?

To rotate PDF pages, open the original and inspect its current orientation. Decide whether all pages need the same turn. Choose the file, select the appropriate value in Angle and run the tool. Download the result and confirm the change by opening the saved file with its reader view rotation reset.

  1. Check where the top edge of the first page currently appears.
  2. Inspect a middle page and the last page to see whether their required turns match.
  3. Choose the original PDF and an angle of 90, 180 or 270 degrees.
  4. Run the rotation and download the edited copy.
  5. Open that copy in a PDF reader and review the pages.

Hold on to the original file throughout the process. A local reader may have a view rotation setting that changes how you see the source without editing the saved rotation. If your expected result is based on that adjusted view, first check how the original opens in a fresh window.

Consider the intended audience when choosing orientation. A landscape schedule may already be readable, even if it differs from the portrait pages nearby. Uniform page orientation and readable orientation are separate goals. For this tool, the relevant question is whether the existing pages all require the same additional turn.

Which angle should I choose for sideways or upside-down pages?

First identify the edge where the page heading or top of the source should sit. If the top of the content currently points left, a clockwise quarter turn brings it to the top. If it points right, use a counterclockwise quarter turn, expressed here as 270 degrees clockwise. A page whose top points down needs 180 degrees.

Current position of the content's topTypical angle to bring it uprightTurn applied
Left edge90One clockwise quarter turn
Bottom edge180Half turn
Right edge270One counterclockwise quarter turn
Top edge0Zero added rotation

Inspect distinctive text, a letterhead or the expected top of a table to identify which edge counts as the top. A graph with no obvious header may need to be checked against nearby pages or the source document. Look at the extracted file after changes so it is clear how the pages will open for another person.

The angle is relative to each page's existing stored rotation, and the table describes how it currently appears with standard view settings. If a reader automatically rotates pages for convenience, consult a second view or reset its rotation before using the table to choose an angle.

How does the tool combine an existing rotation and a new turn?

The editor reads each page's current rotation and adds the selected angle, wrapping the result at 360 degrees. The pdf-lib API documents rotation on the PDF page object. A page that already stores 270 degrees and receives another 90 wraps to 0. A page that stores 90 and receives 90 ends up at 180. Both changes happen independently within the same file.

The local fixture stored rotations of 270 and 90 on its first two pages and left the remaining four at zero. After selecting 90, the reopened result showed 0, 180, 90, 90, 90 and 90. The same source with a selection of 0 retained its original sequence of angles. These examples refer to stored PDF rotations. Text embedded inside a scanned image can begin at a different angle from its page's stored value.

Opening an output that shows a page stored at zero therefore does not by itself prove that any text on it is upright. Use the page content to choose the additional turn and the saved result to confirm it. A reviewer can check the printed heading and signature position even without access to the stored rotation values.

If an image in the PDF is already sideways inside an otherwise upright page, turning the whole page also turns the surrounding text and margins. Compare the image with the page heading. A conflict between the two orientations points to a source-layout problem that a page-wide rotation cannot resolve on its own.

How do I handle a document with a mixture of upright and sideways pages?

Check how many pages need each turn before starting. This page supplies an angle for every page in the selected file. If only one page needs a turn, consider a page-level editor in your usual PDF application. For a plain packet, you can also make a separate file of the affected page or contiguous section, rotate that file and reassemble the sections while keeping their original order.

A simple example is a packet where the cover and body are upright and a final scanned appendix is sideways. Use Extract PDF Pages to copy that appendix and separately save the earlier section if the workflow can tolerate creating a new document. Rotate the appendix, then use Merge PDF to combine the earlier section and appendix. Use Reorder PDF Pages if the combined sequence still needs to change.

Write down the page positions and order before doing any multi-step edit. A change in one intermediate document can affect the positions you see in the next. Keep both the unchanged master and the final copy until you have checked the result.

If the PDF carries signatures, link destinations or interactive form data, the reassembly may affect those features. Use the established workflow for that document so its structural requirements receive the checks they need.

What is the difference between rotation, cropping and resizing?

Rotation changes page orientation through a quarter turn. A margin problem involves the portion of the page that is visible, and a size requirement involves its dimensions or scale. Choose the operation based on what the delivered file must do when its recipient opens or prints it.

Use Crop PDF when a shared rectangular viewing area needs to be adjusted. This can be useful for excess margins. The underlying content outside the new viewing box remains in the document, so cropping is unsuitable for removing sensitive material. Pause to identify whether a margin or source scan issue can be fixed in the source instead.

Use Resize PDF when the page dimensions need to change. Its width and height factors may differ, so review the effect on proportions. Rotating a portrait page can make it appear landscape in a reader without choosing a new paper size. Many readers also present distinct settings for page orientation and paper orientation when printing.

An upside-down page and a slightly skewed scan also require different treatment. The supported rotations are 0, 90, 180 and 270 degrees. A scan tilted a few degrees can need deskewing in a scan editor. Inspect the corners and the angle of a long line of text to identify that problem before trying a quarter turn.

What file limits and format checks apply?

Choose one readable PDF that is no larger than 20 MiB and contains between 1 and 500 pages. The engine checks the PDF signature and then opens the document with pdf-lib. Password-protected and damaged files can fail while opening. If the file does not open normally, obtain a usable original through the appropriate authorised workflow.

Confirm the PDF was fully downloaded or copied before selecting it. A file may have a PDF extension and still contain an incomplete download or an error response saved under that name. Try opening it directly in your reader before treating the issue as a failed angle selection. Check the size boundary and single-file requirement separately.

The browser applies an angle to every loaded page and saves a new file. Large pages with complex scans or embedded graphics can still take more time or resources to process than simple pages. If an important file is difficult to handle, move the edit to a capable reader or editor that fits the document's existing workflow.

Keep the actual downloaded file instead of relying on an open tab. The browser-generated copy represents the last run you downloaded, while the source remains the file you selected. Check both names before sending one to a colleague.

What should I check when the PDF has forms or links?

Test the features people use as well as the visual appearance. The engine rewrites the PDF with the chosen page rotation. Rewriting can affect signatures, forms, links and annotations. A signature that applied to the original may no longer validate after changes. A form might display correctly while a target link, field or annotation behaves differently.

Open the output in the PDF reader its audience normally uses. If the document has a signature, inspect the reader's verification panel and consult the document owner's approved process before adopting the edited copy. For fillable forms, tab through fields and confirm their visible positions. Review annotations and internal navigation where their location matters after a turn.

A correctly oriented page can still be difficult to use if the underlying text was an image or if its reading order came from a complex document structure. Rotation does not apply OCR or rebuild document tags. If a scan needs selectable text or accessibility remediation, follow a workflow that performs and verifies those operations.

For a routine image-based copy without interactive features, orientation and legibility may be the main checks. Keep the unedited source and record the chosen angle if the file will be regenerated later.

How can I confirm the downloaded orientation is saved correctly?

Reopen the download from disk or your browser's download list in a fresh reader window. Check the title page, nearby page transitions, and any sections that were already sideways in the source. If the result appears unchanged, check whether you opened the original file or whether the angle was set to 0.

Use the page count as a quick completeness check. A rotation retains the original pages and their order. Check page edges in the reader to ensure page headings and art remain visible. If someone will print the result, preview an upright page and a representative diagram with the expected paper size and scaling.

If the result moved the content's top to the opposite side from what you intended, go back to the original and choose the other quarter-turn angle. Reworking the most recent output can accumulate turns, which means your second adjustment begins from a different saved rotation. An unchanged original gives you the same starting point each time.

When the source is a scan of a form or worksheet, compare the location of important detail against the original as part of the final review. The text can be upright and a previous crop or print margin can still leave an area difficult to see. A rotation check and a print preview cover those decisions separately.

Check page transitions in a two-page reader view when a packet will be viewed that way. A chart can be readable on its own and still require a larger display area than the facing page. Use the reader's single-page view to judge the saved orientation and its facing-page view to check how the two layouts work together.

Frequently asked questions

Can I rotate only one page here?

The Angle choice applies to every page in the selected file. For a single page, use an appropriate page-level editor or use separate page-selection and reassembly steps for a simple document.

Is 270 degrees the same as a left turn?

Yes. Adding 270 degrees clockwise produces the same orientation change as rotating 90 degrees counterclockwise. Select it when the right edge of the content should become the top edge.

Does rotating the view in my reader change the downloaded PDF?

A view-only rotation can be temporary. Open the actual edited download in a new window with the reader's view rotation reset to see the saved change.

Can I enter a 45-degree turn?

The Angle field accepts 0, 90, 180 and 270 degrees. Use a suitable scan editor when the input needs an adjustment between those angles.

Why is one page upside down after the edit?

The original may have mixed orientations. The same angle is added to every page, so a page that was already upright also turns. Review the original to identify the pages that need individual edits.

Does the 0 setting restore the original page orientation?

It adds zero to the stored orientation of the selected file and still rewrites the PDF. To return to the state before a previous edit, use the original copy or apply the required reversing turn.

Sources and method notes