About the Rotate Image
Rotate Image turns a picture by a quarter turn, a half turn, or any whole-degree angle, and flips it horizontally or vertically. It is handy for fixing sideways phone photos and scans, mirroring selfies, or straightening a crooked shot.
How it works
For an angle θ, the tool sizes a new canvas so the whole rotated image fits: the new width is |w·cos θ| + |h·sin θ| and the new height is |w·sin θ| + |h·cos θ|. At 90° and 270° this simply swaps width and height; at 180° it stays the same.
It then moves the drawing origin to the canvas center, rotates by θ clockwise, applies any flips, and draws the image centered on that point. At angles that are not quarter turns the empty corners are transparent, white or black as you choose; JPEG can't store transparency, so there they're white.
How to use
- 1
Drop an image on the box or click it to choose one; it is turned 90° to the right straight away.
- 2
Use Left 90° and Right 90°, the flip buttons, or the Angle slider to straighten a photo.
- 3
For angles that aren't a quarter turn, choose what fills the corners.
- 4
Check the preview, then click Download.
Worked examples
Fixing a sideways portrait
A 4032 × 3024 photo appears lying on its side.
Width and height swap at quarter turns.
A tilted graphic
A 400 × 200 banner rotated for a playful layout.
Width = 400·cos30° + 200·sin30° ≈ 346.4 + 100 = 446.4; height = 400·sin30° + 200·cos30° = 200 + 173.2 ≈ 373.2.
Frequently asked questions
Can I rotate an image by a custom angle, not just 90 degrees?+
Yes. Use the Angle slider to pick any whole number of degrees from 0 to 360.
Will rotating change the image's dimensions?+
At 90° or 270° the width and height swap. At other angles the image grows so the rotated picture fits completely, and the corners are filled with the color you pick.
Which direction does it rotate?+
Clockwise. 90° turns the top of the image to the right side.
Does rotating reduce quality?+
Quarter and half turns and flips move pixels without loss. Other angles require resampling, which softens fine detail slightly. Saving as JPEG or WebP adds normal compression on top.
What format is the rotated image saved in?+
By default the same kind as the original (JPEG stays JPEG, others become PNG), or PNG, JPEG or WebP if you choose. The file name ends in -rotated.