How to Rotate or Flip an Image
Sideways phone photos and backwards selfies both have simple fixes, and one genuinely interesting cause.
Two small problems, two one-click fixes. Rotate Image turns a photo the right way up. Flip Image mirrors it horizontally or vertically.
The interesting part is why they go wrong in the first place.
Why your photo is sideways everywhere except your phone
This one confuses people reasonably. The photo looks perfectly upright in your camera roll, then you upload it and it's on its side.
The cause is EXIF orientation. When you rotate your phone to shoot, the camera doesn't usually rotate the actual pixels — that would cost time and processing. Instead it writes a tag into the file's metadata saying, in effect, "display this rotated 90 degrees."
Your phone reads that tag and shows the photo correctly. So does most modern software. But plenty of older tools, upload forms, and processing pipelines ignore it entirely and display the raw pixels — which are sideways. The photo was always sideways; your phone was just being polite about it.
Rotating with a tool fixes this properly, because it rotates the actual pixels rather than relying on a tag anyone can ignore. That's why a rotated photo uploads correctly where the original didn't.
Why your selfie looks wrong
Front cameras typically show you a mirrored preview, because that's what you're used to seeing in an actual mirror. Some phones save the mirrored version, some save the true version — and either way, the face you see in a saved selfie often isn't the one you were expecting.
Nobody's face is perfectly symmetrical, so the unmirrored version reads as subtly off to the person in it, and completely normal to everyone else. Flip Image lets you pick whichever you prefer.
One case where it isn't a preference: never mirror a photo with text in it. Backwards lettering is instantly obvious. Same goes for anything with a recognisable logo or sign.
Rotate before anything else
If a photo needs rotating, do it first. Crop a sideways image and you're cropping the wrong axis; add text to it and the text goes on sideways too.
This matters most for documents. If you're photographing paperwork to convert to PDF, rotate each page upright before converting — fixing orientation inside a finished PDF is far more work. Our guide on merging images into one PDF covers the full document workflow.
Does rotating lose quality?
Rotating by 90, 180, or 270 degrees is a clean operation — pixels move to new positions without being recalculated. Flipping is the same. The only cost is re-saving: the file is decoded and re-encoded, so a JPG picks up one generation of lossy re-compression on the way through. Once is nothing; it's worth knowing rather than worrying about.
Arbitrary angles are different: rotating by, say, 7 degrees to straighten a horizon has to invent pixel values that didn't exist, which softens the image slightly and leaves empty wedges at the corners that need cropping away.
FAQ
Why is my photo sideways after uploading?
EXIF orientation. Your phone tagged it as rotated rather than rotating the pixels, and the site you uploaded to ignored the tag. Rotating the file properly fixes it.
Why does my selfie look strange?
Your front camera preview is mirrored; the saved photo may not be. You're seeing your face the way everyone else does, which is the way you aren't used to.
Does rotating reduce quality?
Not meaningfully at 90-degree increments — the pixels are moved, not recalculated. There is one caveat: saving the result re-encodes the file, so rotating a JPG costs it a single generation of lossy re-compression. Arbitrary angles are the bigger cost, since those genuinely do soften the image.