Skip to main content

Rotate & Flip Image

Rotate by 90° or any angle, mirror horizontally or vertically, and fix sideways photos for good. Runs in your browser — the image is never uploaded.

Drop, paste, or click to upload an image

How to Rotate or Flip an Image

  1. Drop in an image, paste one, or click to choose it.
  2. Rotate in 90° steps, or set any angle with the slider.
  3. Flip horizontally or vertically if the picture is mirrored.
  4. Choose how to fill the corners for angled rotations.
  5. Download the rotated image.

Why photos turn up sideways

A camera sensor has one fixed orientation. Turn the phone for a portrait shot and the sensor still records the pixels sideways — so instead of rotating millions of pixels on the spot, the phone saves them as they are and writes a single number into the file's EXIF data: the orientation tag, saying "turn me 90° clockwise before showing me".

Everything that reads that tag shows the photo upright. Anything that ignores it — older software, some upload pipelines, email clients, and tools that strip metadata without applying it first — shows the raw pixels, on their side. The same file, two answers.

Running a photo through this tool resolves it for good. Your browser applies the tag when it opens the file, the canvas records the pixels as you see them, and the saved copy has the rotation baked into the pixels and no tag left to disagree about. If the preview above looks right, every app will show it that way.

The eight orientation values

The EXIF tag has eight possible values, which is every combination of four rotations and a mirror. Only four turn up from cameras in practice.

Value Pixels need Typically from
1 Nothing — already upright Landscape, phone held normally
3 Rotate 180° Phone held upside down
6 Rotate 90° clockwise Portrait, phone upright — the most common
8 Rotate 90° anticlockwise Portrait, phone turned the other way
2, 4, 5, 7 A mirror plus a rotation Rare; some front cameras and scanners

To see which value a photo carries, open it in the EXIF Viewer.

Specifications

Accepts
Any image
Gives you
<name>-rotated .jpg, .png, .webp download
Where it runs
Your browser — the file is never uploaded
Sign-up
None
Cost
Free, with no usage limits

FAQ

Is my image uploaded?

No. Rotation happens on a canvas in your browser and the result goes straight to your downloads.

Why is my photo upright on my phone but sideways everywhere else?

Phones usually save the pixels in whatever way the sensor was facing and add a note — the EXIF orientation tag — saying how to turn them for display. Apps that read the note show it upright; apps that ignore it show the raw pixels, sideways. Opening the photo here and saving it rotates the pixels themselves and drops the note, so it is upright in every app afterwards.

Does rotating by 90° lose quality?

Rotating by 90, 180 or 270 degrees moves pixels without changing them, so a PNG comes out identical apart from the turn. Saving as JPEG re-encodes the picture, which costs a little, invisibly so at the default quality. Any other angle has to resample the image and will soften it very slightly.

What happens to the corners when I rotate by an angle like 15°?

The picture no longer fills a rectangle, so the canvas grows to fit and the empty corners are filled — transparent for PNG and WebP, or the colour you pick. Choose Crop to original size instead if you would rather lose the corners than change the dimensions.

What is the difference between flipping and rotating?

Rotating turns the image around its centre; flipping mirrors it. Text reads correctly after any rotation and backwards after a horizontal flip. Front-camera selfies are the common case for flipping, since many phones save them mirrored.

Can I rotate a PDF page instead?

Use Rotate PDF for that — it turns pages without converting them to images, so text stays selectable.

Related Tools

Related guide

Why Photos Appear Sideways After Upload Background reading on this page's topic