Skip to the content

Contact usFree tools · No signup · Files stay on your device

Image Tools

Rotate & Flip Image: the complete guide to straightening and mirroring photos

Rotate & Flip Image: the complete guide to straightening and mirroring photos

A photo that lies on its side, a selfie that has come out as a mirror image, a horizon that slopes by two degrees: these are all small jobs that should not need an editing app. Our free Rotate & Flip Image tool turns, mirrors and straightens pictures in your browser, with a live preview, and it can do the same to up to 50 images in one go. It suits phone photos, scanned certificates, product pictures and anything else that is not the right way up.

This guide walks through every control on the page, explains what happens to the size and the corners when you rotate, and covers the problems people run into most.

What Rotate & Flip Image does

The tool takes one or more pictures, applies a rotation and an optional flip, and saves new files. It can:

  • Turn by 90 degrees to the left or right, or by 180 degrees.
  • Flip horizontally (left and right swap) or vertically (top and bottom swap).
  • Rotate by any angle from -180 to 180 degrees, in steps of half a degree on the slider.
  • Grow the canvas so nothing is cut off, and fill the empty corners with a colour or leave them transparent.
  • Save as the same type of file as the original, or convert to JPG, PNG or WebP.

It does not crop, resize or retouch. If the picture also needs trimming or shrinking, use Crop Image or Resize Image before or after.

How to use Rotate & Flip Image, step by step

  1. Open Rotate & Flip Image.
  2. In the Images panel, choose your pictures, drop them on the page, or paste a copied image or screenshot with Ctrl+V.
  3. In the Rotate & flip panel, press ↺ Left 90°, ↻ Right 90° or 180°. Press ⇋ Flip horizontal or ⇵ Flip vertical if you need a mirror image.
  4. For a small correction, drag the Angle slider, or type a number in the box beside it.
  5. Watch the preview on the right. When it looks right, press Apply to image (or "Apply to 12 images" when you added several).
  6. Press Download on the card, or Download all (12) as ZIP.

The preview shows the image you selected. With several pictures loaded, click a thumbnail to preview a different one, but remember that the settings apply to every picture in the list.

If you change any setting after pressing Apply, the earlier results are cleared and you apply again. That keeps you from downloading something that no longer matches the controls.

Every option explained

Left 90°, Right 90° and 180°

These buttons add to the current angle, so pressing ↻ Right 90° twice gives 180°. The angle is kept between -180 and 180: turning right three times shows -90°, which is the same picture as 270° clockwise. A turn by a multiple of 90 degrees is exact: pixels are moved, not smoothed, and the picture's width and height simply swap when you turn it a quarter. A 4000 × 3000 landscape photo becomes 3000 × 4000.

Flip horizontal and Flip vertical

Each button switches its flip on or off, so press it again to undo it. The flip is applied before the rotation. Flip horizontal is the one you want for a selfie that has come out reversed (see how to un-mirror a selfie). Flip vertical turns the picture upside down as a mirror image, which is different from a 180 degree turn. Using both flips together equals a 180 degree turn.

Angle slider and angle box

The slider runs from -180° to 180° in steps of 0.5. The box beside it accepts typed values and rounds them to one decimal place, so 2.34 becomes 2.3. A positive angle turns the picture clockwise.

To straighten a horizon, look at which way it slopes. If it goes down to the right, the picture is tilted clockwise, so use a small negative angle. If it goes up to the right, use a small positive one. The hint under the slider says: "Positive = clockwise. Fine-tune to straighten a tilted horizon." Pick something that should be straight, such as a doorframe or the sea, and nudge the slider until it looks level in the preview.

Expand canvas to fit

This option and the next one only appear when the angle is not a multiple of 90, because quarter turns have no corners to worry about.

With "Expand canvas to fit (otherwise corners are cut off)" ticked, which is the default, the picture grows so that every part of the original stays visible. The new empty triangles in the corners are filled. For a 4000 × 3000 photo turned by 5 degrees, the result is about 4246 × 3337 pixels.

Untick it to keep the original width and height. The picture then rotates inside the same frame, so the corners of the original are cut off, and you may need to crop or accept the loss. That is a good choice when you straighten a horizon by one or two degrees and want a file with the same dimensions as before.

Transparent corners (PNG/WebP)

Ticked, the corners stay empty instead of being filled with the Background colour. This only works in PNG and WebP, which can store transparency. If the output would be a JPG, a note says: "JPG can't be transparent — corners use the background colour. Choose PNG or WebP for transparency."

Output format

The choices are Same as input, JPG, PNG and WebP. WebP appears only if your browser can create WebP files.

"Same as input" keeps JPG as JPG and WebP as WebP. Anything else, such as PNG, GIF, BMP, HEIC or TIFF input, is saved as PNG, which is lossless. If your browser cannot create WebP, a WebP input is saved as PNG too.

Quality

The Quality slider runs from 10% to 100% and starts at 92%. It is shown for JPG and WebP output (and for "Same as input", where it is used for JPG and WebP files). PNG ignores it. Use 92% when you will keep working with the picture and 80% when you only need a lighter file for sharing. If the result is still too large for an upload form, run it through the Image Compressor.

