araç köşesi

Why does my photo turn sideways on the computer or when uploaded?

The real reason a photo opens sideways, and the fix that makes it upright everywhere

You attach a portrait photo to a job application and the preview shows your head tipped to the left. On your phone the same picture stands perfectly straight. Copy it to the computer, open it in an older program, and it is sideways again. The photo is not damaged and you did nothing wrong: a small note inside the file is being read by some programs and ignored by others.

This guide explains what that note is, how to see it in your own photo, and how to get a copy that stays upright wherever it is opened. It also flags a very common mistake: rotating a photo that already looks right in the browser usually moves the problem rather than solving it.

Why a phone photo can show up two different ways

However you hold your phone, the camera usually records the picture in the sensor's own landscape layout. The phone knows from its motion sensor that you were holding it upright, so it writes a number into the file meaning "turn this frame 90 degrees when you show it". That number sits in the block of photo information called EXIF, in a field named Orientation.

In other words, the file carries two things: pixels lying on their side, and an instruction to straighten them. Your gallery app, current browsers and most recent software read the instruction and turn the frame for you, so you see it upright. A program that skips the instruction puts the pixels on screen exactly as stored, so you see it sideways. That alone explains why one file looks different on two screens.

Reading the orientation note in your own photo

You do not have to guess. Open the EXIF viewer on this site and give it the photo; in the report, the section headed "Image" contains an "Orientation" line. If the line is missing, the file has no orientation note and should look the same everywhere. The table below explains what each wording means.

"Orientation" line in the reportTag valueWhat a program that ignores it shows
Normal1Upright; nothing to fix
Rotate 90° clockwise6The top of the scene faces left
Rotate 90° counter-clockwise8The top of the scene faces right
Rotated 180°3Upside down
Mirrored (2, 4, 5 or 7)2, 4, 5, 7May be both turned and reversed

At a glance: one file, two views, one fix

The diagram shows how the same file opens in the two kinds of program, and why the lasting fix is to write what a note-reading program shows straight into the pixels. Once the pixels are upright and the note is gone, there is nothing left to interpret.

Diagram of a photo with sideways pixels and an orientation note: upright in a program that reads the note, sideways in one that ignores it, and upright everywhere once the pixels themselves are turned
The trouble is the gap between pixels and note; a copy that merges them opens the same way everywhere.

Which way does this site's rotate tool see your photo?

Please read this part, because it is where most people go wrong. The Rotate and Flip Images tool opens your photo with the browser's own image decoder. Current browsers apply the orientation note while decoding, so the tool starts from the view your phone's gallery shows. The small thumbnail that appears in the file list after you pick the photo shows that same view. The rotation you choose is added on top of it, the new file is written with the pixels physically turned, and the output carries no orientation note.

That leaves two situations. First: the thumbnail is sideways too (the file has no note, or a wrong one). Pick the right direction in the rotate tool: if the top of the scene faces left, choose "90° right"; if it faces right, choose "90° left". Second: the thumbnail looks upright but the form or the old program shows it sideways. Do not rotate. If you do, the upright picture is tipped by 90 degrees and comes out sideways everywhere.

In the second case, the job is to save the photo again exactly as it appears. In Change the Format of an Image, choose JPG as the target, push the quality slider to the top (95%) and convert. The tool again opens the photo the way the browser sees it and writes a new JPG with upright pixels and no orientation note. Before uploading, you can run the result through the EXIF viewer once more and check that the "Orientation" line has disappeared.

Rotate or mirror: what does "flip" actually mean?

In everyday speech "flip" is used for two different operations, and pressing the wrong one creates a new problem. Rotating turns the whole frame around its centre; text stays readable and simply lies down or stands up. Mirroring swaps left and right (or top and bottom), so the writing on a sign becomes mirror writing.

The easiest way to tell which you need is to look for any text in the picture. If the text is on its side but the letters run in the normal order, you need a rotation. If the letters run backwards, as if read through a mirror, you need a mirror. A selfie where the slogan on your T-shirt reads backwards is the second kind: use "Mirror horizontally"; rotating will never fix it.

The photo turned sideways after you removed its location

If you cleaned the location data out of a photo before sharing it and it suddenly looks sideways even on your phone, the same note is behind it. The Remove EXIF and Location Data tool lifts the entire EXIF block out of the file without touching the image itself, and the orientation note lives inside that block. Once the note is gone, only the sideways pixels remain.

The fix is quick: give the cleaned file to the rotate tool. This time the thumbnail will be sideways as well, so you are in the first situation above; choose the right direction and apply. You can also do it the other way round from the start: first re-save the photo upright with Change the Format of an Image, then check in the EXIF viewer that no location line is left.

Frequently asked questions

Isn't right-clicking and choosing "Rotate right" in Windows enough?

Sometimes it is. But some programs change only the orientation note rather than the pixels, and then the photo looks right on your computer and still sideways in a form that ignores the note. You cannot tell from the outside which route was taken. To be sure, open the file in the EXIF viewer: if there is no "Orientation" line, or it says "Normal", the pixels are upright.

Does rotating lower the photo's quality?

Saving a rotated JPG means compressing it once more. The tool uses a generous quality level for that, so one round leaves no difference you could spot. Rotating and saving the same file over and over does add a little loss each time. Choose the right direction once and keep the original.

What exactly does an orientation value of 6 mean?

That the stored pixels must be turned 90 degrees clockwise to look right. It is a common value in photos taken with the phone held upright. A program that ignores the note does not do the turn, so it shows the top of the scene along the left edge.

Why are my selfies saved as a mirror image?

The front camera shows you a mirror-like view while you shoot, and some phones save the file that way too. On an iPhone, the Camera section of Settings has a Mirror Front Camera switch; on other phones look in the camera app's settings for a similar option. To fix a photo you already have, a horizontal mirror is all it takes.

Last updated: October 12, 2026

Tools in this guide