Rotate image to any custom angle
Rotating an image turns it by a quarter turn or by any custom angle you type in, filling the empty corners with a transparent or solid background. The rotation runs in your browser, and the preview shows the turned image and its new size before you select Download PNG.
1. Choose your image
Open one image
JPEG, PNG, WebP and other formats your browser can decode.
No image selected.
3. Your rotated image
Your image will appear here.
Your rotated PNG will appear here.
The canvas expands to keep every corner. The checkerboard shows transparency and is not part of your download.
Download PNGExport creates a still PNG, removes source metadata, and uses standard sRGB color. HDR and wide-gamut appearance may change.
How to rotate an image
Choose an image from your device; the first preview shows the original at its decoded orientation. Under Quick rotate, select Left 90°, Right 90° or 180°, or type any angle such as 12.5 or -30 in Angle (degrees). Then pick Transparent or Solid color under Background for the corners that open up. Choose Rotate image to see the actual rotated result and its new dimensions, then Download PNG.
Reset angle sets the angle back to 0. Each Quick rotate button adds its turn to the angle already entered and keeps the result between 0 and 360 degrees.
- Choose an image from your device. The first preview shows the original oriented image.
- Choose a quarter turn or enter an angle, then select the background for empty corners.
- Choose Rotate image to see the actual result and dimensions, then Download PNG.
Quarter turns versus custom angles
A 90-degree or 270-degree turn swaps width and height exactly and moves the decoded pixels without resizing or resampling, since a right angle needs no interpolation. A 180-degree turn keeps the same width and height. Any angle that is not a multiple of 90 makes the canvas larger so that no corner is cut off. The size usually grows, and the browser's smoothing can soften edges slightly.
The tool works out the new size and rounds it up to whole pixels. A 1000 x 500 image turned 30 degrees becomes 1117 x 934 pixels. A quarter turn is exact: a 4000 x 3000 photo turned 90 degrees becomes exactly 3000 x 4000, with no extra row of pixels. The result line shows the new size next to the original, and the download has that size.
What rotating changes
Transparent background mode keeps the source's own transparency and leaves any new corners fully transparent; solid mode fills both the new corners and any transparent source pixels with one chosen color. Every download is one still PNG frame with no EXIF data from the source. The photo's orientation tag is applied first, so a phone picture turns from the way you see it on screen.
Browser decoding and sRGB export can shift wide-gamut or HDR colors slightly, and a rotated PNG can be larger than the source file even though rotation itself is not a compression step. The output preview uses a checkerboard pattern to mark transparent areas; that pattern is not part of the downloaded file. The result panel states the exact output dimensions next to the original ones, the rotation in degrees, and whichever background choice was applied.
Limits
A custom angle enlarges the canvas beyond the source size, so a very large photo can fail to export at 30 degrees while the same photo still works at 90; if that happens, the page keeps your image and settings and names the size it could not create. The angle field itself accepts any finite number of degrees, including decimals and negative values, and a blank or non-numeric entry shows an inline error rather than a silent default.
Beyond that, this tool sets no size or dimension limit of its own: your browser's available memory and canvas support decide what it can produce, and a quarter turn needs the least extra canvas so it succeeds most often. Only one image can be open at a time; choosing a new one or leaving the page releases whatever is loaded, and Cancel & clear interrupts a run in progress before you switch.
Questions
How do I rotate an image?
Choose an image from your device, then pick a quarter turn or type a custom angle in degrees. Select a transparent or solid background for any corners the rotation leaves empty, choose Rotate image to see the actual result and its new dimensions, then download the PNG.
Which button do I use to rotate the image?
Use Left 90° or Right 90° under Quick rotate for a quarter turn, or 180° to turn the image upside down. For any other angle, type it into Angle (degrees). Then select Rotate image to render the result and show the Download PNG button.
How do I rotate an image from horizontal to vertical?
A 90 or 270 degree turn swaps width and height exactly, turning a horizontal image vertical or a vertical image horizontal. Select Left 90° or Right 90° under Quick rotate, or type 90 or 270 into Angle (degrees) directly, then choose Rotate image to export the swapped-dimension result.
Can I rotate an image by an exact angle, not just 90 degrees?
Yes. The angle field accepts any finite number of degrees, including decimals such as 12.5 and negative values for a counterclockwise turn. Angles that are not a multiple of 90 degrees expand the canvas so no corner of the rotated image is cropped in the exported PNG.
Does rotating an image change its quality or dimensions?
Quarter turns move decoded pixels without resizing; a 90-degree or 270-degree turn swaps width and height exactly. Other angles use browser interpolation and expand the canvas to avoid cropping corners, so dimensions usually grow and edges may soften slightly in the exported PNG.
What happens to transparency when I rotate an image?
Transparent keeps the image's own transparency and leaves the new corners empty. Solid color fills the new corners and any transparent pixels in the image with the color you pick in Background color, which starts at white. Changing Background or Background color afterward clears the current result until you select Rotate image again.
Does my image leave my device when I rotate it?
No. Decoding, turning and saving the PNG all happen in your browser tab. Nothing is uploaded or kept by this tool, and Clear image releases the picture from memory. No image data leaves your device at any point, including while you try different angles and backgrounds.
How do I rotate a JPG image?
Choose the JPG, set the angle, then select Rotate image. The download is a PNG, not a JPG, so it is often larger than the original. A PNG can keep the transparent corners that a custom angle leaves, which a JPG cannot.
Related tools
- Flip the image instead of rotating it: mirror it horizontally or vertically.
- Resize the rotated PNG: bring the larger canvas back to the size you need.
- Crop away the empty corners: trim a rotated image back to a rectangle with no background.
- Straighten a tilted photo: level a crooked horizon against alignment guides, with an optional corner crop.