How to fix an iPhone photo that opens sideways after export
Open the photo in Apple Photos, tap Edit › Crop, tap the Rotate button until the image stands upright, and tap Done, or export a fresh JPEG copy in Preview on iPhone or Mac so the pixels match the orientation. Some older web forms and document viewers ignore the EXIF orientation tag and display raw camera pixels sideways. Apple’s iPhone Photos crop and rotate guide
By Paul Bădărău, maker of Milkglass. Instructions checked on 30 November 2026.
Steps to fix a sideways photo on iPhone and Mac
- Open the photo in Photos on your iPhone, tap Edit, then tap Crop.
- Tap the Rotate icon (the square with a curved arrow) in the upper-left corner until the photo is upright, then tap Done.
- If the photo already looks upright in Photos but opens sideways on a website or Windows PC, open it in Preview on Mac, choose Tools › Rotate Left or Rotate Right if needed, then choose File › Export and save a new JPEG. Apple’s Preview export guide
- On iPhone, you can also export a fresh copy from the Preview app or share a JPEG copy, then open that exported file in the destination app or browser to confirm it stands upright. Apple’s iPhone Preview export guide
What rotating and re-exporting affects
Rotating in Apple Photos updates the library view on your iPhone and Mac while keeping your original edit history intact. Re-exporting a new JPEG copy from Preview writes a separate file with upright pixel dimensions, so recipients and web portals display it correctly without relying on an orientation tag.
Always check the new export at full zoom before sending. A rotated scan of an ID, receipt, or form becomes much easier to read once it is upright, which also makes it easier to spot a reference number, signature, or background detail you meant to crop or cover.
When the exported photo still appears sideways
- You sent the unmodified original instead of the rotated copy. On Mac, choosing Export Unmodified Original skips your rotation in Photos. Use Export Photos instead.
- A metadata stripper removed the orientation tag without rotating pixels. Some tools delete all EXIF tags, including Orientation, which makes portrait photos tip sideways. Use Milkglass’s metadata tool, which preserves readable orientation facts while removing personal metadata.
- The browser cached the old image preview. Rename the newly exported upright file before uploading it again so the website loads the fresh copy.
Common questions about sideways exported photos
Why does a photo look upright on iPhone but sideways on a website?
iPhones record sensor pixels in a fixed direction and store an EXIF Orientation tag telling apps how to turn the picture. Apple Photos reads that tag, whereas older upload forms and some viewers ignore it and show the unrotated pixels.
Does removing EXIF metadata make my iPhone photos turn sideways?
It can if a tool strips the Orientation tag without keeping it or baking the rotation into the pixels. Exporting a fresh JPEG in Preview or using a tool that keeps orientation display facts prevents that surprise.
How do I check the orientation and file type before uploading?
Open the exported file in Preview or Finder on Mac, as shown in our guide to checking HEIC vs JPEG, or test-load it in a browser tab before submitting a form.
Related photo export and cleanup guides
If you need to convert a HEIC file at the same time, see how to save an iPhone photo as JPEG. You can also crop private details out of an iPhone photo or check embedded fields with Milkglass’s metadata viewer.