Rotate and flip

Fix a sideways photo, or mirror a selfie, and save it so it stays the right way round in every app.

or drop them here · files stay on your device
We count formats and sizes. Filenames stay private unless you opt in.

Output format
Rotate
Mirror horizontally
Quality82
Processed on this device
  • Runs on your device
  • No sign-up or watermark
  • No fixed file size cap

The short answer

To rotate an image, open it and choose 90° clockwise, 90° anticlockwise or 180°; switch on Mirror horizontally to flip it. The rotation is baked into the pixels, so the picture looks the same in every viewer, and it happens in your browser without uploading. For a vertical flip, choose 180° together with the mirror.

How to rotate a picture 90 degrees or flip it

  1. STEP 1

    Open your images

    Drop one or more photos on the page. All selected images get the same rotation.

  2. STEP 2

    Choose the rotation

    Pick 90° clockwise (the default), 90° anticlockwise, 180° or No rotation from the Rotate menu.

  3. STEP 3

    Mirror if needed

    Switch on Mirror horizontally to swap left and right. Combine it with 180° to flip the image upside down instead.

  4. STEP 4

    Choose format and save

    JPEG is the default output; pick PNG to keep transparency. Download the rotated file or a ZIP of the batch.

Why photos end up sideways

Cameras and phones usually store the sensor image as it was captured and add an orientation tag that tells viewers how to turn it. When software ignores that tag, or strips it without applying it, a perfectly good photo appears on its side.

Rotating the pixels themselves removes the problem for good: the image is the right way up without relying on any tag. Mirroring is different from rotating. It swaps left and right, which is how you undo the reversed text in a front-camera selfie or a scan made from the wrong side.

What survives, and what does not

The image is drawn onto a new canvas that swaps width and height for quarter turns, rotated around its centre and optionally mirrored, then encoded in the format you choose. Rotations are exact multiples of 90 degrees, so no corners are cut off and no background shows. Because the image is re-encoded, a JPEG goes through one more round of lossy compression; quality 82 is the default.

What you keep

Every pixel; quarter turns never crop the image

Full resolution, with width and height swapped for 90° turns

Transparency, if you save as PNG or WebP

What you lose

Arbitrary angles; only 90°, 180° and 270° turns are available

Lossless JPEG rotation; the file is re-encoded at your chosen quality

EXIF metadata, and transparency when the output is JPEG

Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.

Rotate and flip at a glance

InputJPEG, PNG, WebP, AVIF, HEIC, TIFF and more
OutputJPEG, PNG, WebP or AVIF
Rotation90° clockwise, 90° anticlockwise, 180°
FlipHorizontal mirror; vertical via 180° plus mirror
BatchYes
Runs onYour device, in the browser

If something goes wrong

My photo was already upright here but sideways elsewhere

The viewer that showed it sideways is ignoring the orientation tag. Current browsers apply that tag when they decode the photo, so saving it here with No rotation selected usually writes a copy that is upright in the pixels themselves. If not, rotate it until it looks right in the preview.

I need to straighten a slightly tilted horizon

This tool only turns in 90° steps. Small-angle straightening needs an editor with a free rotation control.

The transparent background turned white

The default output is JPEG, which cannot hold transparency. Change Output format to PNG or WebP.

Rotate and flip questions

How do I rotate a photo and save it permanently?

Choose the rotation here and download the result. The new file has the turn applied to its pixels rather than stored as a tag, so it stays rotated in every app, website and printer you send it to.

How do I flip an image vertically?

Choose 180° and switch on Mirror horizontally. Turning a picture half a circle and then mirroring it left to right gives exactly an upside-down mirror image, which is a vertical flip.

How do I mirror a selfie so the text reads correctly?

Open the photo, set Rotate to No rotation and switch on Mirror horizontally. Writing that appeared backwards in a front-camera shot now reads normally.

Does rotating a JPEG reduce its quality?

Slightly, because the image is re-encoded. At the default quality of 82 the change is hard to see; raise Quality towards 95 or save as PNG if you want to avoid any additional loss.

Is the photo uploaded when I rotate it?

No. The rotation is drawn on a canvas inside your browser. You can rotate a batch of private photos with the network switched off once the page has loaded.

Can I rotate several images at once?

Yes, as long as they all need the same turn. Select them together, choose the rotation once and download everything as a ZIP. Photos needing different turns are best done in separate passes.

One of 153 file tools and planned additions. Built and tested by Arin Prajapati, last checked against the code on . canonical: https://damnfiles.com/rotate-image
Analytics preferences

Help us understand which tools and file types people use. File contents always stay on your device.

Filename sharing is optional and off by default. Names can contain personal information. Changes apply to future events; disabling sharing does not delete earlier records.

Read our privacy policy