The photo looked fine on your phone. Then you open it on a computer, attach it to an email or upload it to a form, and it is lying on its side. Nothing is broken in the picture itself. Your phone stored the pixels unrotated and noted the intended orientation in the file's metadata, and the viewer you just used ignored that note.
That is why rotating a photo inside one app so often fails to stick: the app honours the note, the next one does not. The fix that lasts is to rotate the actual pixels and save the result, so there is no note left to ignore. This guide explains why photos open sideways, why a quarter turn costs no quality at all, and how to fix orientation with the free Image Rotator and Flipper on Ovatly. One limit is worth stating up front: the tool turns in exact 90 degree steps, so it fixes sideways and upside-down photos, not horizons that are tilted by a few degrees.
Contents
- Quick answer
- Why photos open sideways
- Why a quarter turn is lossless
- Rotate or flip: which one do you need?
- How to rotate a photo, step by step
- Worked example: a sideways scan
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
To straighten a sideways photo: open the Image Rotator and Flipper, choose your image, and click Rotate right or Rotate left until the preview stands upright, then download. Most sideways photos need exactly one click. The result is a PNG with the orientation baked into the pixels, so it displays correctly in every viewer, form and inbox. Rotating in 90 degree steps moves pixels without resampling them, so nothing is lost in the turn. What the tool cannot do is level a small tilt: it works in exact 90 degree steps only, and straightening a horizon that is off by 3 degrees needs a different kind of editor.
Why photos open sideways
Phones rarely rotate the pixels in a photo. Instead, the camera writes the image as the sensor captured it and records how the phone was held in the file's metadata, as an orientation note. A viewer that reads the note displays the photo upright; a viewer that ignores it shows the raw pixels, lying on their side or upside down.
This explains the confusing pattern where the same file looks right in one place and wrong in another. It also explains why the durable fix is different from the temporary one. Rotating the pixels themselves, and saving that result, removes the disagreement entirely: every viewer now sees the same upright image, because there is nothing left to interpret.
Why a quarter turn is lossless
Turning an image by 90 degrees is a rearrangement, not a redraw. Each pixel moves to a new position, but no pixel has to be blended, averaged or invented, because the grid still lines up exactly after the turn. The tool's own description of it is the honest one: quarter turns move pixels without resampling them, so the picture is identical apart from its orientation.
The output format protects that exactness. Every download from the Rotator is PNG, which is lossless and preserves transparency, so the save adds no JPEG compression artifacts on top of the turn. Rotate, save, and the only thing that has changed is which edge is up.
Small-angle rotation is a different job. Turning a photo by 3 degrees leaves the pixel grid misaligned with the original, so every pixel would have to be recalculated, which is real editing with real tradeoffs. The Rotator deliberately does not attempt it: it works in exact 90 degree steps so edges stay perfectly aligned.
Rotate or flip: which one do you need?
The tool also mirrors images, and the two operations solve different problems. Rotate turns the whole image like a steering wheel, changing which edge is up; that is the fix for a sideways or upside-down photo. Flip mirrors the image like a reflection, keeping the same edge up but reversing left and right, or top and bottom.
The classic flip case is the mirrored selfie, where text on a shirt reads backwards. A horizontal flip puts it right. The caution runs the other way too: flipping any photo that contains text makes that text read backwards, which is sometimes the fix and sometimes an unwelcome surprise. If your photo is sideways, flip will not help you; the edge that needs to be up is still on the side. You need a rotation.
How to rotate a photo, step by step
- Open the Image Rotator and Flipper and choose the image. A preview appears immediately.
- Use Rotate left or Rotate right to turn it in 90 degree steps, until the preview stands upright.
- If the image is also mirrored, use Flip horizontal or Flip vertical to correct it.
- Check the preview and download the result as a PNG.
Worked example: a sideways scan
A document photographed sideways comes out at 3024 by 4032 px: tall where it should be wide, with the text running down the screen. In the Rotator, one click of Rotate right turns it a quarter turn clockwise. The output is 4032 by 3024 px, upright and readable, with the width and height swapped exactly as a 90 degree turn requires.
No quality was spent on that fix. The same pixels are all present, standing in a different order, and the PNG download stores them losslessly. The scan that comes back is the scan you took, readable in every program that opens it.
Limitations and honest tradeoffs
The steps are exact 90 degree turns only. A photo that is sideways or upside down is a perfect fit; a photo whose horizon tilts by a few degrees is not, and no amount of clicking will level it here. Small-angle straightening needs a different kind of editor.
Output is always PNG. That guarantees a lossless result and preserves transparency, but it also means there is no format choice at download: if you need the rotated photo as a JPEG, that conversion is a separate step afterwards. And animated GIFs are transformed using their first frame only, so an animated file comes out as a still PNG of its first frame.
Common mistakes
- Expecting the tool to level a tilted horizon. It turns in 90 degree steps by design. A 3 degree tilt is a job for an editor that rotates by small angles.
- Flipping a sideways photo. Flip keeps the same edge up and only mirrors the image, so a sideways photo stays sideways. Rotate is the fix.
- Flipping a photo with text in it, then being surprised. Mirroring makes text read backwards. That is the point for a mirrored selfie, and a problem everywhere else.
- Rotating three times instead of once the other way. Rotate left and Rotate right both exist. One click in the correct direction does what three clicks in the wrong one do.
- Trusting the phone preview as proof. The phone was honouring the metadata all along. Judge the fix by opening the downloaded PNG, which shows the baked-in result every viewer will see.
FAQs
Will rotating reduce quality? No. Quarter turns move pixels without resampling them, and the PNG output is lossless, so the picture is identical apart from its orientation.
Why did my photo open sideways in the first place? Phones record orientation in metadata instead of rotating the pixels. Some viewers ignore that metadata. Rotating in the tool bakes the orientation into the pixels so it displays correctly everywhere.
Can I rotate by a small angle, like 3 degrees? No. The tool works in exact 90 degree steps so edges stay perfectly aligned. Small-angle straightening needs a different kind of editor.
What is the difference between flip and rotate? Rotate turns the whole image like a steering wheel, changing which edge is up. Flip mirrors it like a reflection, keeping the same edge up but reversing left and right, or top and bottom.
What format do I get back? Always PNG. PNG preserves transparency and avoids adding JPEG compression artifacts, which is why the tool uses it for every download.
Conclusion
A sideways photo is not a damaged photo; it is a note that half your viewers never read. Rotate the pixels a quarter turn, save the PNG, and the argument is over for every program that opens the file from then on. Once the orientation is right, you may want to trim the edges too, and our guide to cropping an image without reducing its quality covers how to do that without softening what you keep. For more guides in this series, see our Image Tools guides, which pair each technique with the free tool that performs it.
References
- MDN Web Docs, on image file types and the formats browsers support: https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Image_types