Images
What is Image orientation?
Also called orientation tag or EXIF orientation.
Image orientation is the direction a picture should be displayed. Photos often record it as a metadata tag instead of storing their pixels upright.
How it works
A camera sensor always captures the scene the same way round. Instead of spending time rearranging millions of pixels when you hold the phone upright, the camera saves the image as captured and writes an EXIF orientation value from 1 to 8 describing how to rotate or flip it for display.
Phone galleries, modern browsers and most photo apps read that value. Some upload systems, older software and tools that strip metadata don’t, and show the raw pixels instead. That mismatch is the cause of almost every “my photo is sideways” problem.
Tag rotation vs pixel rotation
Changing only the tag is instant and lossless but depends on every program honoring it. Rotating the pixels takes longer and, for JPEG, re-compresses the image, but the result looks right everywhere. For photos you are about to upload or share, pixel rotation is the reliable fix.
A practical example
A portrait photo from a phone is stored as a landscape grid of pixels with a tag saying rotate 90 degrees. A website that ignores the tag shows it lying on its side.
What to watch out for
Removing all metadata can remove the orientation tag and leave a photo sideways. Rotate the pixels themselves before stripping metadata, or use a remover that keeps the tag.
Tools you can use
- Image Rotator · Turn and mirror images, in batches
- Rotate PDF · Fix sideways pages, one or all
- EXIF Viewer · See camera, settings and location data
- EXIF Remover · Strip metadata without touching image quality
Go a little deeper
- What is actually inside an image file
- Why are my photos sideways when I upload them?
- How to remove the location from a photo
- How to rotate a PDF permanently
Common questions
Why is my photo upright on my phone but sideways online?
The phone reads the orientation tag and the website doesn’t. Rotating the pixels, not just the tag, makes the photo display correctly everywhere.
Does rotating a photo reduce its quality?
Rotating a JPEG’s pixels means saving it again, which loses a tiny amount of quality at a high setting. For PNG there is no loss at all.
Can a PDF page have an orientation too?
Yes. PDF pages have a rotation setting, which is why a scanned page can appear sideways. Rotating the page permanently updates that setting for every reader.