Background colour

The Background picker fills transparent pixels and, for free angles, the corners. It appears when the output is JPG or "Same as input", and also whenever you use a free angle. It starts on white.

Reset

Reset returns the angle to 0° and removes both flips. Apply is disabled when nothing would change, so you cannot save a pointless copy by accident.

What it accepts and its limits

  • Formats you can add: JPG, PNG, WebP, GIF, BMP, AVIF (where your browser supports it), HEIC and TIFF. The page checks the file's contents rather than its extension, so a renamed text file is refused with "isn't a supported image (or it's damaged)".
  • Count and size: up to 50 images and 200 MB in total. A single file over 200 MB is refused straight away, and extra files beyond the limit are left out with a notice that says how many.
  • Maximum output: a canvas can be at most 32,000 pixels on a side and 120 million pixels in total. A very large photo rotated by a free angle with Expand canvas on could cross this, and you would see "The output would be … px — too large for the browser. Use smaller dimensions."
  • GIF and TIFF: only the first frame or first page is used, so an animated GIF becomes a still picture.

Privacy

Rotate & Flip Image runs in your browser. The pictures are read, turned and saved on your own device, and nothing is sent to our server. That makes it fine for ID photos, certificates and family pictures.

Phone photos and the sideways problem

Phones often store a photo sideways and add a small "orientation" note that says how to show it. Some programs obey the note and some ignore it, which is why a picture can look right on the phone and sideways in an upload form. This tool applies the note when it opens the picture and writes the pixels upright. The new file looks the same everywhere.

A side effect: the saved file is made fresh from the pixels, so camera details such as the date and location are not carried over. If you want to check or remove that information deliberately, the EXIF Viewer & Remover does it.

Tips to work faster

  • Do a whole folder at once. A set of ten sideways photos from one scanner or phone usually needs the same turn, so load them all and press ↻ Right 90° once.
  • Use the file name to see what happened. A result is named from the original plus the change, for example photo-rotated90.jpg, selfie-flipH.jpg or scan-rotated-90-flipV.png.
  • Straighten first, then crop. A free angle with Expand canvas leaves filled corners, and Crop Image removes them in a few seconds.
  • Keep the original. The tool never changes your source file, and the new file is a re-saved copy.
  • Check the thumbnails after Apply. Each card shows the new size, for example 3000×4000, and the change in file size.

Common problems and how to fix them

The corners are white, or the wrong colour

The corners are filled with the Background colour. Change it, or choose PNG or WebP output and tick Transparent corners.

A black or white edge is left after straightening

That is the filled corner of an expanded canvas. Crop it away, or untick Expand canvas to fit and accept a slightly cut-off picture.

"couldn't be opened — this browser can't decode …"

The browser cannot read that file. Try a JPG or PNG copy of it. HEIC and TIFF files have their own readers, so they normally work, but a damaged one gives "looks like a HEIC photo but couldn't be read".

Apply is greyed out

Nothing is selected to change. Turn, flip or set an angle first.

The photo is still sideways after saving

Check the preview before you press Apply. If the preview is already upright, the file will be upright. Some old programs cache the previous thumbnail, so open the new file directly.

Quick checklist

  • Pick the turn first, then the flip, then fine-tune with the angle.
  • Positive angles are clockwise.
  • Leave Expand canvas on if you do not want anything cut off.
  • Use PNG with Transparent corners when the corners must stay empty.
  • Check the preview, then apply to all your pictures at once.

Frequently asked questions

Does rotating a photo lower its quality?
Turns of 90, 180 and 270 degrees move the pixels exactly, with no smoothing. If you save as JPG or WebP the picture is compressed again at the Quality you choose (92% by default), and PNG output is lossless. Free angles such as 3.5 degrees need a little smoothing.
What is the difference between Flip horizontal and Flip vertical?
Flip horizontal swaps left and right, like looking in a mirror. Flip vertical swaps top and bottom. Doing both at once gives the same picture as a 180 degree turn.
Which way does a positive angle turn the picture?
Clockwise. The slider hint says so: positive is clockwise. If your horizon slopes down towards the right, you need a negative angle to bring it level.
Can I rotate many photos in one go?
Yes, up to 50 images and 200 MB in total. The same rotation and flip is applied to every image, and you can download the results one by one or as a ZIP called rotated-images.zip.
Why does the corner of my rotated JPG look white?
A JPG cannot be see-through, so the empty corners are filled with the Background colour, white by default. Choose PNG or WebP and tick Transparent corners if you want them to stay empty.
Are my photos uploaded?
No. The tool runs in your browser and the images stay on your device.
Found this useful? Share it

Tools in this guide

Main tool

Rotate & Flip Image

Turn sideways photos upright, mirror a selfie or straighten a tilted horizon — for one image or 50 at once.

Open tool

Crop Image

Cut a photo down to exactly the part you want, freehand or at a fixed aspect ratio, with pixel-precise controls.

Open tool

Resize Image

Change the width and height of one photo or a whole batch, with presets for social media and passport photos.

Open tool

Image Compressor

Shrink JPG, PNG and WebP files for websites, email and forms — up to 50 at once.

Open tool

Back to all guides & blog