Rotate & Flip Image

Drop one or more images, rotate them left or right, flip or mirror them, optionally straighten by a few degrees, and download the results — processed on your device.

  • Free
  • No account
  • Runs in your browser
  • Nothing uploaded
Rotate & Flip ImageNothing uploaded
Unchanged

Add an image to see a preview here.

Runs entirely in your browser — your input is never uploaded, logged, or stored.Privacy policy

What is Rotate & Flip Image?

This tool rotates and flips PNG, JPG, WebP, GIF, BMP and AVIF images in your browser: 90° left or right, 180°, a horizontal mirror, a vertical flip, any combination of those, and an optional straightening angle between −45° and 45°. It is for fixing a sideways phone photo or scan, mirroring a selfie or a design, or levelling a tilted horizon, for up to 50 images at once, without uploading them anywhere.

Click Rotate left, Rotate right, Flip horizontal and Flip vertical in any order; the preview shows the first image and the line beside the buttons says what the result is. However many clicks you make, they always add up to one of eight orientations — the four rotations, with or without a mirror — so a file is transformed once, not step by step. For example, Rotate right followed by Flip horizontal gives the same picture as Flip horizontal followed by Rotate left. A 90° turn swaps the sides: a 4032 × 3024 photo becomes 3024 × 4032.

Straightening ("Straighten °") rotates by any angle up to 45° either way, positive meaning clockwise. The canvas grows so that no corner is cut off — a 1000 × 500 image at 10° needs 1072 × 667 px — and the new corners are transparent or filled with a colour you pick. A transparent result from a JPG is saved as PNG for "Same as input", because JPG cannot store transparency. Straightening resamples the pixels with the browser's high-quality smoothing, so edges soften slightly; 90° turns and flips only move whole pixels and do not.

How it works: your browser decodes each image with its own codecs, applying the photo's EXIF orientation first, so what you rotate is the upright picture you see in the preview. All the steps are combined into one transformation matrix, and the image is drawn once onto a canvas of the output size and encoded. The output has no orientation tag (no EXIF at all), so every app shows it the same way — the common "it looks right on my phone but sideways on my computer" problem does not carry over.

What is kept and lost: PNG output is lossless; JPG and WebP output is re-compressed at the quality you set (92 by default), so a rotated JPG is not bit-for-bit lossless the way specialised JPEG tools can be. GIF, BMP and AVIF are saved as PNG for "Same as input", and an animated GIF keeps only its first frame. EXIF metadata such as camera, date and GPS location is dropped.

Limits: 50 images, up to 50 MB each, and an output of at most 16,384 px per side and 100 megapixels. iPhones and iPads allow canvases of only about 16.7 megapixels, so very large photos may fail there with a message saying so.

Your images stay on your device: they are read into the page's memory, transformed there and offered back as downloads. You can check in the Network tab of your browser's developer tools that no request carries your files.

1. Each file's size is checked (50 MB) before it is read, and its first bytes are checked to confirm it is PNG, JPG, WebP, GIF, BMP or AVIF. 2. The clicks are combined into one orientation: an optional mirror (left↔right) followed by 0–3 clockwise quarter turns. A turn adds 1; a horizontal flip turns t into −t and toggles the mirror; a vertical flip turns t into 2 − t and toggles the mirror (all modulo 4). 3. The browser decodes the image with EXIF orientation applied. A source pixel (x, y) of a w × h image lands, after the mirror x → w − 1 − x, and after each quarter turn of a W × H grid at (H − 1 − y, x). 4. For a straightening angle θ the output canvas is ⌈W·|cos θ| + H·|sin θ|⌉ × ⌈W·|sin θ| + H·|cos θ|⌉ and the image is rotated about its centre. 5. One matrix combining these steps is set on a canvas of the output size, the corners are filled if a colour is chosen, the image is drawn once (smoothing only for a straightening angle) and encoded, named like photo-rotated.jpg.

