Rotate and Flip Image
Rotate photos 90 or 180 degrees, straighten them by any angle, or mirror them horizontally and vertically. Apply it to a batch and save a ZIP. No upload.
The interactive tool loads here when JavaScript runs.
About this toolWhat is the Rotate and Flip Image tool?
This tool turns photos left or right by 90°, turns them upside down, rotates them by any angle to level a horizon, and mirrors them horizontally or vertically. Load one image or a whole folder, set the change once and it is applied to every picture, ready to download one by one or as a single ZIP.
Quarter turns move pixels without resampling, so the picture stays sharp. For other angles you choose what happens to the corners: show the whole image on a larger canvas (transparent or filled with a colour), crop to the largest rectangle that has no empty corners, or keep the original frame size and trim the corners.
All work happens on your device. Files are not uploaded, and the saved images have upright pixels with no EXIF orientation tag, so every viewer shows them the same way.
- Left and right 90°, 180° and any angle from -180° to 180°
- Horizontal mirror and vertical flip
- Expand, crop to fill or keep size for odd angles
- Transparent or coloured background for empty corners
- Batch processing with ZIP download
- Runs in the browser; no upload, no EXIF carried over
How to use the Rotate and Flip Image tool
- Choose images or drop them on the box. A sample photo is shown until you do.
- Use Left 90° or Right 90° for quarter turns, Mirror for a left-right flip and Flip for an upside-down flip.
- For straightening, drag the angle slider in 0.5° steps or type an exact angle such as -2.3. Positive angles turn clockwise.
- For angles that are not multiples of 90°, choose Show whole image, Crop to fill or Keep size, and a transparent or coloured background.
- Pick PNG, JPEG or WebP and download the image you are viewing, or Download all as a ZIP.
Worked examples
Sideways phone photo
Input
3024 x 4032 photo that shows sideways in an old app, Right 90°
Output
4032 x 3024 image with upright pixels
A quarter turn swaps width and height and moves pixels exactly, so nothing is resampled.
Levelling a horizon
Input
400 x 300 image, 10° clockwise, Crop to fill
Output
363 x 240 image with no empty corners
The largest upright rectangle inside the rotated photo is 363 x 240. Show whole image would give a 447 x 365 canvas with transparent corners instead.
Mirrored selfie
Input
Front-camera photo with backwards text, Mirror
Output
Same size, text reads correctly
A horizontal flip reverses left and right. Rotating 180° would turn the photo upside down instead.
Background and insight
Cameras and phones record which way up they were held in the EXIF Orientation tag (tag 274, values 1 to 8, defined in the CIPA/JEITA Exif standard). Many save the sensor pixels unrotated and rely on the viewer to apply the tag. Modern browsers do this by default (CSS image-orientation: from-image), but older software and some upload forms ignore it, which is why a photo can look upright on the phone and sideways somewhere else. Saving a rotated copy here bakes the orientation into the pixels and drops the tag.
For a rotation by angle θ, the canvas needed to hold the whole picture is w·|cos θ| + h·|sin θ| wide and w·|sin θ| + h·|cos θ| tall. A 400 x 300 image rotated 30° needs a 497 x 460 canvas. The largest upright rectangle that fits inside the rotated picture, which is what "Crop to fill" keeps, has a closed-form solution; for the same image at 10° it is 363 x 240 pixels.
Mirroring and rotating are different operations. A 180° rotation is the same as flipping both horizontally and vertically, but a single horizontal flip produces a mirror image that no rotation can create: text reads backwards. Front cameras often mirror selfies, so a horizontal flip is the usual fix for a reversed sign or T-shirt slogan. The tool applies the flip first and then the rotation.
Common use cases
Fixing sideways uploads
Bake the orientation into the pixels so a portrait photo stays upright on forms, CMSs and older software.
Straightening horizons and documents
Level a tilted landscape, building or photographed page by a fraction of a degree.
Batch turning scans
Rotate a folder of scanned pages or product shots in one go and download a ZIP.
Mirroring for design
Flip a product shot so it faces into the page, or unmirror a webcam capture.
Tips and limitations
- Use quarter turns whenever you can; they keep every pixel exactly. Small-angle rotation interpolates and softens fine detail slightly.
- When straightening, Crop to fill loses more of the edges as the angle grows. Correct the tilt with as small an angle as looks right.
- Choose PNG or WebP if you want transparent corners. JPEG has no transparency, so they are filled with white.
- Saving as JPEG re-encodes the image, even for a 90° turn. Use PNG when you need a lossless copy of the pixels.
- Every image in a batch gets the same angle and flips. Remove pictures that need a different change and process them separately.
- The output has no EXIF data, so camera details and GPS location are not carried over.
Frequently asked questions
How do I rotate an image 90 degrees?
Load the image and press Right 90° for clockwise or Left 90° for anticlockwise, then download. Width and height swap and no pixels are resampled.
How do I straighten a crooked photo?
Drag the angle slider or type a small angle such as 1.5 or -2. Positive is clockwise. Choose Crop to fill so the result has no empty corners.
What is the difference between flipping and rotating 180 degrees?
Rotating 180° turns the picture upside down but text still reads left to right (upside down). Flipping horizontally mirrors it, so text reads backwards. Flipping both horizontally and vertically equals a 180° rotation.
Why does my photo appear sideways after I upload it?
The camera stored the pixels sideways with an EXIF orientation tag, and the site ignored the tag. Rotate the photo here and save it; the new file has upright pixels and no tag, so it displays correctly everywhere.
Can I rotate many images at once?
Yes. Choose several files; the same rotation and flips apply to all of them. Download each one or all of them as a ZIP archive.
Does rotating lose quality?
Quarter turns and flips are exact. Other angles need interpolation, which softens fine detail a little. Saving as JPEG adds compression loss; PNG avoids it.
Why does a 45 degree rotation make the image bigger?
The corners of the rotated picture stick out. Show whole image enlarges the canvas to w|cos θ| + h|sin θ| by w|sin θ| + h|cos θ| to fit them, so a 100 x 100 square needs 142 x 142.
Is there an in-depth guide to the Rotate and Flip Image tool?
Yes. “Rotate, Flip and Straighten Photos Without Surprises” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
People also search for
- rotate image 90 degrees online
- straighten crooked photo by a few degrees
- mirror image horizontally online
- rotate multiple images at once
- flip photo upside down free
- rotate picture without black corners
- fix sideways photo from phone
- unmirror a selfie with backwards text
Related Tools You May Like
Free, in-browser tools that pair well with this one.