How image rotation works
An image is a grid of pixels. Rotating it by 90, 180 or 270 degrees does not require inventing any new pixels: each pixel simply moves to a new position in the grid. That is why these three angles are special. The picture stays exactly as sharp as before, with no smoothing or resampling.
A 180-degree turn keeps the same width and height. A 90 or 270-degree turn swaps them, so a landscape image becomes portrait and the other way round. This tool handles that for you by making a new canvas with the width and height swapped, and then drawing the picture rotated around its centre.
Rotation here is clockwise. A 90 degree turn moves the top of the picture to the right side. A 270 degree turn is the same as turning 90 degrees counterclockwise.
Common reasons to rotate a picture
The classic case is a photo that arrives sideways. Phones and cameras can record orientation separately from the pixels, and some programs ignore that note, so a picture can look correct in one place and turned in another. Rotating and saving it bakes the right orientation into the pixels.
Other cases include scanned pages placed on the scanner the wrong way round, screenshots taken in an unexpected orientation, and graphics that need to be vertical for a layout. A 180 degree turn fixes pictures that are upside down.
For a mirror image instead of a turn, Flip Image is the right tool, since rotation and mirroring are different operations.
How to rotate an image with this tool
- Drag an image onto the drop area, or click it to choose a file. Any image type your browser can open will work.
- You see the Original on the left with its file name, size and pixel dimensions.
- Choose an angle with the 90°, 180° or 270° buttons. 90° is selected by default.
- Click Rotate. The turned picture appears under Result, along with a size comparison.
- Click Download to save it. The file name is your original name followed by -rotate, and it keeps the original file type.
- Start over lets you load a new image.
Everything runs in your browser; nothing is uploaded.
Tips and limits
Each click on Rotate starts again from your original picture and applies the angle you selected. The angles are not cumulative, so choosing 90 degrees twice does not give 180 degrees. If you want 180, press the 180 button.
Only the three right-angle turns are offered. There is no slider for tilting by a few degrees to straighten a horizon. For that kind of correction you would need a dedicated editor.
The output keeps the source format, so a JPG stays a JPG. Saving a JPG again re-encodes it, and a tiny quality change can occur, although it is normally invisible. Animated images are not supported in the sense that only a single frame is drawn onto the canvas.
After turning an image, you may want to trim it with Crop Image.