Rotate and fix image orientation online
Your photo looks perfect on your phone. It displays sideways on your website. That's not a bug, it's a decision your device made for you. This guide explains why it happens, how to rotate an image to permanently fix the orientation, and the difference between correcting pixels or just the EXIF tag.
6 min read
En résumé
Rotating an image online applies a 90°, 180° or 270° rotation and records the correction in the file, unlike simple display. Some tools also fix the EXIF Orientation tag, preventing re-display issues when different software reads this tag differently.
Why your photo displays in the wrong direction
Camera sensors (whether on a smartphone or compact camera) physically record the image in a fixed orientation: landscape. When you photograph holding your phone vertically, the sensor hasn’t “rotated”. It captured a landscape image and noted in the file’s metadata: “rotate the display 90°”.
EXIF Orientation tag
Metadata embedded in JPEG files that tells the viewer how to orient the image. Value 1 = right, no rotation. Value 6 = 90° clockwise rotation required. The sensor writes this tag, it's up to the software to read it.
Aussi appelé : EXIF Orientation, EXIF rotation, metadata orientation
Ex : An iPhone in portrait mode writes Orientation = 6 in the file. iOS Photos reads it and displays the photo upright. Some CMS ignore it and display the photo sideways.
It’s this tag that most applications read to display your photo correctly. iOS, macOS, Android, Chrome: they respect it. Some software, servers and platforms don’t read it. Result: the same photo displays correctly in your gallery and sideways on your website.
The correction consists of either re-encoding the file with pixels physically rearranged (real rotation) or resetting the Orientation tag to 1 without touching pixels. Both display the photo upright — but not with the same compatibility guarantees.
Rotate an image with Impmage in 4 steps
Processing happens client-side. No file leaves your device.
Rotate an image with Impmage
- 1
Load the image
Drag your image into the drop zone or click 'Choose a file'. Accepted formats: JPEG, PNG, WebP and other common image formats.
Load the image at its original resolution — avoid starting from an already-compressed or reduced version.
- 2
Access the Rotate tool
Click the 'Rotate' tab in the toolbar. Rotation buttons appear: 90° left, 90° right, 180°, horizontal flip, vertical flip.
If your photo is tilted to the right (subject's head to the left), choose 90° right rotation to straighten it.
- 3
Choose the rotation
Select the desired angle. The preview updates instantly. You can chain multiple rotations before downloading.
For an upside-down photo (180°), one click is enough — no need to do 90° twice.
- 4
Download the corrected image
Click 'Download'. The file is exported with pixels rearranged in the new orientation. The correction is permanent, the file will display correctly in all contexts.
If you also want to compress or convert the format, chain the tools in Impmage before final download.
Flip an image: horizontal and vertical symmetry
Rotating and flipping are two distinct operations. Confusion is frequent.
Rotating turns the image around its center: 90°, 180°, 270°. The content stays the same, its orientation in space changes.
Flipping creates a mirror effect. Horizontal flip (left-right flip) reverses elements from left to right, as if the image were reflected on a vertical axis. Vertical flip reverses top and bottom.
In practice, horizontal flip mainly fixes an image taken “in mirror”, like a front-facing selfie on some phones. Vertical flip is less common, used occasionally for creative or technical needs.
Selfie in mirror: normal or flipped?
The front camera of most smartphones shows a mirrored preview so you see your own reflection. But when recording, some devices flip the image back, others don’t. If your selfie looks “reversed” (text readable backwards, mole on the wrong side), a horizontal flip in Impmage fixes it in one click.
Pixel rotation vs EXIF correction: what’s the difference?
Two approaches exist to fix orientation. They produce a visually identical result, but not the same compatibility.
Pixel rotation vs EXIF Orientation tag correction
| Criterion | Rotate pixels (re-encode) | EXIF tag fix only |
|---|---|---|
| Pixels rearranged in file | Yes | No |
| EXIF Orientation tag after fix | Reset to 1 (normal) | Reset to 1 (normal) |
| Display compatibility | Universal: all contexts | Depends on EXIF tag respect |
| Risk of quality loss (JPEG) | Possible if re-encoding with loss | None (pixels untouched) |
| Result in modern browsers | Correct | Correct |
| Result in contexts ignoring EXIF | Correct | Photo displays sideways |
Pixel rotation is more robust. EXIF-only fix preserves quality but depends on good viewer behavior.
For web publishing (site, social network, email), pixel rotation is the most reliable method. It eliminates the tag as a source of problems rather than depending on it.
Impmage rearranges pixels
Impmage’s Rotate tool physically rearranges the file’s pixels. The EXIF Orientation tag is reset to 1 (normal position). Result: the image displays correctly in all contexts, including servers, CMS and tools that ignore EXIF metadata.
Frequently asked questions
How do I rotate an image online without downloading software? ▾
Why does my photo display sideways on my website when it looks correct on my phone? ▾
Does rotating an image online degrade its quality? ▾
What's the difference between rotating and flipping an image? ▾
How do I fix the orientation of a photo on iPhone? ▾
Why does a well-oriented photo on Android display upside-down online? ▾
Can you rotate a PNG image online without loss? ▾
How do I rotate multiple images at the same time? ▾
Fix your image orientation now
100% local tool: no file leaves your browser. Free, no account, no limits.
Use the Rotate tool
GlitchGhost
Independent developer
Independent developer specializing in web performance tools and image optimization.
On the same topic
Resize an image online without losing quality
Change image dimensions without degrading, in 4 steps.
Crop an image online: formats, ratios and best practices
Difference between cropping and resizing, ratios by use case.
EXIF metadata: what your photos reveal about you
What's hidden in your photo files and how to control it.