How to Rotate and Flip Images
TL;DR — the short answer
Sideways photo? Rotate it 90°, 180°, or 270°. Mirrored photo with backwards text? Flip it horizontally. Rotating by 90° steps is lossless — pixels are rearranged, not re-sampled. ToolsOfWeb’s free Image Rotate & Flip does both in your browser with a live preview, no upload, and downloads a PNG. If a photo looks fine on your phone but sideways on your computer, the cause is usually an ignored EXIF orientation flag — rotating the pixels here fixes it permanently.
Sideways photos and mirrored images are common problems. A phone might save an image with the wrong orientation, a scanned document might need turning to read properly, or a webcam capture might appear reversed. When you just want a quick fix—rotate 90 degrees, flip horizontally, download and move on—you don’t want to open a heavy editor.
This guide shows you how to rotate and flip images online for free using a fast, browser-based workflow. You’ll learn the difference between rotate and flip, when to use each option, step-by-step usage instructions, and quality tips. We’ll also cover common use cases (documents, selfies, product photos) and answer the most frequent questions.
Try the tool
Use ToolsOfWeb’s Image Rotate & Flip to rotate 90°, 180°, or 270° and flip horizontally or vertically, then download instantly.
Why photos appear sideways: the EXIF orientation flag
Here is the surprising part: in many cases, the photo’s pixels were never wrong. Phone cameras often store every photo in a single fixed orientation (usually landscape) and record how it should be displayed as a small EXIF metadata tag called the orientation flag — “rotate 90° clockwise to display correctly,” for example. Your phone’s gallery reads the flag and shows the photo upright. But plenty of desktop viewers, older software, and website upload forms ignore EXIF entirely and show the raw pixel data — which looks sideways or upside down.
This explains the classic confusion: the photo looks perfect on your phone but wrong everywhere else. The fix is to rotate the actual pixels, baking the correct orientation into the image data itself. Once the pixels are right, the EXIF flag no longer matters and the image displays correctly in every viewer — which is exactly what the tool does when you rotate and download.
Rotate vs flip: which one do you need?
Rotation and flipping both change orientation, but they solve different problems:
- Rotate 90°: turns the image clockwise and swaps width/height. This is the fix for the classic sideways phone photo.
- Rotate 180°: turns it upside down (common for inverted scans — documents fed into a scanner the wrong way round).
- Rotate 270°: turns it counter-clockwise (or 90° the other way). If 90° makes it worse, 270° is usually the answer.
- Flip horizontal: mirrors left-to-right (often fixes mirrored webcam shots).
- Flip vertical: mirrors top-to-bottom.
If an image is sideways, rotate it. If the content looks backwards (like mirrored text), flip it horizontally. You can also combine rotate and flip to get the exact result you need — for example, a photo that is both sideways and mirrored needs a 90° rotation plus a horizontal flip.
Is rotation lossless? (90° steps vs arbitrary angles)
Rotating by exactly 90°, 180°, or 270° is mathematically lossless: every pixel keeps its exact color value and is simply moved to a new position — no re-sampling, no interpolation, no quality change. This is fundamentally different from rotating by an arbitrary angle like 37°, which forces the software to blend pixels and inevitably softens the image. The tool only offers 90° steps, so you never pay that cost.
One nuance worth knowing: the tool exports as PNG, and PNG is lossless too — but it stores photos less efficiently than JPG, so a downloaded photo may be a larger file than the JPG you uploaded. That is a file size trade-off, not a quality loss: the pixels are identical. If file size matters for your use case, run the result through Image Compressor afterwards.
How to rotate an image 90°, 180°, or 270°
- Open Image Rotate & Flip.
- Upload your image (PNG, JPG/JPEG, or WebP). The file stays on your device — upload here just means loading it into the browser tab, not sending it anywhere.
- Click 90°, 180°, or 270° and check the preview. The preview is the actual result, not an approximation, so trust it: if the preview looks right, the download will too. Try 270° if 90° made things worse — they are opposites.
- Click “Download PNG” to save the rotated image. If you rotated the wrong way, click another rotation option or hit Reset to return to the original orientation — nothing is final until you download.
How to flip (mirror) an image
Flipping is useful when the image is mirrored. This happens frequently in webcam photos or when an app saves a selfie preview rather than the intended orientation. To flip:
- Upload an image into the tool.
- Click “Flip horizontal” to mirror left-to-right.
- Click “Flip vertical” to mirror top-to-bottom (less common, but useful for some scans).
- Download the result.
Examples: when flip is the right fix
- Mirrored text: signs, whiteboards, or screenshots that read backwards.
- Design symmetry: mirror an icon or product photo for a layout.
- Selfies: create a mirrored version for a particular aesthetic.
Real scenarios: where a quick rotate saves the day
- The ID scan for a job application. You photograph your ID card with your phone, but the portal shows it sideways and the “rotate” button on the form does nothing. Rotate 90° here, download the PNG, upload that — done in under a minute, and the pixels are baked in so the portal cannot misread them.
- The marketplace listing photo. A seller photographs a product, but the thumbnail on the listing site appears upside down because the site ignores the EXIF flag. Rotating the actual image before uploading fixes it on every device that views the listing.
- The mirrored video-call screenshot. A screenshot from a video call shows a whiteboard with backwards writing. A horizontal flip makes the text readable — no need to re-take the call.
Browser tool vs OS app vs command line: which to use?
| Method | Best for | Trade-offs |
|---|---|---|
| Browser tool (this one) | One-off fixes on any device; nothing to install; private. | Exports PNG only; one image at a time. |
| OS Photos app (Windows/macOS/phone gallery) | Quick fixes on your own device with the original format preserved. | Some “rotates” only rewrite the EXIF flag — the problem comes back on other viewers. |
| ImageMagick (command line) | Batch-rotating hundreds of images; scripting; format control. | Requires installation and terminal comfort; easy to re-encode JPGs and lose quality if flags are wrong. |
| Desktop editors (Photoshop, GIMP) | When rotation is one step in a larger edit. | Heavy to open for a 10-second task; overkill if all you need is a rotation. |
The key distinction: tools that rotate the pixels (this browser tool, most editors) fix the problem permanently; tools that only update the EXIF flag leave the raw pixels sideways for any viewer that ignores the flag. If a photo keeps “un-rotating” itself on different devices, the flag-only rotate is the culprit.
Privacy-first processing (no upload required)
ToolsOfWeb tools are designed to run locally in your browser for supported workflows. That means the rotate and flip operations happen on your device rather than sending your images to a server for processing. This is useful when you’re working with sensitive images (IDs, documents, private photos) and want a quick fix without uploading files.
Quality and file size tips
The tool exports as PNG, which is great for quality and compatibility. However, photos can be larger as PNG. If you’re sharing an image online or uploading it to a website, you may want to compress it after rotation. Use ToolsOfWeb’s Image Compressor to reduce size while keeping it sharp. For best practices and guidance, read How to Compress Images Without Losing Quality.
If you need an exact size (for a website header or thumbnail), rotate first and then use Image Resize. If you want to crop to a specific aspect ratio (like 1:1 or 16:9), try the Image Cropper and check the guide Image Cropper Online Free (Aspect Ratios).
FAQs
What is the difference between rotate and flip?+
Rotate turns the image (90°, 180°, 270°) — a sideways photo becomes upright. Flip mirrors the image horizontally (left/right) or vertically (top/bottom) — a mirrored photo with backwards text becomes readable. Use rotate for orientation, flip for mirroring.
Why does my photo look sideways on my computer but fine on my phone?+
Many phones store photos in one fixed orientation and record the intended rotation as an EXIF orientation flag. Your phone’s gallery reads the flag; some desktop viewers and websites ignore it, so the photo appears sideways. Rotating the actual pixels in this tool bakes the correct orientation in, fixing it everywhere.
Does ToolsOfWeb upload my image?+
No. The rotate and flip processing runs locally in your browser for supported workflows. Your image is not uploaded for processing — useful for IDs, documents, and private photos.
Which formats work?+
Most common image formats work in modern browsers, including PNG, JPG/JPEG, and WebP. The tool exports a PNG.
Will rotating change quality?+
Rotating by exact 90° steps is mathematically lossless — pixels are rearranged, not re-sampled. The tool then exports to PNG, which preserves quality well. File size may change (photos exported as PNG can be larger than the original JPG).
How do I reduce the file size after rotating?+
After downloading, use ToolsOfWeb’s Image Compressor to reduce the file size while keeping it sharp. Rotate first, then compress — compressing first and rotating later just means doing the work twice.
Rotate or flip an image now
Open Image Rotate & Flip to fix sideways or mirrored images in seconds — free, private, no upload.
