Edit Photos

Turn or mirror your photo

Turn a sideways photograph, straighten a tilted horizon or mirror a picture, using the same editor as my image cropper.

Local browser processing No image upload No account required

How to rotate an image

Choose a photo. It opens the right way up, the way the camera recorded it, and every button starts from that view.

  1. Choose a JPEG, PNG or WebP file. Choose several to give them all the same turn or flip.
  2. Press 90° clockwise, 180° or 270° clockwise, or one of the two flip buttons. For a crooked horizon, type a small angle such as 1 or -1.5 and press Apply angle.
  3. Check the preview. After a quarter-turn the width and height swap, and the crop frame covers the whole picture again.
  4. After a free angle, pick a ratio and move Zoom up until the frame clears the empty corners. Then download.

What a turn did to my own photos

I tried the buttons on three photos published on this site: Lake Jasna from June 2019, 960 × 1200 px, and two frames from Metelkova in Ljubljana, March 2023, shot on my Sony A7 III and published at 1200 × 800 px.

The two Metelkova files turned without a new JPEG compression, and the status line under the preview said so. I turned the clay figure four times and got back exactly the pixels I started with. The size barely moved: one quarter-turn took the figure from 403.6 KB to 399.6 KB, and the red bicycle from 701.7 KB to 701.4 KB.

Lake Jasna took the other route. It is a progressive JPEG, the kind that loads in passes, and the tool turns those as PNG. The quarter-turned lake came out as a 1.6 MB PNG, nearly four times the 415.0 KB original.

What a small turn costs on Lake Jasna

These are trial turns on the 960 × 1200 px Lake Jasna web copy. A tilt of 1–2° is the usual range to fix on a handheld shot.

TurnCanvas after the turnClean 4:5 cropPixels kept
0.5°971 × 1209 px948 × 1185 px at Zoom 102%97.5%
1°981 × 1217 px936 × 1170 px at Zoom 104%95.1%
2°1002 × 1233 px912 × 1141 px at Zoom 108%90.3%
3°1022 × 1249 px900 × 1125 px at Zoom 111%87.9%

The canvas grows and the four corners stay empty. I picked 4:5, the lake photo's own shape, and raised Zoom one step at a time until the downloaded PNG had no transparent pixel left.

Two degrees cost a tenth of the picture: 48 pixels off the width and 59 off the height, a strip of pebbles, sky and trees all round. Use the smallest angle that levels the line.

Which way each button turns

90° clockwise moves the top of the picture to the right edge. 270° clockwise is the same as a quarter-turn to the left. Both swap width and height, so my 1200 × 800 px figure became 800 × 1200 px. 180° keeps the size and puts each corner where the opposite one was.

Flip horizontal swaps left and right, as in a mirror. Flip vertical swaps top and bottom. On the red bicycle, a horizontal flip turned the question-mark blocks and the lettering painted on the wall into mirror writing. That is why I read every sign after a flip.

A positive free angle turns clockwise, a negative one the other way. If the right side of your horizon sits too low, the line has to come up on the right, so try a small negative angle first and watch the preview.

When a JPEG stays a JPEG

A quarter-turn, a half-turn or a flip keeps a JPEG as JPEG when three things hold. The file is a baseline JPEG, not a progressive one. Its width and height divide into whole compression blocks, which 1200 × 800 does. And it has no camera orientation note that still needs applying. My Metelkova files passed all three. The lake failed the first.

I also saved a baseline JPEG copy of the lake from the browser. Across 90°, 180° and 270° turns of the three photos, nine lossless turns, sizes ran from 1.0% smaller to 0.3% larger.

Everything else is saved as PNG, and so is every free angle, because a slanted edge needs new pixels. PNG keeps what you see in the preview exactly, but it is large. For a web page or an email, choose JPEG in the format menu once you have finished turning and cropping. One compression at the end beats one after every click. Keep the full frame selected when you want the lossless JPEG: a crop makes a new file.

Checks I make before saving

  • Read any lettering after a flip. Mirror writing is easy to miss in a small preview.
  • Turn first, then pick a ratio. A quarter-turn swaps width and height and resets the crop frame.
  • Raise Zoom until the corners are gone before you save a free-angle turn as JPEG; left in, they come out white.
  • In a batch, press one button per run. Each run starts again from the files you chose, so two clicks do not add up to 180°.

Privacy

Your image never leaves your device. Opening, cropping and saving all happen in your browser, so nothing is uploaded or stored, and you do not need an account. The saved file does not keep the original EXIF, GPS or XMP data.

Frequently asked questions

How do I turn a photo counterclockwise?

Press 270° clockwise for a quarter-turn to the left; it gives the same result as minus 90 degrees. For a small correction to the left, type a negative angle such as -1 in the free angle field and press Apply angle.

Will rotating a JPEG reduce its quality?

Not for quarter-turns and flips of a baseline JPEG. My Metelkova photo turned four times came back pixel for pixel, and one turn took it from 403.6 to 399.6 KB. Progressive JPEGs are saved as PNG, which keeps the turned pixels exactly.

Why does my phone photo open upright already?

Phones often store the pixels sideways and add a note saying which way is up. Your browser reads that note when the photo opens. The buttons start from the upright preview, and the note is not applied a second time.

Why are there empty corners after straightening?

A tilted rectangle does not fill an upright one, so the canvas grows and the corners stay empty. Pick a ratio and raise Zoom until they are gone. On my lake photo, a 2° turn needed Zoom 108% and kept 90.3% of the pixels.

Can I flip several pictures together?

Yes. Choose several files, then press a turn or flip button. The page works through them one at a time and offers each result plus a ZIP. Every click starts from the files you chose, so repeated clicks do not stack.

Related tools and guides