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 value | What it tells the viewer | How it looks if ignored |
|---|---|---|
| 1 | Already upright | Correct |
| 3 | Rotate 180° | Upside down |
| 6 | Rotate 90° clockwise | Lying on its left side (most common: phone held upright) |
| 8 | Rotate 90° anticlockwise | Lying 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
- Open the photo in Rotate Image.
It shows the photo the way your phone does.
- Turn it upright if needed.
If it already looks right, rotate it once and back, or just save it; the tool writes upright pixels.
- 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?
What is EXIF orientation?
How do I permanently fix a sideways photo?
Does rotating a JPG reduce quality?
Why are my photos sideways in a PDF?
Fix a sideways photo
Rotate or flip images and save them upright for every app. Nothing is uploaded.
Open Rotate Image