Rotate or Flip Image
Rotate an image by 90°, 180°, 270°, or any custom angle. Optional horizontal or vertical flip. Browser-only.
Only used when Rotation is set to "Custom angle". Positive = clockwise. Canvas will expand to fit.
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?
Why does my image have empty corners after rotating?
Will rotation lose quality?
Why is my rotated JPEG bigger than the original?
My phone photo already auto-rotates — do I need this?
Can I rotate by an arbitrary angle while keeping the original canvas size?
Working with PDFs?
Related PDF tools for the same kind of task: