Photo upside down or sideways in Word, Outlook or an email? Why, and the fix that sticks

The photo is upright on your phone and in your gallery. Put it in a document, an email or an online form and it lies on its side. Rotating it in that program sometimes helps until you save, and then it flips back.

Why it happens

Phones don't turn the image sensor when you tilt them. They store the pixels in the sensor's direction and write a number from 1 to 8 into the photo's EXIF data to say how it should be shown. Your phone, modern browsers and most photo apps read that number. Some email programs, older Office versions, web upload scripts and image libraries don't, and you see the photo as the sensor captured it.

It gets more confusing when a program does read the tag in one place but not another: the preview looks fine, then the sent email or the saved document doesn't. Turning the photo inside that program can leave the old tag in place, so the next app applies its own turn on top and the picture ends up upside down.

The fix that sticks

  1. Open the batch photo rotator and drop in the photos. The previews show them the way they should look.
  2. Turn any that are still wrong.
  3. Set How to turn JPEGs to Redraw the picture and tick Include photos I did not turn.
  4. Download copies. Each copy's pixels are now stored upright with no turn tag left to argue about, so it looks the same in every program.

Redrawing also leaves out the hidden location data, a bonus for anything you're sending to people you don't know. Nothing is uploaded; it all happens in your browser.

If you'd rather fix it inside the program

For developers: your upload shows photos sideways

Apply the tag on the server before resizing, then strip it: for example sharp(input).rotate() in Node, ImageOps.exif_transpose(img) in Pillow, or -auto-orient in ImageMagick. The guide to sideways uploads covers the order of operations.

Related

Image compressor (in your browser) · Batch photo rotator · Convert an iPhone HEIC photo to JPG · Get a photo under 100 KB for a form · Megapixels vs file size

Questions

Why is my photo sideways in Outlook but fine on my phone?

The phone shows the photo using a hidden orientation tag. Outlook, or the program that receives the email, ignored the tag and showed the sideways pixels. Redraw the photo upright before attaching it.

Why does my picture flip back after I rotate it in Word?

Word rotates its view of the picture, not the file itself, and the photo still carries the original orientation tag. Fixing the file first gives a result that stays put.

Will redrawing the photo reduce its quality?

Very slightly, because it is saved again. At quality 92, the rotator's default, the difference is hard to see.

Does this remove the GPS location from the photo?

Yes. Redraw mode saves only the picture, so location and other hidden data are left behind.

Published .

Try it

Related guides

Newest guides