Image Rotator

Rotate an image 90° left, 90° right, or 180°, then download the result as a lossless PNG.

Image Tools● Free No upload Instant

Loading Image Rotator…

Your browser is preparing the tool. It runs 100% locally.

Quick answer

Upload an image and rotate it with three buttons: 90° right, 90° left, or 180°. A quarter turn swaps the width and height, and clicks add up, so two rights equal a 180° turn. The result downloads as a lossless PNG. Your device does the work, and the image is never uploaded.

What the Image Rotator does

This tool rotates an image in 90-degree steps. Three buttons cover the common cases (a quarter turn clockwise, a quarter turn anticlockwise, a half turn), and the rotations are cumulative, so you can click your way to any multiple of 90 degrees.

Rotation happens on a canvas and the output is a PNG, a lossless format, so the rotated pixels are saved exactly.

How it works

Drop or pick an image. It shows in the preview at its current rotation, starting at 0 degrees.

Each button adds plus 90, minus 90 or 180 degrees to the rotation, wrapping around 360. For a quarter turn the canvas swaps width and height so the whole picture fits with no cropping.

Download saves the rotated canvas as a PNG with your original base name. The canvas re-encode means EXIF and GPS tags are dropped.

Processing pipeline

  1. Decode locally. The browser reads your file and decodes it into pixels without uploading it.
  2. Track the rotation. Each button click adds 90, minus 90 or 180 degrees, kept as a running total.
  3. Draw onto a fitted canvas. The image is rotated onto a canvas sized to fit, swapping width and height for quarter turns so nothing is clipped.
  4. Download the PNG. The rotated canvas is exported as a lossless PNG with your original base name.

Privacy

Your browser rotates the image. There is no server, so nothing is uploaded.

The canvas re-encode strips all EXIF and GPS metadata, including the original orientation tag, so the pixels are physically rotated rather than relying on a flag.

You don't need an account and the site keeps no copy, so everything is gone once you close the tab.

Technical details

Rotation steps90° left, 90° right, 180°
Output formatPNG (lossless)
Quarter turnSwaps width and height
BehaviourCumulative (clicks add up)
DimensionsPreserved, no cropping
MetadataEXIF/GPS stripped on re-encode
Processing100% in-browser

Standards & references

  • Canvas 2D rotation: The image is rotated with the canvas transform (translate then rotate) and re-drawn; for 90° and 270° the canvas dimensions are swapped so nothing is clipped.
  • PNG (lossless): Output is PNG, so a 90° rotation adds no compression loss, unlike re-saving a rotated JPEG, which would recompress the whole image.

Accuracy and limits

Rotation is in fixed 90° steps only, with no arbitrary angles and no straightening. For a small tilt fix, such as 3 degrees, this is not the tool.

The output is a lossless PNG, so a rotated photo keeps full quality, but the file is larger than the equivalent JPEG. That is the trade-off versus rotating a JPEG in place, which would recompress and lose a little each time.

A quarter turn swaps the width and height, so a 4000×3000 photo becomes 3000×4000. A 180° turn keeps the dimensions.

The canvas re-encode drops EXIF, including the orientation flag, so the downloaded image is physically rotated rather than depending on a tag that some viewers ignore.

Where people use it

Fix a sideways phone photo

Turn a picture that came in rotated by a quarter back upright.

Straighten a scan

Reorient a page or document that was scanned the wrong way round.

Flip an upside-down image

Use the 180° button for a picture that is the wrong way up.

Reorient before sharing

Get the image facing the right way before you crop, post or print it.

When it fits, and when it doesn't

Good for

  • Quarter and half turns (90, 180, 270)
  • Fixing sideways phone photos or scans
  • Keeping full quality with a lossless PNG

Not the best choice for

  • Straightening by an arbitrary angle such as 3 degrees
  • The smallest file, since a PNG of a photo is large
  • Mirroring (use the image flipper for that)

To mirror an image use the image flipper; to straighten by a free angle you need a full editor; to shrink the rotated PNG, use a converter or the image compressor.

Frequently asked questions

What angles can I rotate?
90 degrees right, 90 degrees left, or 180 degrees. The buttons are cumulative, so for 270 degrees you can click right three times or left once.
Can I rotate by an arbitrary angle like 5 degrees?
No. This tool works in fixed 90-degree steps. It is for quarter and half turns, not for straightening a slightly tilted photo.
Is the rotation lossless?
Yes. The output is a PNG, a lossless format, so rotating does not recompress or degrade the image the way rotating and re-saving a JPEG would.
Does a 90° turn change the dimensions?
Yes. A quarter turn swaps width and height, so a 4000×3000 image becomes 3000×4000. A 180° turn keeps the same dimensions.
What format do I get?
A PNG, saved with your original base name. The output is always PNG regardless of the input format.
Will the file get bigger?
A PNG of a photo is usually larger than the original JPEG. If size matters, run the rotated PNG through a converter or the image compressor afterwards.
Does it physically rotate the pixels or just set an orientation flag?
It physically rotates the pixels. The canvas re-encode strips EXIF, including the orientation tag, so the image looks correct everywhere, even in viewers that ignore that tag.
Can I rotate a transparent PNG?
Yes. Transparency is preserved, because the output is PNG, which supports an alpha channel.
Is my image uploaded?
No. The rotation happens in your browser, with no server and nothing stored.
How do I rotate 270 degrees?
Click the 90° right button three times, or the 90° left button once. The rotation accumulates as you click.
Does it mirror or flip the image?
No. Rotating turns the image around; mirroring is a different operation. For a horizontal or vertical mirror, use the image flipper.
Does it strip metadata?
Yes. The canvas re-encode removes all EXIF and GPS data, so the rotated image carries no camera or location tags.

References

Rotates on an HTML canvas in 90° steps, swapping width and height for quarter turns, and exports a lossless PNG in your browser; the canvas re-encode also strips EXIF and GPS metadata. Clicks are cumulative, so two right turns make 180°.

PopularHot

Image Compressor

Drag the quality slider and watch the JPEG size drop.

ImageOpen
PopularNo Upload

Image Resizer

Set exact pixel dimensions with the aspect ratio locked.

ImageOpen
Popular

Image Cropper

Drag a box and keep only that part of the picture.

ImageOpen
Popular

Favicon Generator

Make 16, 32 and 180 pixel favicon PNGs from one image.

ImageOpen
Popular

Image to PDF

Put JPGs or PNGs into one PDF, one image per page.

ImageOpen
Trending

PNG to WebP Converter

Shrink a PNG to WebP and keep the transparency.

ImageOpen

Back to the Image Rotator

Your image stays on this device. There's no account and no charge.