Rotate PDF
Turn PDF pages 90°, 180° or 270° in your browser: every page, a page list such as 2, 5, or just the odd or even pages. Or set pages to an exact angle. Only the page’s rotation entry changes, so nothing is re-rendered.
How to Use
- Drop a PDF on the box or click to browse. A 6-page sample with two sideways pages is loaded, so the presets work straight away.
- Pick the turn: 90° clockwise, 180° or 270° (90° counter-clockwise).
- Type the pages to turn, such as
2, 5,4-,oddoreven; leave it blank for every page. - Choose Add to the current angle, or Set the angle exactly to put pages at that angle whatever they were stored at.
- Check the previews (each one is drawn the way the page will display) and press Download.
Worked Example
A sideways scanned page. An A4 page is stored as 595.28 × 841.89 pt with /Rotate 90, so it displays turned a quarter clockwise, 841.89 pt wide and 595.28 pt tall. Turning it 270° more gives (90 + 270) mod 360 = 360 mod 360 = 0°: the page displays upright again, 595.28 × 841.89 pt, which is 210 × 297 mm.
Every even page of a 6-page document. The list even means pages 2, 4 and 6. Turned 90° from 0°, each one now shows 841.89 × 595.28 pt, landscape, while pages 1, 3 and 5 stay portrait. Three pages change, and the only thing written differently is three /Rotate numbers: no text or image is touched.
The common mistake: adding a turn to a page that is already turned. If that sideways page from the first example is given another 90°, the result is (90 + 90) mod 360 = 180°: upside down instead of upright. Check the stored angle in the previews or Show Work, turn by the difference, or choose Set the angle exactly with 0°, which puts the page back to the orientation it was created in whatever it is stored at now.
Show Work
Formulas
The /Rotate Entry
The PDF standard, ISO 32000, gives every page object an optional /Rotate entry: the number of degrees by which the page is rotated clockwise when displayed or printed. The value must be a multiple of 90, the default is 0, and it is inheritable, so a /Rotate on a /Pages node applies to every page under it unless a page sets its own. That one number is what this tool rewrites. The page’s content stream and its /MediaBox, the page size in units of 1/72 inch, stay exactly as they were.
Because the turn is applied when the page is shown, a viewer that honours the standard always displays the same result, and printing follows it too. It also explains the common surprise of a page coming out upside down: tools that add a quarter turn add it to whatever angle is already stored. PDF has worked this way since Adobe published PDF 1.0 in 1993; the rule carried into ISO 32000-1:2008 and PDF 2.0, ISO 32000-2.
About This Tool
This tool turns every page, a page list, or the odd or even pages of a PDF by 90°, 180° or 270°, or sets them to an exact angle. It reads each page’s stored rotation first, previews the first 24 pages as they will display, and shows the sum for every page in Show Work. Settings can go in the page address, for example ?angle=270&pages=2,5.
It runs on the site’s PDF engine, the same one behind the PDF Workbench, so the file is read and written in your browser and never uploaded. Encrypted PDFs are detected and explained instead of being saved with blank pages.
Related tools: PDF Workbench, Split PDF, and PDF Info.
Frequently Asked Questions
Does rotating a PDF lower its quality?
No. Every PDF page has a /Rotate entry that tells viewers and printers how far to turn it, and that number is the only thing this tool changes. The text, images and drawings on the page are not touched, re-rendered or re-compressed, so the quality is identical. The file is saved again, so its size can differ slightly from the original, but no page content changes.
Which way does 90° turn the page?
Clockwise, as the PDF standard defines it. 270° clockwise ends in the same place as 90° counter-clockwise, which is why the 270° option is labelled that way. 180° turns a page upside down. Only these steps are allowed: the standard requires the rotation to be a multiple of 90°.
Why did my page end up upside down?
It was probably already stored with a rotation. A page that shows sideways because it is stored at 90° needs another 270°, not another 90°: 90 + 90 = 180, which is upside down. The previews and Show Work show each page’s stored angle before you save. If you just want pages upright, use Set the angle exactly with 0°.
Can I rotate a password-protected PDF?
Not here, and the tool explains why when you drop one. A PDF that needs a password to open cannot be read without it. One with only a permissions password opens freely, but its contents are stored encrypted, and saving a new copy without the key would leave the pages blank. Print it to a new PDF from a reader first, then rotate that copy.
Is my PDF uploaded, and will the rotation stick?
Nothing is uploaded: the file is read and saved in this browser tab. The new angle is written into the file itself, so the pages open the right way in every PDF viewer and print that way, unlike turning the view in a reader, which is forgotten when you close it.
How do I use the Rotate PDF?
Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.
Is it free? Does it work without internet?
Yes to both. It is free with no sign-up, and once the page has loaded it keeps working even with no internet.
Where does my data go?
Nowhere — every calculation runs on your own device. Nothing you enter is uploaded, logged, or stored.
Common Use Cases
Fix a few sideways scans
Pages 2 and 5 of a 6-page scan came out sideways at 90°: turn just those 270° more to bring them back to 0°.
Turn a landscape table
Page 14 of a report is a wide table printed in portrait: turn that one page 90° so it reads across the screen.
Fix a two-sided scan
A duplex scanner flipped every back side: turn the even pages 180° and all 40 pages read the same way up.
Reset odd angles
Pages of a merged file are stored at 0°, 90° and 270°: Set every page to 0° so each one displays the way it was created, unrotated.
Last updated: