Quick answer
To mirror an image online, use Flip Horizontal. To fix a sideways photo, use Rotate Left or Rotate Right. To fix an upside-down image, rotate it 180 degrees by turning it twice.
Those operations solve different problems:
- A sideways phone photo needs rotation.
- A mirror selfie that faces the wrong way needs a horizontal flip.
- Backward text on a shirt, sign, receipt, label, or whiteboard needs a horizontal flip.
- A scan or reflection that is upside down may need a 180-degree rotation or vertical flip.
PhotoTools does this in the browser. You drop in the image, click the rotate or flip button, preview the corrected copy, and download it without sending the original file to a server.
Which fix solves your image problem
| What you see | Use this | What changes |
|---|---|---|
| Portrait photo appears sideways | Rotate 90° left or right | Swaps width and height |
| Image is upside down | Rotate 180° | Keeps width and height, turns content upright |
| Selfie does not match mirror preview | Flip Horizontal | Reverses left and right |
| Text reads backward | Flip Horizontal | Makes mirrored writing readable |
| Scan is inverted top-to-bottom | Flip Vertical | Reverses top and bottom |
| Product faces the wrong direction | Flip Horizontal | Changes product direction without rotating |
| Watermark or logo is in the wrong corner after rotation | Reset, rotate first, then watermark | Keeps later edits aligned |
If you are unsure, look for text in the image. If text is readable but sideways, rotate. If text is backward, flip horizontally.
Mirror, flip, and rotate are not the same
The two operations are easy to mix up, so here is the plain-language version.
- Rotate 90° or 270°: turns the image sideways and swaps width and height. A 3024 x 4032 portrait becomes 4032 x 3024.
- Rotate 180°: turns the image upside down or right side up while keeping the same width and height.
- Flip Horizontal: mirrors the image left to right. This is what most people mean by "mirror image online."
- Flip Vertical: mirrors the image top to bottom. It is less common, but useful for inverted scans, reflections, and some creative layouts.
On the technical side, browser image tools usually draw the image onto a canvas, apply a transform, and export a new file. MDN documents rotate() for canvas rotation, scale(-1, 1) for horizontal flipping, and drawImage() for drawing source pixels onto the transformed canvas.
Why phone photos look upright in one app and sideways in another
Sideways phone photos often come from orientation metadata.
When you take a portrait photo, the camera may store the pixel grid in one orientation and write an EXIF orientation value that tells viewers how to display it. Modern galleries usually honor that information, so the photo looks upright on your phone. Some upload forms, CMS tools, email clients, older viewers, or processing pipelines may ignore or normalize that metadata differently.
MDN's image-orientation documentation describes the browser-side idea: image orientation can be corrected from EXIF information. That is useful for display, but it also explains the source of the confusion. One viewer may respect the orientation hint; another workflow may not.
The durable fix is to export a corrected copy after the image looks right. In that copy, the visible direction is baked into the actual pixel result instead of depending on the original orientation tag.
How to mirror or rotate an image in PhotoTools
Use this workflow when you want a corrected image, not just a preview that looks right in one app:
- Open Rotate & Flip.
- Drop in one or more images.
- Click Rotate Left or Rotate Right for sideways photos.
- Click Flip Horizontal for mirror selfies, backward text, and direction changes.
- Click Flip Vertical only when the image is inverted top-to-bottom.
- Use Reset if you took the wrong turn.
- Download the corrected file, or download a ZIP when you are fixing a batch.
The current PhotoTools rotate workflow exports edited copies as high-quality JPG files. That is a good fit for most camera photos, selfies, and web uploads. If the original is a transparent PNG or a graphic where transparency must stay transparent, keep the original and use a PNG-preserving workflow before publishing.
Make backward text readable
Backward text is a classic mirror problem, not a rotation problem.
Use Flip Horizontal when:
- a selfie makes shirt text backward;
- a sign or storefront appears mirrored;
- a whiteboard photo is reversed;
- a scanned receipt or label reads right-to-left;
- a product image needs to face the opposite direction in a layout.
Do not rotate a mirrored text image first. Rotation can make the text sideways, but it will still be backward. Flip horizontal first, then rotate only if the whole image is also sideways.
Fix selfies without guessing
Selfies are confusing because the preview and saved file may not match. A phone may show a mirror preview while you pose, then save a non-mirrored file. Another camera app may save the mirrored version. Social apps can add another layer of preview behavior.
Use this simple test:
- If text in the image is backward, use Flip Horizontal.
- If text is readable but the face direction feels different from the preview, use Flip Horizontal only if you want the final file to match the mirror-like view.
- If there is no text, compare details such as hair part, watch hand, logo, or background objects.
For profile photos, the "correct" version is sometimes personal preference. For product photos, documents, signs, and screenshots, readable text and real-world orientation usually matter more than mirror comfort.
Rotation, dimensions, and file size
A rotation can change dimensions even when it does not resize the image.
| Edit | Width and height | File size | Notes |
|---|---|---|---|
| Rotate 90° | Swapped | Can change | Portrait becomes landscape or the reverse |
| Rotate 180° | Same | Can change | Re-encoding still affects bytes |
| Flip Horizontal | Same | Can change slightly | Same pixel grid, mirrored content |
| Flip Vertical | Same | Can change slightly | Same pixel grid, top and bottom reversed |
| Reset | Original | Original | Returns to the uploaded file in the workspace |
File size is not a reliable way to tell whether rotation worked. A corrected JPG can be larger or smaller than the original because the browser created a new file, used a quality setting, and did not carry over the same metadata blocks.
Image quality: what actually changes
For 90, 180, and 270 degree edits, the transform is not the same as a blurry free-angle straighten. The tool is moving the existing image into a new orientation. The quality risk comes mostly from export.
PhotoTools exports edited rotate/flip results as high-quality JPG. For normal photos, that is usually visually fine. For screenshots, diagrams, receipts, and small text, a JPG export can soften edges because JPEG is a lossy photo format. Keep the original if you need an archival copy or a transparency-preserving version.
Avoid this workflow:
- Download a compressed JPG.
- Rotate it.
- Download again.
- Reopen it later and flip it.
- Download again.
That stacks lossy exports. A cleaner workflow is to start from the original, rotate or flip once, then do crop, resize, watermark, and compression in the final order.
EXIF orientation and metadata
Rotating a photo visually and editing the EXIF orientation tag are different operations.
An EXIF-only fix changes the instruction attached to the file. A pixel-based fix draws a corrected version and exports a new file. Pixel-based correction is usually more predictable for upload forms and website publishing because the image no longer depends on a viewer interpreting the original orientation tag the same way your phone did.
Canvas export also means metadata may not be preserved. That can be good for privacy when you are sharing a public copy, because GPS location and camera details are often stripped during browser re-encoding. It can be bad if you need the metadata for evidence, photo management, or an archive.
The safest rule: keep the original file if metadata matters. Publish or upload the corrected copy.
Best order for photo edits
Do orientation first. It prevents later edits from landing in the wrong place.
Use this order for most photos:
- Rotate or flip.
- Crop.
- Resize.
- Add watermark.
- Compress or convert format.
For example, if you watermark a portrait photo and then rotate it, the watermark may move from the bottom-right corner to the side. If you crop before fixing a sideways image, the crop may frame the wrong part of the subject.
Troubleshooting
The image is still sideways after upload
The upload destination may have cached the earlier file or applied its own orientation handling. Download your PhotoTools result, check that it opens correctly in another viewer, then upload the corrected copy with a fresh filename.
The photo became landscape after rotating
That is expected for a 90 or 270 degree rotation. Width and height swap. If you need a portrait layout after rotation, crop or resize after the orientation is correct.
The background is no longer transparent
The edited copy was exported as JPG. JPEG does not support transparency. Keep the original transparent file and use a PNG/WebP-preserving workflow when transparency is required.
The corrected file is larger
That can happen after re-encoding. If file size matters, rotate first, then use Compress on the corrected copy.
The mirror image looks wrong
Use readable text as your guide. If text is backward, flip horizontally. If text is readable but the photo is sideways, rotate. If there is no text, compare recognizable asymmetrical details before saving.
The practical takeaway
Mirroring and rotating are small edits, but they fix very different problems. Use Flip Horizontal for mirror images and backward text. Use Rotate Left or Rotate Right for sideways phone photos. Export one corrected copy, keep the original if metadata or transparency matters, and do orientation before crop, resize, watermark, or compression.