How do you use this tool?
- Pick a PDF (drag & drop or file browser, one file at a time)
- Preview each page — all pages render as thumbnails, the existing /Rotate flag is preserved
- Pick a rotation per page (0°, 90°, 180°, 270°) or use the bulk Rotate-all-pages control
- Optional: tap Auto-detect landscape to rotate every landscape page to portrait
- Click Rotate PDF and download the rotated file instantly
How does the tool work?
The tool uses a battle-tested open-source JavaScript library to rotate PDF files directly in your browser. Processing is fully local — no server connection, no upload, no third-party touching your file.
Technically, rotating a PDF page is a metadata edit, not a
re-render. Every page in a PDF carries a /Rotate entry in its page
dictionary, with allowed values 0, 90, 180 or 270. When you rotate a
page, the tool rewrites this value — the actual content stream (text
commands, image references, vector paths) stays untouched. Two
consequences: the operation is lossless, and the output file size is
essentially identical to the input.
Before loading the library, every file is validated against the
%PDF- magic header. Corrupt files or renamed non-PDFs are rejected
upfront with a clear error message, before any heavy code is fetched.
How do you rotate a PDF in the browser?
Drop the PDF onto the dropzone or pick it through the file browser.
The tool immediately renders every page as a small thumbnail card. Each
card shows the page in its current orientation — including any
pre-existing /Rotate value baked into the file.
Per page, you pick from four rotation angles: 0°, 90°, 180° and 270°.
The choice is applied on top of the existing /Rotate value. A
page that already carries /Rotate 90 from a scanner, and which you
then rotate by 90° right, ends up saved as /Rotate 180 — exactly the
visual orientation you intuitively expect.
Three bulk controls speed up multi-page documents:
- Rotate all pages — applies the chosen angle to every page. Classic use case: a stack of contracts scanned sideways.
- Auto-detect landscape — the tool analyses the effective
width/height of every page (after accounting for its existing
/Rotate) and suggests 90° for every landscape page. Portrait pages are left alone. - Reset all — resets every per-page choice back to 0° without reloading the file.
As soon as one page carries a non-zero rotation, the Rotate PDF button becomes active. A download link appears the moment processing finishes.
Why does privacy matter for PDF rotation?
smallpdf, the iLovePDF workflow and the pdf24 tool all follow the same pattern: upload the file, the server rotates, download the result.
“Files removed from our servers after one hour.”
— smallpdf Trust Center
“automatically deleted after 2 hours”
— iLovePDF GDPR statement
Sounds fine. But those two hours mean exactly what they say: your file sits on someone else’s server for two hours. For contracts, IDs, cover letters, bank statements, medical reports, that retention window is the problem, not the solution. You are delegating confidentiality to a deletion policy rather than guaranteeing it structurally.
The FBI publicly warned in March 2025 that many free PDF converters operate as malware fronts. Even without malicious intent, every server-upload sends a confidential document to a third party — privacy promises are only worth as much as the operational discipline behind them.
This tool makes the upload structurally impossible. The PDF library (MIT-licensed, open source) loads into your browser tab and runs there. Your PDF travels from your disk into the browser memory, gets rotated, and lands as a download back on your disk — without the bytes ever leaving the device. No sign-up, no cookie banner for ad partners, no tracking.
Which PDF files are supported?
The tool handles every common PDF version (1.0 to 2.0). The full input behaviour:
Supported without restriction:
- Standard PDFs of any page size (A4, Letter, A5, landscape, mixed)
- PDFs with embedded fonts, raster images and vector graphics
- PDFs with interactive forms and annotations
- PDFs that already carry a
/Rotatevalue (scanner output) - Any number of pages — the ceiling is browser memory (~200 MB)
Handled with a hint:
- Very large files (>100 MB): a warning appears; processing may take a few seconds depending on your device
- Mixed-orientation scans: Auto-detect landscape proposes a per-page rotation in one click
Not supported:
- Files without a valid
%PDF-header (renamed non-PDFs): rejected with a clear error message - Password-protected PDFs: rejected with a clear error message — unlock them first, then load again
What happens to existing rotations?
A non-trivial detail. Some scanners and phone apps (Adobe Scan, CamScanner, ABBYY FineReader, most multifunction office printers) write landscape pages as physically portrait pages with /Rotate 90. The viewer rotates on display — the file itself carries a baked-in rotation already.
If you then apply 90° right to such a page, two behaviours are possible:
- Overwrite (what naive tools do):
/Rotateis bluntly set to 90. Result: the page is no longer double-rotated, but only single-rotated — looks wrong, the orientation is off. - Compose (what we do): the existing value (90) is added to the user delta (90) and normalised to {0, 90, 180, 270}. Result at 90° + 90° = 180°, which is exactly the rotation the user wanted to see.
The math is (existing + delta) mod 360, snapped to the nearest
multiple of 90. The preview reflects this correctly — the thumbnail
rotates by exactly the delta, without shifting the base angle.
What do users ask most about PDF rotation?
The most common questions about usage, privacy and the underlying mechanics:
Does my PDF get uploaded to a server?
No. All processing runs inside your browser. Your file never leaves your device — no server, no upload, no tracking.
How do I rotate a PDF by 90 degrees?
Load the PDF, tap 90° on the page you want or use Rotate all pages. Then click Rotate PDF and download the result. 90° right is clockwise, 90° left is counter-clockwise.
Can I rotate individual pages differently?
Yes. Each page has its own rotation control. You can leave page 1 at 0°, rotate page 2 by 90° and page 3 by 180°. The bulk “Rotate all pages” action overrides every per-page choice; per-page choices win when you change them after a bulk action.
What happens with password-protected PDFs?
Encrypted PDFs are rejected with a clear error message — the underlying library cannot open encrypted content. Unlock the PDF first in your PDF reader (for example Adobe Acrobat or macOS Preview) or use our PDF password remover and try again.
Will the file stay readable after rotating?
Yes. Rotation is a pure metadata edit — the page content stream is untouched. Fonts, embedded images, hyperlinks, form fields and annotations are preserved losslessly. The file size barely changes (usually within 1 KB).
What is the /Rotate flag?
/Rotate is an entry in the page dictionary of a PDF that tells the
viewer how to orient the page. Allowed values are 0, 90, 180 and 270
degrees. Rotation rewrites this value — the underlying page content
stays physically the same. It is part of the
PDF specification since 1993.
Why does my scanned page sometimes rotate twice?
Some scanners and phone apps write landscape pages with /Rotate 90
already baked in so viewers display them upright. When you apply 90°
right, this tool composes the values correctly: 90° + 90° = 180°, not
a double-flip. Naive tools simply overwrite the value, producing a
wrong-looking result.
How large can the PDF be?
There is no hard limit — the ceiling is your browser’s memory. Modern desktop browsers handle PDFs up to ~200 MB comfortably. For larger files the tool surfaces a hint banner; processing may take a few seconds depending on your device.
Which related document tools fit this workflow?
Other tools in the kittokit ecosystem that fit this workflow:
- Merge PDF — combine multiple PDFs into a single document losslessly, locally in your browser.
- Split PDF — extract page ranges or individual pages from a PDF without uploading.
- Remove PDF password — unlock encrypted PDFs before rotating or processing them further.
Last updated: