Rotate an image by 90, 180, or any custom angle — expand to fit or keep the original size, entirely in your browser.
Use 90, 180, or 270 for quarter turns, or any value to straighten. The angle is validated and normalised to 0–360.
Expand-to-fit keeps the whole rotated image; keep-original-size crops it back to the starting dimensions.
Exposed corners are filled with your background color, or left transparent for PNG and WebP.
It shows the rotation angle, the canvas mode, and the final dimensions.
Rotate Image turns an image by any angle in your browser. Use 90, 180, or 270 for quarter turns, or enter a custom angle to straighten a crooked photo. The angle is validated and normalised to the 0–360 range.
You choose how the canvas behaves: expand to fit means the whole rotated image is kept and the canvas grows, while keep original size crops the rotated image back to the starting dimensions. Either way, exposed corners are filled with your chosen background, or left transparent for PNG/WebP.
Output can stay the same format as the input or convert to JPG, PNG, or WebP, and the result panel shows the rotation angle, the canvas mode, and the final dimensions.
Rotate by quarter turns or a custom angle; the value is validated and normalised so it never breaks the canvas.
Keep the whole rotated image on a larger canvas, or crop it back to the original size.
Fill the exposed corners with a background color, or keep them transparent with PNG or WebP.
Your image is rotated in your browser and never uploaded to a server.
Turn a sideways or upside-down photo the right way up with a 90 or 180 rotation.
Enter a small custom angle to straighten a slightly tilted horizon or document.
Rotate an image to any angle for a layout or design.
Rotate an image from a phone, tablet, or computer browser with the file staying local.
No. The rotation is performed in your browser with the HTML canvas, and your image is never uploaded to imgtoolsbase or any server.
Yes. Choose “keep the original canvas size” and the rotated image is cropped back to the starting dimensions; choose “expand to fit” to keep the whole rotated image on a larger canvas.
Yes. Enter any angle, such as 3 or -2 degrees, to straighten a tilted photo. The angle is normalised to 0–360 and validated.
When you expand to fit, the new corners are filled with your background color, or left transparent if you output PNG or WebP.
Keep the same format as the input or convert to JPG, PNG, or WebP. The result panel shows the angle, canvas mode, and final size.
Tools that pair well with Rotate Image.