Blog

Photo has the wrong rotation tag? What to do

Learn why a photo rotates incorrectly, how to check its EXIF orientation tag, and how to correct it without leaving the image sideways elsewhere.

Lauren HughesTools and utilities 5 min read

A photo looks upright on your phone but sideways on a computer, or the reverse. The image may be fine while its rotation tag tells some apps to turn it the wrong way. That tag is stored in the photo’s metadata, the extra information attached to the image.

Before editing, check whether the problem is the tag or the image itself. The guide How to inspect EXIF rotation before cleaning a photo explains what to look for. Then you can choose a correction that works across different viewers.

Check the rotation tag

  1. Make a copy of the original photo first. Keep it unchanged in case an edit makes the picture look worse or removes information you need.
  2. Inspect the photo’s EXIF orientation field with a metadata viewer. For a quick reference to what that field means, see How to inspect EXIF rotation before cleaning a photo.
  3. Open the same file in two different viewers, such as your usual photo app and a browser or another device. Note which one displays it incorrectly.
  4. Compare the image with the orientation tag. Values such as 3, 6, and 8 can indicate a 180-degree, 90-degree clockwise, or 90-degree counterclockwise display rotation. Other values can indicate a mirrored image as well as a rotation.
  5. Correct the orientation in an editor that can apply the displayed orientation to the image and reset the tag. Save a new copy, then check that copy in more than one viewer.

Do not assume that deleting the tag is the fix. If the image pixels are stored sideways and the tag is the only thing turning them upright, removing the tag can make the photo appear sideways everywhere.

What the result means

Only one app shows the wrong rotation

The file may be correct, but that app may interpret the orientation tag differently or ignore it. Confirm with another viewer before changing the photo. If it looks right in other apps, check for an update to the viewer or use an editor that reads EXIF orientation consistently.

Every viewer shows the photo sideways

The image may have been saved sideways, or its tag may be missing or incorrect. A metadata viewer can help you tell whether an orientation value is present, but the safest correction is to make a new copy that looks right and has its orientation normalized.

The photo is mirrored as well as rotated

Some orientation values represent a reflection, not just a turn. A simple rotate may leave text or other recognizable details reversed. Use an editor that can flip the image as well as rotate it, and check the result against the original scene.

The tag says normal, but the image still looks wrong

A normal orientation value usually means viewers should display the stored pixels without rotating them. If the photo still appears sideways, the pixels themselves may be sideways. Rotate the image in an editor and save a new copy with a normal orientation value.

How to fix it

  1. Check for a second copy. Look for another version of the photo in the camera roll, import folder, or backup. One copy may have the correct orientation, and comparing them can help identify when the problem appeared.
  2. Use an orientation-aware editor. Choose an editor that can rotate or flip the photo and save the corrected appearance into the image pixels. If its options include applying or normalizing orientation, use that when saving a new copy. Menu names vary, so look for the app’s image rotation and export controls rather than changing only the metadata field.
  3. Set the tag to match the saved image. After the image pixels have been corrected, set the orientation to normal, often shown as 1, if your metadata editor supports it. Do not set it to normal before applying a rotation that the tag currently provides, or the image may turn sideways.
  4. Save as a separate file. Use a new filename and keep the original until you have checked the new file. Some apps preserve the old tag, while others rewrite or remove metadata during export.
  5. Verify the copy in different viewers. Reopen the saved file in the app where it first looked wrong and in another viewer. If both show the same correct orientation, the correction is more likely to travel with the file.

Why the rotation tag matters

Many cameras and phones store the picture data in one direction and use an EXIF orientation tag to tell software how to display it. This can save the device from rewriting all the pixels each time you turn the camera. Modern photo apps often apply the tag automatically, but not every viewer, website, or editing program handles it the same way.

There are two different ways to correct a mismatch. You can change the tag so it describes the existing pixels, or you can rotate or flip the pixels and then reset the tag to normal. The second approach is often more reliable for sharing because fewer viewers need to interpret a special rotation instruction.

Removing metadata can also remove the orientation tag. If you plan to clean metadata, first make sure the photo’s visible orientation has been applied to the image itself. For more on keeping the displayed direction after metadata removal, see How to preserve photo orientation after EXIF removal.

Keep the original file until the corrected copy looks right on the devices and apps where you need to use it.