Rotate PDF Online
Turn sideways or upside-down pages the right way up. Rotate individual pages or the whole document by 90°, 180° or 270°, preview the result, and download.
Rotate 90°
Rotate 180°
Per-Page Control
Rotate All
Live Preview
Why Do PDFs End Up Sideways?
A PDF page has a fixed orientation, stored as a rotation value in the page dictionary. When a document is scanned on a flatbed scanner, photographed with a phone, or generated by a batch tool that assumes the wrong paper orientation, the pages end up rotated 90°, 180° or 270° from the way a reader expects to see them. The result is a PDF where you have to tilt your head to read the text.
The Web Tool Bazar Rotate PDF Tool fixes this by letting you change the rotation value of each page. Unlike some "rotate" tools that flatten pages into images, this tool changes only the page's orientation flag — the underlying content stream is untouched. Text stays selectable, images keep their full resolution, links stay clickable, and the visual quality of every page is exactly what it was.
The tool renders each page as a live thumbnail so you can see exactly how the page will look after rotation. Click the rotate left or rotate right button on a single page to turn just that page, or use the toolbar buttons to rotate every page in the document at once. Click any thumbnail to see the page at full size before you save.
The most common use case is fixing a document that was scanned the wrong way up — a stack of receipts, a contract photocopied on a landscape sheet, or a passport photo placed at the wrong angle. It is also useful for correcting mixed-orientation documents where some pages are portrait and others are landscape, or for preparing a document for a specific reader or printer.
How the Rotation Tool Works
Per-page rotate buttons
Every page in the grid has two small buttons: one to rotate the page 90° counterclockwise, one to rotate it 90° clockwise. Clicking either button turns only that page. The page thumbnail updates immediately to show the new orientation, and a small badge in the top-right corner of the card shows the current rotation of the page (for example, "90°" or "270°"). Clicking the same button four times brings the page back to its original orientation.
Rotate All Left and Rotate All Right
If every page needs the same rotation — the usual case for a document that was scanned upside-down — use the toolbar buttons. Rotate All Left adds 90° counterclockwise to every page in the document. Rotate All Right adds 90° clockwise to every page. Because the operations are additive, you can click Rotate All Right twice to rotate the entire document by 180°.
Undo, redo and reset
Every rotation action is recorded in a history stack that holds up to 50 steps. Press Undo to step back through your changes, or Redo to step forward. Reset Rotations clears every rotation you have applied and returns the document to its original orientation.
Live preview
A large preview panel at the top of the workspace shows the currently selected page at full size. Click any page thumbnail to select it — the preview panel updates to show the page with its current rotation applied. Use the Prev and Next buttons to step through pages without leaving the preview.
Preserving existing rotation
Some PDFs already carry a non-zero page rotation — for example, a scanner may write pages with a 90° rotation flag rather than physically rotating the content. The tool reads that existing rotation, adds your requested rotation to it, and writes the sum back. If a page was already rotated 90° clockwise and you click Rotate Right, the result is 180° — the tool does not discard the original value.
Why the content is preserved
Rotating a page changes a single number in the page dictionary. It does not re-render, re-compress, or re-encode anything. Text remains selectable and searchable, images keep their original resolution, vector graphics stay crisp, and annotations and form fields keep working. The output file is usually within a few bytes of the input file size.
Common PDF Rotation Use Cases
Fixing Scanned Documents
Scanned pages often come out sideways. Rotate them to the correct orientation.
Phone-Scanned Receipts
Photos of receipts and invoices often need a 90° turn to read properly.
Mixed-Orientation Contracts
Some pages portrait, some landscape — normalise them for a clean read.
Preparing for Print
Rotate pages so the document prints correctly on the target paper size.
Passport & ID Photos
Turn scanned ID photos the right way up for official submissions.
Ebook and Report Reading
Fix pages that are upside-down before reading on a tablet or e-reader.
Batch Invoices
Rotate every page in a stack of invoices with a single click using Rotate All.
Pre-Signing Preparation
Rotate pages upright, then use our Sign PDF tool to add your signature.
How PDF Rotation Works Under the Hood
Stage 1 — Render each page
When you open a PDF, pdf.js renders each page onto its own canvas for the thumbnail grid. The large preview panel renders the currently selected page at full size. Rendering respects the page's current rotation, so what you see in the thumbnail is exactly how the page will look in the output.
Stage 2 — Track the rotation offset
Every rotation you apply is stored as an offset in degrees, a multiple of 90. For example, if you click Rotate Right on page 3, the tool records a 90° offset for page 3. If you click it again, the offset becomes 180°. The offset is kept per page, and the history stack stores snapshots of the full offset map so you can undo and redo freely.
Stage 3 — Apply the rotation on save
When you save, the tool loads the original PDF with pdf-lib, reads each page's existing rotation value, adds your offset, and writes the sum back with page.setRotation(degrees(angle)). Because the rotation is normalised to a multiple of 90 between 0 and 359, the page ends up with a valid PDF rotation value regardless of how many times you clicked.
Stage 4 — Save without touching content
The rest of the PDF is copied verbatim into the output. Content streams, fonts, images, annotations, form fields, embedded files and metadata are all preserved exactly. The output is the same document with different page rotation flags — nothing else changes.
Why the file size stays nearly identical
Rotating a page writes a single integer to the page dictionary. There is no re-encoding, no re-rendering, no re-compression. The output file size is typically within a few dozen bytes of the input. If you see a larger file, it is because pdf-lib writes an uncompressed cross-reference table — run the output through our Compress PDF tool if you need to shrink it.
How to Rotate a PDF — Step by Step
1
Upload Your PDF
Click "Select PDF File" or drag a PDF into the dashed drop zone. The tool renders every page as a thumbnail and shows the first page in the preview panel.
2
Rotate the Pages
Click the or button on any thumbnail to rotate that page 90°. Or use Rotate All Left / Rotate All Right in the toolbar to turn every page at once.
3
Preview the Result
Click any thumbnail to see the page at full size in the preview panel. Use the Prev and Next buttons to step through pages and confirm every one looks right before downloading.
4
Save and Download
Click DOWNLOAD ROTATED PDF. The tool writes the rotation values into a copy of the original PDF and downloads it automatically. You can re-download the last result from the sidebar until you close the tab.
Best Practices for Rotating PDFs
- Check the preview before saving. A page that looks right in a thumbnail may still be off. Click through the pages in the preview panel to confirm every one is the right way up.
- Use Rotate All when every page needs the same fix. If you scanned a stack of pages upside-down, Rotate All Right twice fixes the whole document in two clicks.
- Watch for mixed-orientation documents. Some PDFs mix portrait and landscape pages. Rotate each page individually in that case — do not use Rotate All, or you will fix one set of pages while breaking the other.
- Do not rotate twice. Rotating a page 90° clockwise and then 90° counterclockwise puts it back where it started. If a page already looks right, leave it alone.
- Rotate before signing or editing. If you plan to sign or annotate the PDF, rotate it first — that way you place your signature on an upright page and avoid awkward coordinates.
- Rotate before compressing. Rotation is a metadata change, so it does not interact with compression. But it makes sense to rotate first, then run the output through a compressor if you need a smaller file.
- Use Undo freely. Every rotation is reversible up to 50 steps. You cannot break anything by experimenting.
Who Should Use This Tool?
- Anyone with a sideways scanned document — the single most common use case for a rotate tool.
- Small business owners preparing invoices and receipts for accounting software that expects upright pages.
- Students and researchers fixing the orientation of scanned book pages and journal articles.
- Legal professionals normalising mixed-orientation contracts and exhibits before filing.
- HR departments rotating signed onboarding forms so they display correctly in a DMS.
- Anyone preparing a PDF for print — a page that is rotated 90° prints sideways regardless of the paper orientation.
- Archivists and records managers cleaning up legacy scanned collections.
- Anyone who receives a PDF with one wrong page and does not want to rescan the whole document.
Troubleshooting Common Issues
My rotation does not seem to have any effect.
Check the rotation badge on the page card. If it shows 0°, the page has not been rotated. If it shows 90°, 180° or 270°, the page has been rotated — check the preview panel to confirm the visual result. Some pages may look identical at 0° and 180° if the content is symmetric, but the rotation value has still been written.
I rotated a page but the thumbnail still looks the same.
The thumbnail renders the page with its current rotation. If the visual result has not changed, the content itself may be symmetric (a page of plain text will look different at 0° and 180°, but a page that is mostly whitespace may not). Try rotating a page that clearly has text and check the preview panel.
Some pages are already rotated in the original PDF.
Some PDFs come with a non-zero rotation value already set — a scanner or generator may produce pages that are physically upright but flagged as rotated. The tool respects that existing rotation and adds your new rotation on top of it. If a page already looks right when you open it, do not rotate it — the tool will keep its existing orientation in the output.
The output PDF is much larger than the original.
The rotation itself adds only a few bytes. The size difference comes from pdf-lib writing an uncompressed cross-reference table. For most documents the difference is negligible; for very large documents with thousands of pages, the difference can be a few hundred kilobytes. Run the output through our Compress PDF tool if you need to shrink it.
Can I rotate a password-protected PDF?
If the PDF requires a password to open, you will need to provide the password first. The tool sets ignoreEncryption on load, which helps with encryption dictionaries it cannot process, but it cannot bypass a password you do not know.
Can I rotate only part of a page?
No. PDF rotation is a whole-page operation — the page orientation flag applies to the entire page. If you need to rotate content within a page (for example, a single table that is sideways on an otherwise upright page), use our Edit PDF tool to cover that region and add a rotated image on top.
The rotate buttons do nothing on mobile.
The buttons are small on a phone screen. Zoom in, or rotate the phone to landscape for a wider grid. The buttons should be tappable once the page card is large enough.
Frequently Asked Questions
How do I rotate a PDF for free?
Open the tool, upload your PDF, click the rotate left or rotate right button on each page you want to turn — or use Rotate All to turn every page at once — then click DOWNLOAD ROTATED PDF to save the rotated document. Everything runs in your browser, so it is completely free and private.
Can I rotate just one page of a PDF?
Yes. Every page has its own rotate left and rotate right buttons. Click the button on the specific page you want to turn, and only that page changes. The rest of the document stays exactly as it was.
Does rotating reduce the PDF quality?
No. Rotating a PDF page changes only the page's rotation flag — the content itself is not re-encoded or re-compressed. Text stays selectable, images keep their resolution, and the visual quality of the page is completely unchanged.
Can I rotate a page by 180 degrees?
Yes. Click the rotate right button twice, or the rotate left button twice, to rotate a page by 180 degrees. Each click turns the page by 90 degrees.
Can I rotate a password-protected PDF?
If the PDF requires a password to open, you will need to provide the password first. The tool sets ignoreEncryption on load, which helps with encryption dictionaries it cannot process, but it cannot bypass a password you do not know.
Is my PDF uploaded to a server?
No. All processing happens locally in your browser using pdf.js and pdf-lib. Your file never leaves your device. When you close the tab, everything is wiped from memory.
Can I undo a rotation?
Yes. Every change is recorded in a history stack that holds up to 50 steps. Press Ctrl+Z to undo or Ctrl+Shift+Z to redo. You can also press Reset Rotations to clear every rotation and return the document to its original orientation.
Can I use this tool on my phone?
Yes, the interface is fully responsive. The rotate buttons are tappable on a phone, and the grid adapts to the screen width. For precise per-page control, a larger screen is more comfortable.
Is this tool really free?
Yes — completely free, no signup, no hidden fees, no daily limits, no watermarks added to your output. Use it as often as you need.
Final Thoughts
A sideways PDF is a small but persistent annoyance. The Web Tool Bazar Rotate PDF Tool fixes it in seconds — per-page rotate buttons, Rotate All Left and Rotate All Right for batch correction, a large live preview, 50-step undo/redo, and a strict local-only processing model that keeps every byte on your device. Because rotation changes only the page orientation flag, the output is the same document with the pages the right way up, at essentially the same file size and the same quality.
Whether you are fixing a scanned contract, straightening up a stack of receipts, or preparing a document for print, this tool handles the job cleanly and securely. Bookmark it for the next time you need it — and explore our other PDF tools like Edit PDF, Sign PDF, Repair PDF, Merge PDF, Split PDF, Organize PDF, Crop PDF, Remove Pages, Compress PDF, Upscale PDF, Invert Colors, and Add Watermark, all built with the same privacy-first philosophy.