Why is my photo sideways when I upload it?

The photo looks perfect on your phone, then appears sideways or upside down on a website, in an email or on your PC. Here is why, and how to fix it.

Updated 24 November 2026

The cause: a hidden rotation note

A phone camera’s sensor always records the picture the same way round. When you hold the phone sideways or upside down, the camera does not turn the pixels; it saves a small note inside the file, called the EXIF orientation tag, that says “turn this 90° before showing it”.

Your phone’s gallery reads that note, so the photo looks right. Some websites, older programs and upload forms ignore it, or remove the note without turning the picture, so the photo appears the way the sensor recorded it: sideways.

The fix: turn the pixels themselves

To make a photo look right everywhere, the picture itself has to be saved the right way round, with no rotation note left to misread.

  1. Open Rotate image and drop in the photo. The preview shows it the way your phone does.
  2. If it still looks wrong, click Rotate left or Rotate right until it is upright.
  3. Download it. The saved photo has its pixels the right way round, so every website shows it correctly.

Converting a photo with any FormatBay tool, such as HEIC to JPG or Compress image, also applies the rotation for you.

Removing location data at the same time

The same hidden data area that holds the rotation note can also hold your GPS location and camera details. Remove photo location strips all of it, and applies the rotation first so the photo does not end up sideways.