Rotate and flip an image — without double-rotated phone photos
Load a photo, rotate it in 90° steps left or right, flip it horizontally or vertically, and export the result as JPG, PNG or WebP. The EXIF orientation is applied on load — a phone photo arrives the right way up instead of getting rotated twice. Everything runs locally in your browser, no upload.
Why is my phone photo sideways in the first place?
Many cameras store the pixels the way the sensor saw them and only note the correct position as an orientation field in the file header — the CIPA EXIF standard (DC-008) defines eight possible positions for it. Programs that honor the field show the photo correctly; programs that ignore it show it tilted. This tool reads the orientation on load and bakes the final position into the pixels on export — after that, every program shows the same image.
Is rotating lossless?
The rotation itself is: in 90° steps nothing is interpolated, every pixel just changes place. What happens on save is decided by the format:
- PNG stays lossless — for opaque images the pixels afterwards are exactly the old ones, just in new positions. One exception: semi-transparent pixels can pick up minimally rounded colour values from the canvas alpha math.
- JPG and WebP re-encode. At high quality the difference is invisible, but the file is not the original byte for byte. An exactly lossless JPEG rotation in the style of jpegtran is not something this tool offers.
Can I combine rotating and flipping?
Yes, as often as you like and in any order — in the end, every combination is one of eight possible positions. One detail the tool works out for you: after mirroring, “rotate right” means the opposite direction inside the image data. The buttons therefore always rotate the way it looks on screen, and the preview draws with exactly the same math as the export — what you see is what you get.
Honest limits
The export rewrites the image; EXIF metadata including the GPS position is dropped in the process. Usually that is a privacy win — if you need those fields, keep the original or inspect them first with the EXIF tool on this site. Free angles outside the 90° steps are deliberately not offered: they force interpolation and clipped corners. And very large images above ~16.7 megapixels are scaled down to the safe canvas limit before processing; the tool points that out when it happens.