Home › Image Tools › Rotate & Flip Image

Rotate & Flip Image

Turn sideways photos upright, straighten a tilted shot by a custom angle or mirror a picture. Edit one image or a whole batch and download them individually or as a ZIP, all inside your browser.

Last updated:

Advertisement
Advertisement

How to use the Rotate & Flip Image

  1. Add images by dropping them into the box or clicking to choose one or more files.
  2. Rotate or flip all images with the buttons in the Apply to all bar, or type a custom angle.
  3. Fine-tune single images with the buttons under each preview.
  4. Pick a background and output format (original, PNG, JPG or WebP) and set the quality.
  5. Press Download on an image, or Download all (ZIP) to save the whole batch.

Rotate vs. flip: what each button does

ActionResultTypical use
Rotate right 90°Turns the picture clockwise; the left edge becomes the topPhone photo that appears lying on its side
Rotate left 90°Turns counter-clockwise; the right edge becomes the topSame, tilted the other way
Rotate 180°Upside down; equal to flipping both horizontally and verticallyScans fed into the scanner the wrong way
Flip horizontalMirror image, left and right swapUn-mirroring selfies, matching the direction of a subject
Flip verticalTop and bottom swapReflections, creative effects

Angles here are measured clockwise, so a positive custom angle turns the image to the right and a negative one turns it to the left. When you flip and rotate at the same time, the image is mirrored first and then rotated.

How big is the image after a custom rotation?

To keep every corner of the picture visible, the canvas grows to the bounding box of the rotated image. For an image of width w and height h rotated by angle θ:

new width = |w·cos θ| + |h·sin θ| and new height = |w·sin θ| + |h·cos θ|

Example: a 1200 × 800 photo rotated by 30° becomes 1200·0.866 + 800·0.5 = 1439 pixels wide and 1200·0.5 + 800·0.866 = 1293 pixels high. At 90° the width and height simply swap, and at 180° the size stays the same. The extra corner areas are filled with the background you choose.

Choosing the output format

  • Same as original keeps JPG as JPG, PNG as PNG and WebP as WebP. GIF, BMP and other formats are saved as PNG.
  • PNG is lossless and supports transparent corners. Best for screenshots, graphics and anything you will edit again.
  • JPG gives small files for photos but has no transparency, so corners become white or your custom colour. A quality of 85–92% is visually close to the original.
  • WebP supports transparency and usually produces files 25–35% smaller than JPG at similar quality.

Tip: to straighten a slightly tilted horizon, try small angles such as -2° or 1.5°, then crop away the corners with an image cropper.

Frequently asked questions

How do I rotate an image online?

Add the image above and press Rotate right or Rotate left to turn it by 90 degrees, or 180° to turn it upside down. The preview updates instantly. Press Download to save the rotated copy.

What is the difference between rotating and flipping?

Rotating turns the whole picture around its centre, like turning a printed photo on a table. Flipping mirrors it: a horizontal flip swaps left and right, and a vertical flip swaps top and bottom. Text in a flipped image reads backwards.

What happens to the corners when I rotate by a custom angle?

The canvas is enlarged so that no part of the picture is cut off. The new empty corners are filled with the background you choose: transparent (PNG and WebP only), white or any custom colour.

Does rotating reduce image quality?

Rotating by 90, 180 or 270 degrees and flipping move pixels without blending, so PNG output is lossless. Custom angles need resampling, which softens edges very slightly. JPG and WebP output re-compress the image at the quality you choose.

Is EXIF orientation kept?

Modern browsers apply the EXIF orientation when they open a photo, so the preview shows the photo the way your phone displayed it. The saved file contains the rotated pixels without the original EXIF data, so it looks the same in every viewer.

Are my images uploaded?

No. All rotation and flipping is done with the canvas element in your browser. The images are never sent to a server.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Image CropperCrop images, including circle crops for profile pictures.Image ResizerResize images to any size without losing quality.Image CompressorShrink images to a target size like 100 KB.Collage MakerCombine photos into a grid collage.Image Border AdderAdd a border, rounded corners, matte and shadow to a photo onlineBlur Image & Face Pixelate ToolBlur or pixelate faces, plates and backgrounds in a photo.CSS Transform GeneratorRotate, scale, skew and translate an element with sliders and copy the CSS transform code.Flip VideoMirror a video horizontally or vertically, fix selfie videos and save MP4 or WebM with sound.Compress Image to 20KBShrink any photo to under 20KB (or any target size).Compress Image to 100KBShrink any photo to under 100KB automatically, with the best quality that fits.Compress JPEG to 50KBShrink photos to under 50KB for forms, passports and exams.Aspect Ratio CalculatorCalculate image sizes for 16:9, 4:3 and any ratio.Image SplitterSplit an image into a rows × columns grid of tiles and download them one by one or as a ZIP.Image CombinerCombine images side by side, stacked or in a grid, with spacing, background color and alignment.Image UpscalerEnlarge images 2×, 3× or 4× with Lanczos-3 or bicubic resampling and optional sharpening.Image DPI ChangerChange the DPI of JPG and PNG images without re-encoding, and see the print size.Pixel Art MakerDraw pixel art on an 8 to 64 px grid with palettes, fill and mirror, then export PNG or SVG.Social Media Image ResizerResize photos for Instagram, Facebook, X, LinkedIn, YouTube, TikTok and Pinterest in one go.Image Diff CheckerCompare two images and highlight every changed pixel, with % difference and a swipe slider.Emoji to ImageTurn any emoji into a PNG image from 64 to 1024 px, transparent or on a color, in batch.Text to ImageTurn text into a PNG image with your font, size, colors, padding, alignment and wrapping.SVG OptimizerMinify SVG files: strip metadata, comments and editor junk, round numbers, compare sizes.Compress Image to 200KBShrink any photo to under 200KB automatically, with the best quality that fits.Crop GIFCrop an animated GIF with a draggable box or aspect ratio presets, keeping every frame.Crop Image into ShapeCrop a photo into a heart, star, hexagon, circle, speech bubble or custom SVG shape as a PNG.Drawing Grid MakerPut a numbered grid on a reference photo to copy it by hand. Print it or save as PNG or PDF.Resize GIFResize an animated GIF by width, height or percent, skip frames and compare file sizes.Square Image Maker (No Crop)Make any photo square, 4:5 or 9:16 without cropping, with a color, blur or gradient fill.Text Behind ImagePut text behind the subject of a photo: AI cut-out, fonts, colors, rotation and PNG export.Bulk Image ResizerResize many images at once by width, height, percent or longest side and download a ZIP.JPG to WordTurn photos and scans into an editable Word document with OCR. Batch images, 30+ languages.PNG CompressorShrink PNG files up to 80% with smart color reduction that keeps transparency. Batch + ZIP.Photo Measurement ToolMeasure distances, areas and angles on a photo using a card or ruler in the picture for scale.Pupillary Distance MeasurementMeasure your PD in mm from a webcam or photo with a card for scale, single and dual PD.Brighten ImageBrighten dark photos with auto exposure, shadows lift and highlight protection. Batch, no upload.Change Image Aspect RatioConvert photos to 1:1, 4:5, 16:9, 9:16, 3:2 or any ratio by crop, color padding or blur fill.Crop Photo for PrintCrop photos to 4x6, 5x7, 8x10, 11x14 or A4 print ratios with a DPI quality check, then export.Long Screenshot StitcherStitch scrolling screenshots into one long image with automatic overlap detection.Volleyball Rotation ToolEnter 6 players and a 5-1, 6-2 or 4-2 system to see all rotations and serve receive on a court.Auto Face CropDetect faces and crop centered headshots at any ratio and padding, in batch.Content-Aware Image ResizeResize images with seam carving to keep people and objects intact; protect or remove areas.Scanned Photo SplitterSplit several photos from one flatbed scan: auto-detect, straighten and crop each, then ZIP.Image to Minecraft Pixel ArtConvert any image into Minecraft block pixel art with block counts, stacks and a row-by-row build guide.Pixel Art UpscalerUpscale pixel art and sprites crisply with nearest neighbor, Scale2x/3x or xBR, keeping transparency.Resize Image in CM and InchesResize a photo to an exact print size in cm, mm or inches at any DPI. JPG, PNG or PDF.Online Screenshot ToolCapture your screen, a window or a tab, then crop, annotate and copy or save it as PNG.Trim Image WhitespaceAuto-crop white borders or transparent padding from images with tolerance and margin. Batch.Fix Image OrientationRotate sideways photos upright for good by applying the EXIF orientation to the pixels, in batch.Image Format DetectorFind an image's real format from its magic bytes, see size and bit depth, and fix a wrong extension.Increase Image Size in KBMake a photo's file size bigger (e.g. 50 KB or more) to pass minimum upload limits, with no visible change.Megapixel CalculatorTurn width × height into megapixels, aspect ratio and max print size, or MP back to pixels.
See all 49 Resize, Crop & Compress →