How to Flip an Image (Mirror, Horizontal & Vertical)
Flipping an image creates a mirror reflection — horizontally (left-right) or vertically (top-bottom). It's one of the simplest image operations, but the terminology trips people up. Here's how to flip images on any platform, plus when and why you'd want to.
Flip vs Rotate: What's the Difference?
These terms get confused constantly, so let's clear it up:
| Operation | What Happens | Example Use Case |
|---|---|---|
| Flip Horizontal | Left and right sides swap (mirror image) | Fix a mirrored selfie, reverse text direction |
| Flip Vertical | Top and bottom swap (upside-down mirror) | Create reflection effects, fix inverted scans |
| Rotate 90° | Image turns 90 degrees (no mirroring) | Fix a photo taken in wrong orientation |
| Rotate 180° | Image turns upside-down (no mirroring) | Fix an upside-down scan |
Key distinction: Flipping creates a mirror image. Rotating spins the image. A horizontally flipped photo has text reading backwards. A rotated photo has text still reading forwards (just at an angle). If you need rotation instead, see How to Rotate an Image.
Rotate or flip images with one click — free, instant, no signup. Your images never leave your browser.
Rotate Images →Flip an Image in Your Browser (Free, No Upload)
Pixotter's Rotate tool handles flipping and rotation in one interface. Everything processes in your browser — no files are uploaded to any server.
- Open Pixotter's Rotate tool.
- Drop your image onto the page (or click to browse).
- Click the Flip Horizontal or Flip Vertical button.
- Download the result.
Batch processing is supported — drop multiple images and flip them all at once. The tool preserves your original image format and quality. Need to compress the result afterward? Do it in the same session — no re-upload needed.
Common Reasons to Flip an Image
Fix Mirrored Selfies
Front-facing phone cameras show a mirrored preview (so it feels like looking in a mirror), but many phones save the photo un-mirrored. This creates confusion: text on your shirt reads correctly in the preview but appears normal in the saved photo — or vice versa.
If your selfie looks "wrong" compared to what you saw on screen, flip it horizontally to match the mirror view.
Create Reflection Effects
Flipping a landscape photo vertically and placing the flipped copy below the original creates a water reflection effect. This is a common design technique for hero images, product photography, and social media graphics.
Fix Design Composition
Sometimes a photo would work better if the subject faced the other direction — facing into the layout instead of away from it. Horizontal flip solves this instantly, as long as there's no readable text in the image (flipped text is immediately noticeable).
Correct Scanned Documents
Flatbed scanners sometimes produce vertically flipped output if the document is placed face-up instead of face-down (or the scanner driver has a bug). A vertical flip corrects the orientation.
Print Transfer Designs
Iron-on transfers, screen printing, and some engraving workflows require a horizontally flipped image so it reads correctly when transferred to the final surface.
How to Flip an Image on Windows
Method 1: Pixotter (Browser)
Open pixotter.com/rotate/ in any browser. Drop the image, click flip, download. Works on Windows 10, 11, and any version with a modern browser.
Method 2: Windows Photos App
- Open the image in Photos.
- Click Edit image (pencil icon) or press
Ctrl+E. - Click Crop & rotate.
- Click the Flip icon (horizontal mirror symbol).
- Save.
Windows Photos only supports horizontal flip. For vertical flip, rotate 180° then flip horizontally (equivalent result).
Method 3: Paint
- Open the image in Paint.
- Click Rotate in the toolbar.
- Select Flip horizontal or Flip vertical.
- File → Save.
Method 4: PowerShell + ImageMagick
# Requires ImageMagick 7.1.1-29+
# Horizontal flip (mirror)
magick input.jpg -flop output.jpg
# Vertical flip
magick input.jpg -flip output.jpg
# Batch flip all JPGs horizontally
Get-ChildItem -Filter *.jpg | ForEach-Object {
magick $_.FullName -flop "flipped_$($_.Name)"
}
Note: In ImageMagick, -flop is horizontal flip and -flip is vertical flip.
How to Flip an Image on Mac
Method 1: Pixotter (Browser)
Open pixotter.com/rotate/ in Safari, Chrome, or Firefox.
Method 2: Preview
- Open the image in Preview.
- Tools → Flip Horizontal or Flip Vertical.
- File → Save (
Cmd+S).
Preview supports both flip directions and preserves metadata.
Method 3: Terminal (sips)
# Horizontal flip
sips -f horizontal input.jpg --out flipped.jpg
# Vertical flip
sips -f vertical input.jpg --out flipped.jpg
# Batch flip all JPGs horizontally
for f in *.jpg; do
sips -f horizontal "$f" --out "flipped_$f"
done
sips is built into macOS. No installation needed.
How to Flip an Image on Linux
Method 1: Pixotter (Browser)
Open pixotter.com/rotate/ in Firefox or Chrome.
Method 2: ImageMagick
# Install
sudo apt install imagemagick
# Horizontal flip
magick input.jpg -flop output.jpg
# Vertical flip
magick input.jpg -flip output.jpg
# Batch flip
magick mogrify -flop *.jpg
Method 3: GIMP (GUI)
- Open the image in GIMP (version 2.10.36, GPLv3 license).
- Image → Transform → Flip Horizontally or Flip Vertically.
- File → Export As to save.
GIMP also has a dedicated Flip tool (Shift+F) that can flip individual layers instead of the entire image — useful for compositing.
How to Flip an Image on Mobile
iPhone / iPad
- Open the photo in the Photos app.
- Tap Edit (top right).
- Tap the Crop icon (bottom toolbar).
- Tap the Flip icon (top left — two triangles with arrows).
- Tap Done.
iOS only offers horizontal flip. For vertical flip, rotate 180° first, then flip horizontally.
Android
- Open the photo in Google Photos.
- Tap Edit → Crop.
- Tap the Flip icon (mirror symbol).
- Tap Save copy.
Alternatively, open pixotter.com/rotate/ in your mobile browser for both horizontal and vertical flip.
Flip vs Mirror: Are They the Same?
Yes. "Flip horizontal" and "mirror" describe the same operation — swapping left and right sides of the image. Different software uses different terminology:
| Software | Horizontal Flip Term | Vertical Flip Term |
|---|---|---|
| Pixotter | Flip Horizontal | Flip Vertical |
| Photoshop | Flip Canvas Horizontal | Flip Canvas Vertical |
| GIMP | Flip Horizontally | Flip Vertically |
| Preview (macOS) | Flip Horizontal | Flip Vertical |
| ImageMagick | -flop |
-flip |
| CSS | transform: scaleX(-1) |
transform: scaleY(-1) |
They all do the same thing — the naming is just inconsistent across tools.
Flipping Images in Code
CSS (Display Only, No File Modification)
/* Horizontal flip */
.flipped-h { transform: scaleX(-1); }
/* Vertical flip */
.flipped-v { transform: scaleY(-1); }
/* Both */
.flipped-both { transform: scale(-1, -1); }
CSS transforms flip the visual rendering without modifying the image file. The original image data is unchanged — the flip happens at display time.
Python (Pillow)
# pip install Pillow==10.2.0
from PIL import Image
img = Image.open('input.jpg')
# Horizontal flip
img.transpose(Image.FLIP_LEFT_RIGHT).save('flipped_h.jpg')
# Vertical flip
img.transpose(Image.FLIP_TOP_BOTTOM).save('flipped_v.jpg')
HTML Canvas (JavaScript)
const canvas = document.createElement('canvas');
const ctx = canvas.getContext('2d');
const img = new Image();
img.onload = () => {
canvas.width = img.width;
canvas.height = img.height;
// Horizontal flip
ctx.scale(-1, 1);
ctx.drawImage(img, -img.width, 0);
};
img.src = 'input.jpg';
Frequently Asked Questions
Does flipping an image reduce quality?
No. Flipping rearranges pixel positions without recompressing the image data. For lossless formats (PNG, BMP, TIFF), it's a zero-quality-loss operation. For lossy formats (JPG), some tools re-encode after flipping, which introduces a tiny generation loss. Tools that support lossless JPEG transforms (like jpegtran) can flip JPGs without any re-encoding.
How do I flip just part of an image?
You need a layer-based editor. In GIMP (2.10.36): select the area with the Rectangle or Free Select tool, then use the Flip tool (Shift+F) to flip only the selection. In Photoshop: select the area, copy to a new layer (Ctrl+J), then Edit → Transform → Flip. Pixotter's Rotate tool flips the entire image.
Can I flip a video the same way?
Flipping video uses the same concept but different tools. FFmpeg handles it on the command line: ffmpeg -i input.mp4 -vf hflip output.mp4 (horizontal) or -vf vflip (vertical). Most video editors (DaVinci Resolve, Premiere Pro, iMovie) have flip/mirror options in their transform controls.
Why do selfies look weird when flipped?
Human faces are asymmetric. You're used to seeing your face mirrored (from mirrors and phone previews), so an un-mirrored photo looks subtly "off" to you — even though it's how everyone else sees you. Flipping the selfie to match your mirror view makes it look "right" to you but technically less accurate to others.
How do I flip an image for iron-on transfer?
Flip the image horizontally before printing. When you iron the transfer onto fabric, the heat transfer reverses the image again, so text and graphics end up reading correctly on the final surface. Most print dialog boxes have a "Mirror" or "Flip horizontal" checkbox specifically for this purpose.
Does flipping change the EXIF orientation tag?
It depends on the tool. Some editors modify the actual pixel data (physical flip). Others update only the EXIF orientation flag (metadata flip). For reliable results, especially when sharing images across different viewers, use a tool that modifies the pixel data. Pixotter modifies the actual image data, ensuring the flip is visible in every viewer regardless of EXIF support. If you want to strip EXIF data entirely after flipping, see How to Remove EXIF Data.
Rotate or flip images with one click — free, instant, no signup. Your images never leave your browser.
Rotate Images →