Back to All Blog Posts
Image Guides

Why Your Photos Appear Sideways After Uploading, and How to Fix Them for Good

By 4 min read
A phone photo displayed sideways next to the same photo upright
Short answer

Phones usually save the picture the way the sensor sees it and add a small EXIF orientation tag saying "rotate this 90° when you show it". Your gallery follows the tag; some upload forms, older apps and document tools ignore it, so the photo appears sideways. The fix is to rotate the actual pixels and save: open it in Rotate Image, turn it upright and download. The new file looks right everywhere.

This one confuses everyone, because the photo looks perfect on the device that took it. The problem only appears after it leaves: in a job portal preview, a Word document, an older Windows app or an email to someone else.

What’s actually happening

A camera sensor has a fixed "up". When you turn your phone sideways or upside down, the sensor still records the image in its own orientation. Rather than spend time rotating millions of pixels, the phone writes a note in the photo’s EXIF data (the hidden information that also stores date, camera model and sometimes location): "display this rotated 90 degrees clockwise".

Your gallery, Chrome, Safari and most modern apps read that note and turn the picture for you. Anything that skips the note shows the raw sensor image, which is sideways or upside down.

The orientation values

EXIF valueWhat it tells the viewerHow it looks if ignored
1Already uprightCorrect
3Rotate 180°Upside down
6Rotate 90° clockwiseLying on its left side (most common: phone held upright)
8Rotate 90° anticlockwiseLying on its right side

Values 2, 4, 5 and 7 add a mirror flip. You’ll mostly see them from front cameras and some editing apps.

Where it goes wrong

  • Upload forms that strip metadata. Many sites remove EXIF data for privacy (which is good), but if they remove the orientation note without rotating the pixels first, your photo arrives sideways.
  • Older desktop software and some print kiosks that never learned to read the tag.
  • Image-to-PDF converters that place the raw image on the page.
  • Compression tools that drop all metadata to save a few kilobytes.

The fix: rotate the pixels, not the tag

  1. Open the photo in Rotate Image.

    It shows the photo the way your phone does.

  2. Turn it upright if needed.

    If it already looks right, rotate it once and back, or just save it; the tool writes upright pixels.

  3. Download the new copy.

    The saved image is upright in its pixels, with the orientation tag reset, so every app shows it the same way.

For a batch of photos, rotating them in one go before turning them into a PDF or uploading them saves a lot of back and forth.

Sideways pages in a PDF

If the sideways photo is already inside a PDF, rotate the page instead with Rotate PDF, and the change will be saved into the file. This guide explains the difference between rotating the view and rotating the file.

Avoiding it next time

  • Hold the phone the way you want the final picture to look, and wait a moment for the screen to rotate.
  • When photographing documents flat on a table, the phone can’t tell which way is up. Use a scanning app or Scan to PDF, which detect the page.
  • Screenshots never have this problem, because they’re saved upright.

A note on location data

The same EXIF block can store the GPS position where the photo was taken. Rotating and re-saving with an image tool usually removes it, which is a good habit before posting photos of your home, children or workplace.

Frequently asked questions

Why does my photo look fine on my phone but sideways online?

The photo has an orientation tag that your phone follows but the website or app ignores. Rotating and saving the pixels fixes it everywhere.

What is EXIF orientation?

A small value saved in the photo that tells viewers how to rotate it for display, for example 6 means rotate 90 degrees clockwise.

How do I permanently fix a sideways photo?

Open it in an image rotator, turn it upright and download. The new file has upright pixels, so no app can show it sideways.

Does rotating a JPG reduce quality?

A 90 or 180 degree rotation re-saves the JPG, which can cause a tiny loss. At high quality settings the difference is not visible.

Why are my photos sideways in a PDF?

The converter placed the raw image without reading the orientation tag. Rotate the page with a PDF rotate tool, or fix the photos before converting.

Fix a sideways photo

Rotate or flip images and save them upright for every app. Nothing is uploaded.

Open Rotate Image
Akhtar Ali

Founder of CleanPDF. I build the site’s browser-based PDF, image, QR code and calculator tools, and I write these guides around the questions people send in while using them.