↑↓ to move ↵ to open Esc to close Browse all tools

Rotate and Flip Image

Turn photos left, right or upside down, straighten them by any angle, and flip or mirror them horizontally or vertically, one image or a whole batch.

Rotate and flip images

Your images are rotated by your own browser. Nothing is uploaded.

How rotating and flipping works

The tool opens each image in your browser and draws it again on a canvas, turned or mirrored the way you set it, then saves the result as a new file. Your original stays untouched. Because the work happens on your own device, it is quick even for a stack of large phone photos, and nothing is uploaded anywhere.

  • Left 90° and Right 90°: turn the picture a quarter turn counterclockwise or clockwise. Width and height swap, so a landscape photo becomes portrait.
  • 180°: turns the picture upside down. Width and height stay the same.
  • Flip horizontal: mirrors the image left to right, like the reflection in a mirror. Use it to undo a mirrored selfie or to face a product photo the other way.
  • Flip vertical: mirrors the image top to bottom, like a reflection in water.
  • Any angle: turns the image by a free number of degrees, for example 1.5 to level a crooked horizon.

Flips always work on the picture as you see it in the preview. If you have turned a photo by 90 degrees and then press Flip horizontal, the left and right of what is on your screen swap, not the left and right of the original file. The order of your clicks therefore matches what you see, and the file list sums up the result in plain words, like "turned 90° right, mirrored horizontally".

Rotate, flip or mirror?

These words get mixed up a lot, so here is the difference in short. Rotating turns the picture around its center and never reverses it: text in a rotated photo still reads normally once you tilt your head. Flipping, also called mirroring, reverses the picture along a line: text in a flipped image reads backwards.

You want toUse
Fix a photo that lies on its sideLeft 90° or Right 90°
Fix a photo that is upside down180°
Undo the mirror effect of a front camera selfieFlip horizontal
Make a reflection for a designFlip vertical
Level a slightly tilted horizonAny angle with Crop to fit

Two flips cancel each other out, and flipping both horizontally and vertically gives exactly the same picture as a 180 degree turn. Four quarter turns bring you back to the start. If you lose track, press Reset and begin again.

Straightening by any angle

A picture turned by an angle that is not a multiple of 90 degrees no longer fills a rectangle, so its corners stick out. The tool gives you two ways to deal with that:

  • Expand canvas: the new image is just large enough to hold the whole turned picture. The empty triangles in the corners are transparent, white, black or a color you pick. This suits logos, stickers and design elements, or a picture you want to place on a colored page.
  • Crop to fit: the tool cuts out the largest rectangle with the shape of the original that has no empty corners. The photo stays a clean rectangle, a little smaller than before. This is the usual choice for straightening a crooked horizon or a scanned page.

Small angles are typical for straightening: most crooked photos are off by one to five degrees. Use the slider to get close, then type an exact value such as 2.3 in the box. Positive numbers turn clockwise and negative numbers turn counterclockwise. Turning by a free angle has to compute every pixel anew from its neighbors, so very fine detail gets a little softer. Quarter turns and flips do not have this problem, because every pixel simply moves to a new place.

Only PNG and WebP can store transparent corners. JPG has no transparency, so transparent corners in a JPG file turn white. Pick PNG or WebP under Save as if you need them see-through.

Why phone photos sometimes show up sideways

Many cameras and phones store the pixels in the direction the sensor reads them and add an Orientation tag to the EXIF data that says how to turn the picture for display. Browsers follow that tag by default; MDN documents this as the default value of the CSS image-orientation property. A program that does not apply the tag shows the photo on its side.

This tool opens every photo upright according to its tag, as your browser shows it, so the preview matches what you saw in your gallery. The copy you save has the turn built into its pixels and carries no EXIF data, so it no longer depends on any tag and looks the same in every app. The camera details, date and location from the original are not copied either. To look at that metadata first, or to remove it without rotating, use the EXIF viewer and remover.

Formats and quality

With Save as set to Original, each file keeps its format: a JPG stays a JPG, a PNG stays a PNG and a WebP stays a WebP. GIF and BMP files are saved as PNG, and HEIC photos from an iPhone and AVIF files are saved as JPG. Animated GIFs lose their animation: browsers hand the tool a single still frame, which the HTML standard defines as the default image of the animation, or the first frame. You can also convert everything to one format in the same step.

PNG is lossless, so the pixels are saved exactly. JPG and WebP are compressed, and the quality slider decides how much: higher means better quality and larger files. The default of 92 is hard to tell apart from the original for most photos. Each time a JPG or WebP file is saved, it is compressed again, so for repeated edits it helps to keep a high quality or work in PNG until the last step. To make files smaller afterwards, the image compressor helps, and the image cropper can trim a rotated photo to an exact shape.

How to use the rotate and flip tool

  1. 1Drop one or more images on the box, choose them from your device, or paste an image. Phone photos open upright.
  2. 2Press Left 90°, Right 90°, 180°, Flip horizontal or Flip vertical, or set any angle. With several images, switch off Apply to all images to fix one at a time.
  3. 3Pick the corners, background and format, check the preview, and download one image or all of them as a ZIP.

Frequently asked questions

How do I rotate a photo by 90 degrees?

Drop the photo on the box and press Right 90° to turn it clockwise or Left 90° to turn it counterclockwise. Press 180° to turn it upside down. The preview updates right away, then press Download to save the rotated copy.

What is the difference between rotating and flipping?

Rotating turns the whole picture around its center, so nothing is reversed and text stays readable. Flipping mirrors it: Flip horizontal swaps left and right like a mirror held to the side, Flip vertical swaps top and bottom. Flipping both ways gives the same picture as turning it by 180 degrees.

Can I rotate many images at once?

Yes. Drop as many images as you like. With Apply to all images switched on, every button and the angle slider change all of them together. Switch it off to fix one image at a time: pick it in the list and use the same buttons. Download each file on its own or all of them as one ZIP file.

How do I straighten a tilted photo?

Drag the angle slider or type an angle, like 2.5 for a slight turn to the right or -2.5 for a turn to the left, until the horizon looks level. Choose Crop to fit to cut off the empty corners and keep the shape of the photo, or Expand canvas to keep every pixel and fill the corners with a color or transparency.

Does rotating lower the quality?

Turns in 90 degree steps and flips move whole pixels, so nothing is blurred. A free angle has to recalculate every pixel, which softens fine detail slightly. JPG and WebP files are saved again with the quality you set, 92 by default; PNG files are saved without loss.

Why is my phone photo sideways in some apps?

Cameras often store the picture in one direction and add an Orientation tag that tells viewers how to turn it. This tool opens your photo the way the tag says, as browsers show it, and saves the pixels upright. The saved copy has no tag to depend on, so it looks the same everywhere.

Are my images uploaded?

No. Your browser opens, turns and saves every image on your own device. Nothing is sent to a server, so private photos stay private.