What is happening

A phone’s camera sensor has a fixed orientation. When you hold the phone upright, it still records the image in the sensor’s native orientation and adds a number to the EXIF metadata, called the Orientation tag, that tells viewers how to rotate it. There are eight possible values: normal, rotated 90°, 180°, 270°, and four mirrored versions. Your phone’s gallery reads the tag and displays the picture upright.

The trouble is that not everything reads the tag. Some websites, older software, print services and image processing scripts ignore it. They show the raw pixels, which look sideways or upside down. You may also see the opposite problem: a picture that looks right in one app but not in another.

Fix it with the Rotate & Flip tool

  1. Open Rotate & Flip and add the photo. The preview is shown with the orientation tag already applied, as modern browsers do.
  2. If the picture is still wrong, press Rotate left or Rotate right until it is upright.
  3. Press Save image and download the new file.

The saved file has the orientation written into the pixels, and the tag is not included, so every app shows it the same way.

Rotate vs flip

  • Rotate 90° / 180°: turns the whole picture.
  • Flip horizontal: mirror image left-to-right. Text will read backwards.
  • Flip vertical: mirror image top-to-bottom.

Selfie cameras sometimes save a mirrored picture. If the text on a sign looks backwards, flip horizontally.

Some gallery apps rotate by changing the Orientation tag only, without touching the pixels. That looks right in the gallery, but the problem returns elsewhere. Saving a copy with the pixels rotated, as this tool does, is more reliable. It does mean the JPG or WebP is saved again, with a very small quality effect for a single save; PNG is unaffected.

If you are a developer or site owner

Modern browsers apply the Orientation tag to images by default (the CSS property image-orientation: from-image is the default). The sideways-photo problem usually comes from image libraries on the server or in an app that strip or ignore the tag while resizing. When you process uploads, read the orientation first and rotate the pixels before removing metadata.

Quick fixes on your own device

  • Windows: in the Photos app, open the picture and press Ctrl+R to rotate, then save a copy. In File Explorer, the “Rotate” command may only change the display, not the pixels, depending on the version.
  • Mac: open the image in Preview, choose Tools, then Rotate Left or Rotate Right, and save.
  • iPhone: in Photos, tap Edit, then the crop button, and rotate with the button at the top left. Tap Done.
  • Android: most gallery apps have an Edit option with a rotate command; the wording varies by phone brand.

How to tell it is an orientation-flag problem

If the picture looks right in your phone’s gallery but sideways when uploaded to a website or opened in another program, a flag is almost certainly the cause. If it looks sideways everywhere, the pixels themselves are rotated and a simple rotation fixes it. Either way, the tool above gives you a copy whose pixels and appearance match.

Try it: Rotate & Flip Image

Rotate by 90° or flip a photo horizontally or vertically. Free, private, and it runs in your browser.

Open Rotate & Flip Image

Frequently asked questions

Why does my photo look sideways only on some websites?

Those sites ignore the EXIF Orientation tag. Saving a rotated copy fixes it.

Does rotating reduce quality?

PNG is lossless. For JPG and WebP, a single save causes only a tiny effect.

Can I rotate by 45 degrees?

This tool rotates in 90° steps. Free-angle rotation needs a photo editor.

What does flip do?

It mirrors the picture horizontally or vertically.

Will the original change?

No. You download a new file.

A
Ayman Almuhaimeed

Founder of Pixetools. Pixetools builds free, private image tools and publishes guides based on hands-on tests. Read how we write and check articles in our editorial policy.