Choose the edit that matches the problem
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 distracting edge or the wrong aspect ratio needs a crop.
- 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 your browser. You drop the image, click the rotate or flip button, preview the fixed copy and download it without sending the original file to a server.
Crop changes the frame; resize changes the scale
Cropping removes pixels outside a selected area. Use it to change composition, create a square profile picture, turn a landscape image into a 16:9 banner, or remove an unwanted edge. Resizing keeps the whole frame but changes its pixel dimensions. If a platform requires both a shape and an exact size, crop first and resize second.
Open Crop, choose a preset such as 1:1, 4:3, 16:9, 3:4, or 9:16, then move the selection until the subject has enough breathing room. Start from the highest-resolution original you have: a tight crop discards pixels, and enlarging the smaller result later cannot restore detail.
Use this order when a file needs several edits:
- Rotate until the scene is upright.
- Flip only when direction or backward text needs correction.
- Crop to the destination's aspect ratio.
- Resize to the required pixels.
- Add a watermark, then compress the final delivery copy.
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 |
When in doubt, look for text in the image. The text is readable but sideways, rotate. Flip horizontally if text is reversed.
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 specifying how viewers should display it. That info is generally honored by modern galleries , so the photo appears to be upright on your phone . Some upload forms, CMS tools, email clients, older viewers or processing pipelines might ignore that metadata, or normalize it 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 long term solution is to export a corrected copy after the image looks right. In that copy, the visible direction is baked into the actual pixel result, not with 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 fine for most camera photos, selfies and uploads to the web. If the original is a transparent PNG or a graphic that needs to remain 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 first rotate a mirrored text image. You can turn the text sideways, but it will still be backward. First flip horizontally, then rotate only if the entire image is sideways.
Fix selfies without guessing
The preview and saved file may not be identical , which makes selfies confusing . Mirror image preview on phone while you pose then save non-mirror versio Another camera app might save the mirrored version. Social apps can bring an additional 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.
The “right” profile photo is sometimes just a matter of taste. It’s usually more important that the text be readable and the orientation be that of the real world than that the mirror be comfortable in product photos, documents, signs, and screenshots.
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 |
The file size is not a good indicator of whether the rotation worked. Because the browser created a new file, using a quality setting and not carrying over the same metadata blocks, a corrected JPG can be larger or smaller than the original.
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.
Edited rotate/flip results are exported as high quality JPG files by PhotoTools. This is usually visually acceptable for normal photos. Screenshots, diagrams, receipts, and small text may have softened edges when exported as JPG. JPEG is a lossy photo format. If you need an archival or transparency-preserving copy, choose the original.
Avoid this workflow:
- Download a compressed JPG.
- Rotate it.
- Download again.
- Reopen it later and flip it.
- Download again.
That piles up lossy exports. A cleaner flow would be to start from the original, rotate/flip once, then crop, resize, watermark, and compression in that order.
EXIF orientation and metadata
Rotating a photo visually and editing the EXIF orientation tag are different operations.
The EXIF-only fix changes the instruction attached to the file. A pixel-based fix draws a corrected version and outputs a new file. 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. Pixel-based correction is usually more predictable for
Canvas export can result in the loss of metadata. This can be good for privacy when sharing a public copy, since GPS location and camera details are often stripped during browser re-encoding. If you need the metadata for evidence, photo management, or an archive it can be bad.
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.
Say you rotate a portrait photo that has a watermark on it. The watermark will move from the bottom-right corner to the side. If an image is sideways, cropping before correction might crop the wrong part of the subject.
Troubleshooting
The image is still sideways after upload
The upload destination may have cached the previous file, or applied its own orientation handling. Download your PhotoTools result and test to ensure it opens OK in another viewer. Then upload the corrected copy with a new 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 version was exported to JPG. Transparency is not supported by JPEG. If you require transparency in your image, keep the original transparent file and use a PNG/WebP-preserving workflow.
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
Follow the legible text. If text is upside down, flip horizontally. Rotate if the photo is sideways but the text is readable. Compare recognizable asymmetrical details Save If no text is .
The practical takeaway
Mirror and rotate are small edits, but they solve very different problems . Flip Horizontal is used for mirrored images and reversed text. Rotate Left or Rotate Right (for sideways phone shots). Export one corrected copy, keep original if metadata or transparency matter, do orientation before crop, resize, watermark, compression.