Worked examples

  • A 4032 × 3024 photo rotated 90° → 3024 × 4032 px; flipped horizontally it stays 4032 × 3024.
  • Rotate right, then Flip horizontal → the same result as Flip horizontal, then Rotate left ("Flipped horizontally, then rotated 90° counter-clockwise").
  • Four Rotate right clicks, or two Flip vertical clicks, cancel out and leave the image unchanged.
  • A 1000 × 500 image straightened by 10° → a 1072 × 667 px canvas, with the four new corners transparent or filled.

How to use Rotate & Flip Image

  1. Click "Choose images to rotate or flip", drop files on the box, or paste an image with Ctrl+V (Cmd+V on a Mac) — up to 50.
  2. Click Rotate left, Rotate right, Flip horizontal or Flip vertical until the preview looks right; optionally type a "Straighten °" angle and choose the corner fill.
  3. Optionally change "Save as" and the quality, then click "Rotate image" (or "Rotate images").
  4. Download each result, or click "Download all (.zip)".

Common errors

  • "The angle must be a number from −45 to 45 degrees. Use the 90° buttons for bigger turns." — for 90°, 180° or 270° use the rotate buttons; straightening is for small tilts.
  • "… is actually a HEIC file, not PNG, JPG, WebP, GIF, BMP or AVIF." — the file is not one of the supported formats, whatever its extension says. Convert HEIC photos to JPG first.
  • "The output would be … pixels — more than a browser can safely draw" — a straightened very large image grows past 16,384 px per side or 100 megapixels. Resize it first or use a smaller angle.
  • "Your browser could not create a … drawing surface" or "could not encode an image this large" — the image is larger than this device allows (about 16.7 megapixels on iPhone and iPad). Use a desktop browser or resize it first.
  • The rotate button is greyed out — nothing would change yet. Click a rotate or flip button, or type an angle, first.
  • A straightened JPG came back as PNG — its new corners are transparent and JPG cannot store that. Choose "Colour" under Corners, or JPG under "Save as", to keep a JPG.

FAQ

How do I rotate an image without uploading it?

Drop it on this page, click Rotate left or Rotate right and then "Rotate image". Everything happens in your browser on your own device, so the file is never sent to a server — your browser's Network tab shows no request carrying it.

How do I flip or mirror an image horizontally?

Click "Flip horizontal": left and right swap, like a mirror. "Flip vertical" swaps top and bottom. You can combine flips with rotations in any order before saving.

Why does my photo look sideways on my computer but upright on my phone?

Phones often save the picture sideways and add an EXIF orientation tag telling apps to turn it; some apps ignore the tag. This tool shows the photo upright using that tag and saves the pixels upright with no tag, so it looks the same everywhere. If it still looks wrong, rotate it here and save.

Can I rotate many images at once?

Yes. Add up to 50 images; they all get the same rotation, flip and angle. The preview shows the first one, and you can download them one by one or as a ZIP.

Does rotating a JPG lose quality?

A little: the rotated JPG is compressed again at the quality you choose (92 by default). 90° turns and flips move whole pixels, so nothing is blurred; choose PNG under "Save as" for a lossless result, at a larger file size.

How do I straighten a crooked photo?

Type a small angle in "Straighten °" — positive turns clockwise — and watch the preview until the horizon is level. The canvas grows so no corner is cut off; crop the result afterwards if you don't want the empty corners.

Does it work on iPhone and Android?

Yes, it works in mobile browsers. iPhones and iPads limit a canvas to about 16.7 megapixels, so a very large image may fail there; the tool tells you when that happens.

G

Prefer AllUtil on Google

One click adds AllUtil to your Google preferences. You'll see our tools highlighted with a Preferred badge in Search and AI answers.

2× more likely to clickWorks in AI Overviews

Reviewed by unreviewed

Written by Hamza AK. We research, build and test every tool before it is published.

Editorial policy

Last updated

Rechecked against the sources on this date, not stamped.

Methodology

The orientation maths (composition into one of 8 orientations, pixel mapping, output size and the straightening canvas size) is exact and tested; 90° turns and flips move whole pixels without resampling. A straightening angle is resampled by the browser's canvas, so edge pixels can differ slightly between browsers. JPG and WebP output is lossy, EXIF metadata (including the orientation tag) and colour profiles are not copied, animated GIFs keep only their first frame, and GIF, BMP and AVIF input is saved as PNG for "Same as input".