Rotate and flip images privately
Fix a sideways photo or mirror an image with one click. Rotate left or right in 90° steps and flip horizontally or vertically — ideal for correcting phone photos that came out rotated, straightening scans, or preparing assets.
How it works
The image is drawn onto a <canvas> using composable transforms. A rotation
calls ctx.rotate by 90°, 180° or 270° and translates the origin so the image
stays centred; for 90° and 270° the canvas is resized to swap width and height.
Flips negate the X or Y scale (scale(-1, 1) or scale(1, -1)). Because every
operation only relocates existing pixels rather than resampling them, the result
is lossless and saved as a clean PNG.
What each operation does to the dimensions
| Action | 1200×800 input becomes | Effect |
|---|---|---|
| Rotate right 90° | 800×1200 | Clockwise quarter-turn; width and height swap |
| Rotate left 90° | 800×1200 | Counter-clockwise quarter-turn; width and height swap |
| Rotate 180° | 1200×800 | Upside down; dimensions unchanged |
| Flip horizontal | 1200×800 | Mirror left-to-right; dimensions unchanged |
| Flip vertical | 1200×800 | Mirror top-to-bottom; dimensions unchanged |
| Rotate right + flip horizontal | 800×1200 | Equivalent to a transpose (rotated then mirrored) |
Common scenarios and the right button to reach for
Phone photos appear sideways in some apps. Most modern phones embed an EXIF orientation tag telling viewers how to display the image. Some apps (including many older desktop tools and certain web platforms) ignore that tag and display the raw pixel data — which may be rotated. Use Rotate Right or Rotate Left to match the orientation visually, then download the corrected PNG. The downloaded file has no orientation tag to ignore: the pixels themselves are in the correct orientation.
Scanned documents come out upside down. Flatbed scanners sometimes pick up a page at 180°. Click Rotate 180° once and download.
You need a mirror image for a logo or watermark. Flip Horizontal reverses left and right — useful when placing a mirrored version of text or a brand mark on the right side of a symmetrical design.
Preparing a thumbnail for a video. If you shot footage in portrait mode but need a landscape thumbnail crop, Rotate Right or Left reorients the frame so you can then crop to 16:9.
Correcting a scan of a transparency or negative. Flip Vertical inverts the up-down axis — occasionally needed for drum-scanned negatives where the emulsion side faces upward.
Why the output is always PNG
The canvas is saved as a lossless PNG regardless of the input format. This means:
- A JPEG input will be saved as a higher-quality PNG (no additional JPEG compression artefacts are introduced).
- The file size may increase compared to the original JPEG, because PNG is lossless.
- If you need a JPEG output, convert the downloaded PNG using a dedicated format-conversion tool afterward.
Privacy
All transforms happen entirely inside your browser using the HTML5 Canvas API. No pixel data leaves your device at any point — the tool works the same way whether you are online or offline.