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.
Example
| Action | 1200×800 input becomes |
|---|---|
| Rotate right 90° | 800×1200 (turned clockwise) |
| Rotate 180° | 1200×800 (upside down) |
| Flip horizontal | 1200×800 (mirrored left-right) |
All transforms are applied with a <canvas> in your browser, so they are
lossless and your image is never uploaded.