Back to Blog
Image
November 5, 2025
Updated November 20, 2026
EZEPDFTOOLS Team

How to Rotate and Flip Images Online

Fix sideways phone photos, upside-down scans and backwards selfies: why EXIF orientation causes the problem, rotate and flip options, and what happens to quality and location data.

A photo that shows up sideways, a scan that came out upside down, a selfie that reads backwards: these are some of the most common image problems, and they take seconds to fix. This guide explains why photos end up the wrong way round, how to fix them with Rotate Image and Flip Image, and what happens to quality when you do.

Why photos show up sideways

Phones do not always turn the pixels when you hold the camera sideways. Instead, they save the picture as it came off the sensor and add a small orientation note to the file (the EXIF orientation tag) that says "display this rotated by 90°". Phones and most modern apps read the note and show the photo correctly. Some websites, older programs and printers ignore it, so the same photo appears sideways there.

Rotate Image reads that note first and turns the actual pixels to match, then applies the rotation you choose. The result looks right everywhere, because it no longer depends on the note.

How to rotate an image

  1. Open Rotate Image and upload a JPG, PNG or WebP image (up to 100 MB).
  2. Choose 90° clockwise, 180° or 270° (which is 90° anticlockwise).
  3. Click Process and download the rotated image.

Rotations by 90°, 180° and 270° move pixels into their new places without stretching or smoothing them, so no detail is lost in the turn. The image keeps its format and its colour profile and DPI.

How to flip an image

  1. Open Flip Image and upload the image.
  2. Choose Horizontal (swap left and right), Vertical (swap top and bottom) or Mirror.
  3. Click Process and download the result.

Horizontal fixes a selfie that reads backwards: front cameras often save the mirror image you saw on screen, so text on your shirt or a sign behind you appears reversed. Vertical turns an image upside down as a reflection, which is different from rotating it by 180°. Mirror copies a flipped version of the left half over the right half, for a symmetrical effect. The original right half is replaced, so use it only when that is what you want.

Worked example: a phone photo of a whiteboard

You photograph a whiteboard with your phone held upright. On the phone it looks fine, but when you attach it to a document on a laptop it appears lying on its side, and the text reads from bottom to top. Open Rotate Image and upload the JPG. Because the tool applies the orientation note first, you only need to add a rotation if the result is still sideways: choose 90° clockwise, process, and download. The new file has the pixels in the correct order, so the laptop shows it upright too.

A second case: you scanned a one-page letter and it came out upside down. Upload the scan and choose 180°. Do not use Vertical flip for this. A vertical flip makes a mirror image, and the text would still be reversed, only now upside down in a different way.

Rotate or flip: which one?

  • Rotate when the picture is the right way round but turned. Text still reads left to right after a correct rotation.
  • Flip Horizontal when text or logos are mirrored, as in some selfies.
  • Flip Vertical only when you want a reflection, such as a water effect.

Quality and file details

  • PNG and WebP are saved in the same format. Nothing is lost.
  • JPEG has to be saved again after any change. The tool saves at the highest quality setting with full colour detail, so the difference from the original is very hard to see, but the file size can change.
  • Location data: the rotated or flipped copy does not carry the original EXIF details such as GPS location and camera model. That makes it safer to share, but if you need that information, keep the original.

How it works

The image is uploaded over an encrypted HTTPS connection to our server, opened with Pillow (a widely used Python imaging library), corrected for its orientation tag, turned or flipped, and saved. It is processed in memory and released as soon as the result is returned. We do not keep it.

Common questions

My photo looks right on my phone but sideways on my computer. Which way should I rotate it?

Upload it unchanged and look at the preview on the page. Because the tool applies the orientation tag first, you rotate from what you actually see.

Can I rotate by a small angle to straighten a horizon?

The page offers 90°, 180° and 270°. For fine straightening, use a photo editor with a straighten tool.

Can I rotate pages in a PDF instead?

Yes, with Rotate PDF, which turns whole pages without converting them to images.

Related tools

Common mistakes

  • Rotating the wrong way. If 90° clockwise makes it worse, the correct turn is 270°, which is 90° anticlockwise. Open the downloaded file and check it before you send it on.
  • Flipping to fix a sideways photo. A flip never turns a picture; it mirrors it. Use rotate.
  • Rotating a copy twice. If you already fixed the photo in a gallery app and saved it, do not rotate again. Upload the original, or open the result and check it first.
  • Overwriting the only original. Keep the original file, especially if you need its location and camera details later. The rotated copy does not carry them.
  • Expecting a tilt fix. The page turns by 90°, 180° or 270°. A slightly crooked horizon needs an editor with a straighten tool.

More quick answers

Does rotating make the file bigger or smaller?

It can change either way for JPEG, because the image is saved again at the highest quality setting. PNG and WebP keep their format. If the result is larger than you want, run it through Compress Image.

Do I need an account or to install anything?

No. The tool is free and needs no signup. The image is uploaded to our server and processed there, as described above.

EZEPDFTOOLS Team

Editorial team

Written by the team that builds and maintains the EZEPDFTOOLS tools.

Start Using Rotate/Flip

Put this guide into practice immediately with our professional-grade Rotate/Flip tool.

Go to Rotate/Flip