A photo sits happily upright in your phone's gallery, then lies on its side the moment you upload it to a forum or drop it into a document. Download it again and it looks fine. Nothing is corrupted and the upload did not fail.
The camera does not rotate anything when it saves
Hold the phone in portrait and the image sensor is still mounted the same way it always is, so the captured pixels usually come out landscape. Rotating them at capture time costs time and quality, so the camera leaves **a note** instead: 'display this rotated 90 degrees clockwise'. That note is the EXIF orientation tag.
Which is why one file looks different in different places. Software that reads the note rotates the image for you. Software that does not draws the pixels as stored, on its side. Neither is a bug — they are two readings of the same file.
Where it tips over and where it does not
| Situation | Result | Why |
|---|---|---|
| Phone gallery, modern browsers | Upright | Reads the orientation tag |
| Older forums and upload previews | On its side | Ignores the tag and draws the pixels |
| Pasted into a document | Varies | Depends on the application |
| After cropping or editing | Stuck sideways | The tag often does not survive the edit |
The reliable fix — rotate pixels, not the tag
The fix is simple: rewrite and save the pixels in the orientation you actually see. The tag is then unnecessary, and software that never read it shows the same thing as everything else. People usually call this 'baking in' the rotation.
Switching's rotate tool already applies the orientation tag when it opens the file, so **saving without rotating anything at all** is enough to fix the pixels in place. If it genuinely looks tilted, turn it in 90-degree steps first, then save.
Why stripping EXIF does not lay the photo down
A common worry: if I remove EXIF to get rid of the GPS coordinates, does the orientation go with it and tip the photo over? It does not. Stripping metadata means redrawing and re-saving the image, and at that point the pixels are written in the orientation you were already seeing — the one the tag described. The tag disappears, but **the job it was doing has already been applied to the pixels**.
So removing EXIF clears the location and device data and settles the rotation at the same time. Use the rotate tool when orientation is the goal and the EXIF tool when privacy is, and either way the orientation ends up fixed.
Keeping it from coming back
- Save once to settle the orientation, then upload that saved file.
- With several photos, process them together and take the ZIP — it is far quicker.
- Keep the original. Re-encoding means a JPG goes through compression one more time, however slightly.
- A photo that is upside down is usually about how it was taken, not the tag. That one you do have to turn yourself.