All articles
Metadata guides

Fix Sideways Photos After Removing EXIF Metadata

Learn why EXIF removal can rotate a photo, how to separate display orientation from image pixels, and how to prepare an upright copy before sharing.

6 min read
Fix Sideways Photos After Removing EXIF Metadata illustration

Your photo looked upright until you removed its metadata. Now the downloaded copy appears sideways, even though its dimensions and file format seem unchanged. This can happen when the original relied on an EXIF Orientation instruction rather than storing its pixels in the direction you expected.

The fix is to create an export whose pixels are already upright, then review its metadata. Simply restoring all of the original EXIF may restore location and camera details you intended to remove. Keep the original and work on a separate delivery copy.

Two different meanings of upright

An image has a stored arrangement of pixels and a way a viewer chooses to display those pixels. Orientation metadata can tell a compatible viewer to rotate or mirror the stored image for presentation. When the instruction disappears, the viewer may show the stored arrangement directly.

Imagine a portrait that contains a landscape-shaped pixel grid. The camera recorded an instruction to turn it for display. Removing that instruction does not necessarily rotate any pixels. The result can therefore look different even when the compressed image data is unchanged. This example explains the mechanism; it is not a test of every phone or editor.

Not every disagreement between viewers is an orientation problem. One application may display a cached thumbnail while another decodes the full image. An editor may also have an unsaved rotation in its catalog. Establish which file and which view you are comparing before changing anything.

Diagnose the exact downloaded copy

Put the original and the cleaned download in a temporary folder with clearly different names. Open the full-size files, rather than comparing only gallery thumbnails. Use the same viewer first so that application behavior is held constant. Then open the cleaned file in another viewer to see whether the issue follows the file.

A detailed metadata reader can show Orientation with its group name. For readers who already use ExifTool, the read-only command exiftool -a -G1 -s -Orientation original.jpg can reveal orientation entries. Substitute your actual path and quote paths containing spaces. A missing tag is a result about metadata, not proof that the visible image is upright.

Record the stored width and height, the orientation entry if present, and how each viewer displays the file. A 4000-by-3000 grid that displays as a portrait is a useful clue. Dimensions alone are not a diagnosis because an editor may already have rotated the pixels while retaining or resetting an orientation field.

Normalize orientation before cleaning

Return to the untouched original in an image editor. Make the image visibly upright and export a new copy with rotation applied to the image itself. Export controls differ, so do not assume that a rotate button necessarily rewrites pixels. Some applications save only a catalog instruction until export.

Inspect the new export outside the editor. It should display upright without depending on an instruction to rotate it again. If an Orientation tag remains, a normal orientation value may be appropriate; an absent tag can also work when the pixel grid is already correct. The goal is consistent rendering, not a particular tag count.

Run your chosen metadata operation on this normalized export and inspect the downloaded result again. This order separates the visual correction from privacy cleanup. Avoid repeatedly opening, saving and cleaning JPEGs while experimenting, because ordinary editor exports can recompress them. Start from the original for each new trial.

What Remove AI Labels does in this situation

The site's JPEG metadata cleaner copies encoded scan data instead of decoding and rotating it. EXIF removal removes the containing EXIF segment, including an orientation instruction stored there. The cleaner does not normalize the image's orientation automatically. An unchanged scan therefore does not guarantee an unchanged appearance.

AI-only cleaning and EXIF cleaning also have different purposes. In the current JPEG implementation, AI-only targets recognized XMP and C2PA-related structures and can leave EXIF in place. That may preserve orientation, but it can also preserve other EXIF information. Do not choose it as a substitute for location privacy just because the photo remains upright.

HEIC/HEIF takes a different path: it is converted to JPEG. Conversion is not the same metadata-only operation and should be checked independently. If your aim is to retain a HEIC original, archive it before producing the sharing copy. Do not infer JPEG behavior from the name of the source file.

A small acceptance check before a large delivery

Choose three representative files: one portrait, one landscape and one image that has been mirrored or rotated in editing. Prepare and clean copies using the same settings you intend to use for the full delivery. Open each full-size result and compare subject direction, framing and dimensions.

For a portrait session, pay attention to asymmetrical details such as text on clothing or the hand holding an object. A mirrored result can seem upright while still being incorrect. For product photography, labels and packaging are good reference points. These checks catch presentation problems that a metadata badge cannot describe.

If the test succeeds, apply the workflow to the remaining images and retain the originals separately. If it fails only in one viewer, investigate that viewer's cache or orientation behavior before overwriting the export. Do not repair a correct file to accommodate an old thumbnail without checking the actual image.

When restoring a tag is the wrong shortcut

Copying metadata from the original can solve the appearance symptom while undoing the privacy work. A broad metadata copy may restore GPS, timestamps, device information, captions and editing history. A narrowly edited orientation field is different, but it still needs a reader capable of showing exactly what was written.

For a public copy, an upright export followed by inspection is usually easier to reason about than a cycle of deleting and restoring entire metadata blocks. For an archive or evidentiary original, preserve the original bytes and make any corrected version a clearly separate derivative. Metadata cleaning does not establish authenticity or change disclosure obligations.

The practical finish line is an image that opens correctly in the viewers your recipient uses, retains the color information it needs, and has been checked for the specific private fields you intended to remove. A smaller file or a clean-looking gallery thumbnail is not enough.

Frequently asked questions

Can I fix this by renaming the file?

No. A filename does not change pixel orientation or an embedded display instruction. Use a new name only to distinguish your corrected export from the original.

Why does the small preview look correct?

The application may be showing a cached or embedded preview. Open the full-size downloaded image and compare it in another viewer before changing the file.

Educational information only, not legal advice. Process only files you own or are authorized to use, and follow applicable disclosure requirements.