Flip and mirror images in your browser
Mirror a photo left-to-right, top-to-bottom, or both — handy for fixing selfies that came out reversed, creating a reflection effect, or correcting a scan that was fed in the wrong way. Toggle the directions and the preview updates instantly.
How it works
The image is drawn onto a <canvas> whose coordinate system is flipped before
drawing. A horizontal mirror negates the X scale (scale(-1, 1)) and shifts
the origin by the image width; a vertical mirror negates the Y scale
(scale(1, -1)) and shifts by the height. Enabling both negates both axes, which
is equivalent to a 180° rotation combined with a mirror. Because this only
rearranges existing pixels, the operation is completely lossless.
Example
| Horizontal | Vertical | Result |
|---|---|---|
| On | Off | Left-right mirror (selfie fix) |
| Off | On | Top-bottom flip (reflection) |
| On | On | Both axes flipped |
The transform runs on a local <canvas>, so your images are never uploaded.
Load a photo, pick a direction, and download the PNG.