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 Download PNG creates and saves the result. Use Preview rotation if you want to check it first.

Files stay on your device

1. Choose your image

Open one image from your device.

Drop one image hereor

JPEG, PNG, WebP and other formats your browser can decode.

No image selected.

2. Set the angle

Rotation and background

Quick rotate

Positive angles turn clockwise; negative angles turn counterclockwise. Quick rotate adds to the current angle.

Fill the empty corners and any transparent source pixels, or keep them transparent.

Choose one image to begin.

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.

Export creates a still PNG, removes source metadata, and uses standard sRGB color. HDR and wide-gamut appearance may change. Browser canvas may round colors in partly transparent pixels.

How to rotate an image

Choose an image from your device or drop it into the dashed area; 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 Download PNG to create and save the rotated image. Preview rotation lets you check the result and its new dimensions first.

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.

  1. Choose your image

    Select Choose image or drop one image into the dashed area. The first preview shows the original oriented image.

  2. Set the angle and background

    Use Left 90°, Right 90° or 180°, or enter Angle (degrees). Pick Transparent or Solid color for empty corners.

  3. Save the rotated PNG

    Choose Download PNG to create and save the result. Preview rotation lets you check its dimensions first.

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. Browser canvas can round colors in partly transparent pixels, especially near full transparency. 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 entered angle always applies to the original, so repeat exports do not accumulate quality loss.

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. A new image replaces the current one only after it opens successfully. Leaving the page releases the loaded image, and Cancel & clear interrupts a run and clears it.

Questions

Which images and browsers can I use?

The tool tries your browser's native decoder, including JPEG, PNG and WebP. Other formats depend on browser support. Use a current browser that can create PNG images. Damaged or unsupported files show an error. Available memory and native canvas limits determine the largest image you can process. Use Cancel & clear to stop an operation.

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, then choose Download PNG to create and save it. Preview rotation shows the result and its dimensions without saving.

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 Download PNG to create and save the result, or Preview rotation to check it first.

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 Download PNG to save 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. Download PNG creates a new result with those settings.

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 Download PNG. Every result is a PNG, which can be larger than the original JPG. A PNG can keep the transparent corners that a custom angle leaves, which a JPG cannot.