Rotate PDF pages
Turn sideways or upside-down PDF pages the right way up, free and with no watermark. Rotation is lossless and the document is never uploaded.
How it works
A PDF page carries a /Rotate attribute that tells any viewer how to orient it before display. This tool reads that value with @cantoo/pdf-lib, adds your chosen turn, normalises the result into the range 0 to 359, and writes the document back. No pixels are touched and nothing is re-encoded, which is why the file size barely changes and there is no quality loss whatsoever. Existing rotation is respected rather than overwritten, so applying 90° twice gives 180°.
What to watch out for
A handful of older print drivers read the raw page geometry and disregard the /Rotate attribute, so a page that looks correct on screen prints sideways. If that happens, the fix is at the print dialog rather than in the file.
This applies exact quarter turns only. A page scanned at a five-degree angle needs deskewing, which means resampling the image and is a different operation with real quality cost.
An encrypted document cannot be parsed without its password, so the tool reports it by name instead of writing out a file that has not actually been changed.
Limits
Files up to about 200 MB work reliably. Beyond that, the ceiling is your device's memory rather than any rule we impose — the work happens on your own machine. Tested in Chrome 140, Firefox 143, Safari 18.
The cheapest possible edit
Rotation is unusual among PDF operations in costing nothing at all, and knowing why is genuinely useful.
Every page in a PDF has an attribute recording how it should be turned before being shown. Viewers read it and orient the page accordingly. Changing that number does not touch a single pixel of content: the text, the images and the fonts are all left exactly as they were.
The practical consequence is that this operation is perfectly lossless and can be repeated without any accumulating damage. Contrast that with rotating a JPEG, where naive tools decode and re-encode the picture and lose a little quality every time.
Rotating only some pages
The common real-world case is a document that is mostly fine with a few sideways inserts — a contract where the signature page was scanned in landscape, or a report with wide tables turned to fit.
Leaving the page field empty rotates everything. Filling it in restricts the change
to those pages, using the same notation as a print dialog: 3 for one page,
4-9 for a range, 1, 5, 8- for a mixture, where the open-ended part runs to the
end of the document.
Turns are cumulative on top of whatever rotation a page already has. If a page is already at 90° and you apply another 90°, it ends up at 180° rather than being reset. This matters when a scanner has already tagged some pages, and it means you can correct a mixed document in a single pass.
When rotation is not the answer
Two problems look like rotation and are not.
A page scanned slightly askew needs deskewing, not rotation — the correction is a few degrees, which requires resampling the page image and therefore loses quality. Rotation here is restricted to exact quarter turns for that reason.
A page that is the wrong shape, portrait content on a landscape sheet with wide margins, needs cropping or resizing. Rotating it will only put the margins somewhere else.
Your files never leave your browser. Last updated 2026-07-31.
Next step
Your file is already here in this browser, so the next tool starts with it loaded.
Related tools
- Split a PDFExtract pages from a PDF free, either as one file or as a separate file per page. No signup, no watermark, no page limit, and no upload.
- Delete pages from a PDFRemove unwanted pages from a PDF free, with no page limit or watermark. Blank scans, cover sheets and duplicates go without re-uploading the file.