Rotate and flip image

Rotate photos 90 degrees left or right and flip them horizontally or vertically.

loading Rotate and flip image
About this tool

How do I rotate or flip an image online?

Rotating turns a picture by a quarter turn so it stands the right way up; flipping mirrors it, left to right or top to bottom. You need it when a photo opens sideways in a program or a form, when a scan came out upside down, when you want a selfie that is not mirrored, or when you are preparing pictures to use in a document. This tool does exactly four things: Rotate left and Rotate right (90 degrees each click, so two clicks make 180), Flip horizontally and Flip vertically. You can combine them, and the preview shows the result before you save.

It does not turn a picture by a free angle such as 7 degrees to straighten a horizon, because that would need empty corners to be filled or part of the picture cut away. Quarter turns and mirrors are exact: every pixel moves to a new place and none is invented.

Everything runs in your browser. The picture is read, redrawn with the new orientation on a canvas and saved on your device; nothing is uploaded, there is no account, no watermark and no limit on the number of files. You can drop many pictures at once and the same turn is applied to all of them, then download a ZIP. An example picture with a "TOP" arrow is loaded so you can see what each button does.

Why does a photo look turned only in some places? Phones often store the picture sideways and add a small note (the EXIF orientation) saying "show it turned". Some viewers obey the note and others ignore it. This tool reads the note, so what you see in the preview is the picture as a camera would show it, and the saved file has the pixels in the final position without depending on the note. For a deeper look at what a photo carries, see View and remove photo metadata.

How to rotate an image

  1. Drop your pictures on the page, click to choose them or paste with Ctrl+V. JPG, PNG, WebP, HEIC/HEIF, AVIF, GIF and BMP are accepted.
  2. Click Rotate left or Rotate right until the picture is upright. The line under the buttons shows the total, for example 90°.
  3. If you need a mirror image, switch on Flip horizontally (left and right swap) or Flip vertically (top and bottom swap). The flip is applied first and the rotation after it.
  4. Check the preview. Reset goes back to the original position.
  5. Set Quality (60 to 100, 92 by default). It matters only for JPG and WebP, which are saved again.
  6. Click Apply. The button stays off until you choose a change. Download each file or the ZIP; the name gets a suffix, such as photo-rotated.jpg.

The format stays the same: JPG as JPG, PNG as PNG with transparency, WebP and AVIF as they are, and HEIC becomes JPG. An animated GIF is saved as a still picture with only its first frame, and the tool warns you.

Examples

Photo that opens sideways

IMG_3310.jpg, 4032 × 3024 landscape, but the people lie on their side. Click Rotate right once. The result is 3024 × 4032: width and height swap with every quarter turn.

InputOutput
4032 × 3024, IMG_3310.jpgIMG_3310-rotated.jpg, 3024 × 4032

Upside-down scan

contract-p1.png, 2480 × 3508. Click Rotate right twice (shown as 180°). The size stays 2480 × 3508 because a half turn does not swap the sides.

Selfie that came out mirrored

selfie.jpg, 3024 × 4032. Switch on Flip horizontally only. The size does not change, and text on a shirt or sign reads the right way.

Mirror top to bottom

reflection.png, 1200 × 800. Flip vertically gives an upside-down copy at 1200 × 800, useful for building a water-reflection effect.

Batch of scans

Twelve pages that all came in a quarter turn. Drop all twelve, click Rotate left once and apply. Each keeps its own name with the suffix and all go in one ZIP.

Common errors and how to fix them

  • The Apply button is disabled: no change has been chosen yet. Click a rotate or flip button; the button turns on.
  • The picture is still sideways in another program: that program may ignore the camera's orientation note. Save with this tool and open the new file; the pixels are already upright.
  • I need a few degrees, not 90: this tool only does quarter turns and mirrors. Use an editor that can straighten by angle.
  • The preview is mirrored but the saved file is not what I expected: remember that the flip is applied before the rotation. Reset and try the order you want, one change at a time.
  • A GIF stopped moving: animated pictures are saved as a single frame. Use a tool made for GIFs.
  • The file looks a little softer: JPG and WebP are encoded again. Raise Quality to 100, or use PNG for a lossless result.

Frequently asked questions

Does rotating a JPG lose quality?

The pixels are moved exactly, but a JPG is saved again, which adds one new compression. At the default of 92 the difference is hard to see; at 100 it is smaller still. A PNG is saved without any loss.

How do I rotate a photo 180 degrees?

Click Rotate right twice (or left twice). The line under the buttons will show 180°.

Can I rotate many pictures at once?

Yes. Drop them all, choose the turn once and it is applied to every file; you get a ZIP.

Is my picture uploaded?

No. The work happens in your browser, on your device.

Does it keep the camera data?

The result is a new file drawn on a canvas, so camera and location metadata are not carried over.

What should I do after rotating?

If the file is too heavy, Compress image. If you want a different size, Resize image.

Report a problem