Skip to content
cliplimeClipLime

Rotate, flip and straighten images

Turn a sideways photo upright, mirror it, or level a crooked horizon. One picture or many, on your own device.

Runs on your device, nothing is uploaded

Add the pictures you want to turn, flip or straighten

or drop files here

JPG, PNG, WebP, GIF, BMP, SVG, ICO, AVIF, TIFF and HEIC · add as many as you like · nothing is uploaded

At a glance

What it does
Rotates pictures by 90 or 180 degrees, flips them left to right or top to bottom, and straightens a tilted picture by any angle from -45 to 45 degrees. One picture or a whole batch.
Turns and flips are exact
Every pixel is moved to its new place and none is recalculated, so a turned or flipped PNG is identical to the original, pixel for pixel. See-through pixels can shift by a few levels (see below).
Straighten
Slider, number field in steps of 0.1 degree, and a grid on the preview to line up a horizon. The corners can be cropped away, filled with a colour, or left transparent.
Live preview
The first picture is shown with every change. The preview runs the same calculation as the saved file, on a smaller copy.
Output
The same format as the original, or JPG, PNG, WebP or AVIF. JPG starts at quality 95. The result is stored upright, with no rotation tag.
Limits
Up to 100 megapixels per picture. An animated GIF or WebP is turned from its first frame only.
Privacy
Pictures are processed in your browser and never uploaded. Free, with no sign-up.

How to do it

  1. 1

    Add your pictures

    Choose or drop one picture or many. The first one is shown as a live preview.

  2. 2

    Turn and flip

    Press Rotate left, Rotate right, Rotate 180, Flip horizontal or Flip vertical, in any order. Each press adds a step after the ones before, and a line under the buttons says where you are.

  3. 3

    Straighten if you need to

    Move the slider or type an angle. Switch on the grid and line it up with something that should be level. Choose what happens to the empty corners.

  4. 4

    Rotate and download

    Press the big button. Every picture gets the same steps. Download the results one by one, or all together as a ZIP.

Turning and flipping without losing anything

A turn by 90 or 180 degrees, or a flip, only moves pixels. Nothing has to be calculated between two pixels, so nothing is blurred. A picture saved as PNG comes out identical to the original, pixel for pixel. The one caveat is see-through pixels: browsers store them with their colour already multiplied by their transparency, so a half-transparent pixel can change by a level or two, and a nearly invisible one by a few more, when it goes through this tool. Fully opaque pixels are exact.

The buttons add up. Rotate right followed by Rotate left puts the picture back, and two flips cancel each other. A flip and a turn together can give any of the eight possible orientations. The line under the buttons describes the current state in words, for example "Flipped left to right, then turned 90° left". Undo all turns returns to the original.

A flip is not a rotation. Rotating by 180 degrees turns the picture upside down: writing is upside down but not reversed. Flipping vertically mirrors it, like a reflection in water, and writing comes out reversed. Rotating by 180 degrees is the same as one flip in each direction. The flip image page goes into mirroring.

Straighten a crooked horizon

Move the slider, type an angle, or use the small buttons that change it by a tenth of a degree. A positive angle turns the picture clockwise. Switch on the grid on the preview and line it up with the horizon, a door frame or a building edge. Most crooked photos need a degree or two.

Turning a picture by a small angle leaves its corners empty, because a turned rectangle no longer fits in its old frame. You decide what happens to them:

  • Crop them away (the default). The result is the largest rectangle with the same shape as the original that fits entirely inside the turned picture. A 4000 by 3000 photo turned by 3 degrees comes out at 3743 by 2807 pixels and keeps about 88 percent of the picture. At 1 degree it keeps about 96 percent, at 5 degrees about 81 percent.
  • Fill with a colour. The picture grows to hold the turned one, and the corners are the colour you choose. The same photo turned by 3 degrees is 4152 by 3206 pixels.
  • Transparent. The same size as the fill, with see-through corners. This needs PNG, WebP or AVIF, because JPG cannot be transparent. If a JPG is among the results, that JPG gets the background colour in its corners instead and the page says so, while the PNG, WebP and AVIF results keep see-through corners.

Turning by an angle that is not a multiple of 90 degrees has to calculate new pixels between old ones. The tool uses bicubic sampling over sixteen pixels, which keeps edges crisp and avoids the staircase look. Colours are weighed by transparency, so the edge of a cut-out does not pick up a dark rim, and the edge of the turned picture is smoothed over one pixel.

Sideways photos and rotation tags

Phones and cameras often store a photo in the shape of the sensor, sideways, together with a small note that says how to turn it. Some programs honour the note and others ignore it, which is why a photo can look right in one place and sideways in another. This tool applies the note when it opens a picture, so you see the photo the right way up, and saves the result upright with no rotation tag. It shows upright everywhere.

Metadata such as camera details, date and GPS location is removed by default. Choose Keep to copy the EXIF block from JPG, PNG and WebP originals. The rotation note in the copy is reset, so the picture is never turned twice.

Formats and honest notes

Rotating a JPG saves a new JPG, so the picture is compressed once more. At quality 95, the starting value here, the loss is very small and hard to see, but it is not zero. Some desktop programs can turn a JPG by 90 degrees without recompressing it, and this tool cannot. PNG is exact. WebP and AVIF are compressed like JPG, so keep a high quality if you will edit the picture again.

Pictures up to 100 megapixels are accepted. Turning by an angle with filled or transparent corners makes the picture a little larger, and a result above the limit gives a plain message. A batch is processed several pictures at a time, large ones one at a time, and Cancel leaves the finished files alone.

Questions people ask

Does rotating a JPG lose quality?

A little. The turn itself moves pixels exactly, but a JPG has to be saved again, which compresses it once more. At quality 95 the loss is very small. Save as PNG for an exact result, and keep your original.

Which way does a positive angle turn?

Clockwise. Positive 2 degrees tilts the top of the picture to the right, and negative 2 tilts it to the left. The preview shows the result at once.

Why is my straightened picture smaller than the original?

A turned picture leaves empty corners, and the default is to crop them away. The result is the largest rectangle of the original shape that fits inside, so it is a little smaller. At 3 degrees a 4000 by 3000 photo keeps about 88 percent. Choose Fill with a colour or Transparent to keep everything.

Will the photo still be sideways in other programs?

No. The pixels are saved upright and the file carries no rotation tag, so every program shows it the same way up.

Can I rotate by more than 45 degrees?

Straightening is limited to -45 to 45 degrees. For larger turns, use Rotate left, Rotate right or Rotate 180 first, then straighten the small remaining angle.

Can I rotate many pictures at once?

Yes. Every picture gets the same steps, which suits a batch of scans or phone photos that are all sideways. Pictures that need different angles need separate runs.

Are my pictures uploaded anywhere?

No. They are turned and packed into a ZIP inside your browser, and nothing is sent to a server.

Guides that help

All Images guides →