Initializing, please wait a moment

EXIF Orientation Tags - Why Photos Look Rotated After Upload

A photo can look upright in your gallery yet arrive sideways after upload or cropping - not because the pixels broke, but because the file's EXIF Orientation tag tells a viewer how to rotate it, and not every tool reads that tag. Check the tag with the EXIF viewer before assuming the image is broken.

Last reviewed: 2026-08-01



What happened

Compare what happened using the four points in this diagram.
What happened at a glance.

The EXIF (Exchangeable Image File Format) standard defines an Orientation tag with values 1 through 8, one for each 90-degree rotation and mirror-flip combination a camera sensor can record. The tag rides along as metadata next to the pixel data - the pixel data itself is never physically rotated. The Library of Congress's digital-format registry describes Exif as a metadata layer built on top of existing TIFF and JPEG encodings, carried specifically for camera settings rather than the image content.

Browsers took years to agree on reading that tag automatically. The CSS image-orientation property, whose from-image default tells a renderer to rotate the image per its EXIF tag, reached Baseline "Widely available" status in April 2020, per MDN. Checked against caniuse.com on 2026-08-01:

Browserimage-orientation: from-image support
FirefoxVersion 26 onward
Safari (macOS)Version 13.1 onward
Safari (iOS)Version 13.4 onward
ChromeVersion 81 onward
EdgeVersion 81 onward
OperaVersion 68 onward
Samsung InternetVersion 13.0 onward

Global support sits at 94.6 percent as of this check; Internet Explorer (all versions) and Opera Mini never added it.


Why it matters for everyday files

Why this matters for everyday files: browsers reading the tag automatically fixed the most common complaint - a photo dropped straight into a web page or a social feed now displays right-side up almost everywhere. What that fix does not guarantee: every tool a file passes through afterward. The orientation instruction is metadata sitting next to the pixels, not baked into them, and metadata is exactly the kind of detail that a resave, a crop, or a format conversion can silently drop. A photo that previews correctly in one app can still come out of another tool rotated 90 or 180 degrees, and the safest habit is to look at the actual tag value before assuming a rotated result means the file itself is damaged.


What to do with your files right now

Compare what to do with your files right now using the four points in this diagram.
What to do with your files right now at a glance.

If a photo comes out sideways or upside down, these steps cover almost every case:

  • Check the tag before you troubleshoot anything else. The EXIF viewer reads a photo's metadata in the browser, including the Orientation value, so you can confirm whether the problem is sitting in the metadata rather than the pixels.
  • Straighten a sideways result by hand. The image cropper's rotate-left and rotate-right buttons turn a photo in 45-degree steps, and its free-angle handle fixes a tilted horizon, both without leaving the page or uploading the file.
  • Read the fuller walkthrough for repeat cases. The crop and rotate guide covers straightening a batch of photos that all arrived with the same orientation problem.

Sources

← Back to News

Related tools:

  • TRAPPIST-1 3D Explorer - TRAPPIST-1 3D Explorer - 7 real Earth-sized planets in a rare resonance chain - free 3D.

Related guides: