Rotate or Flip Image

Rotate an image by 90°, 180°, 270°, or any custom angle. Optional horizontal or vertical flip. Browser-only.

Files stay in your browser. Nothing is uploaded.

Only used when Rotation is set to "Custom angle". Positive = clockwise. Canvas will expand to fit.

Value: 92

About this tool

Rotate any image by a quarter turn (90, 180, 270) or by a custom angle, with optional horizontal or vertical flip. Quarter-turns are lossless and exact — the canvas swaps width and height and the pixels copy directly. Custom angles expand the canvas to fit the rotated image, so a 45° rotation of a square produces a larger diamond-shaped canvas with empty corners. Pick a background fill (white, black, or transparent) to control what fills those corners. JPEG cannot store transparency, so if you choose JPEG with a transparent background and a non-quarter-turn angle, the corners become white. PNG and WebP both preserve the transparent corners. All processing is browser-only.

Frequently asked questions

What is the difference between rotate and flip?
Rotate spins the image around its center (90° clockwise turns the top edge to the right). Flip mirrors the image — horizontal flip makes the left side become the right side, like looking in a mirror. You can do both at once.
Why does my image have empty corners after rotating?
When you rotate by anything except 90, 180, or 270 degrees, the image no longer fits cleanly in a rectangle. The canvas expands to fit the whole rotated image, and the new corners need to be filled with something — transparent, white, or black.
Will rotation lose quality?
90°, 180°, and 270° rotations are perfectly lossless. Custom angles resample pixels with bicubic interpolation, which is very close to lossless but slightly softens fine detail. Re-encoding to JPEG at less than 100 quality adds the usual JPEG artifacts.
Why is my rotated JPEG bigger than the original?
Custom-angle rotations expand the canvas (your 4000 × 3000 image at 45° becomes about 4950 × 4950), so the file naturally grows. Quarter-turns keep the same pixel count and usually stay similar in size.
My phone photo already auto-rotates — do I need this?
iPhones and modern Androids embed EXIF orientation metadata that most viewers honor. This tool reads that metadata and bakes the rotation into the pixels, which is useful when you are sending the image to software that ignores EXIF (some older CMS uploads, some print labs).
Can I rotate by an arbitrary angle while keeping the original canvas size?
Not in this tool — the canvas always expands so nothing gets cut off. If you want a fixed canvas with the image rotating inside (corners clipped), use a layered editor like Photopea.

Related tools