Image Tools

How to Fix Sideways Photos and Straighten Wonky Horizons

A photo looks fine on your phone but sideways on a website. A beach shot has a sloping sea. Both are quick fixes once you know what is going on.

In this article
  1. Why photos turn sideways after uploading
  2. Rotating by 90° or 180°
  3. Straightening a tilted horizon
  4. Mirroring: flip horizontal and vertical
  5. Rotating documents photographed on a table
  6. Does rotating reduce quality?
  7. Prevent sideways photos

Why photos turn sideways after uploading

Phones do not always rotate the pixels when you take a portrait photo. Instead, they save the image in the sensor’s natural landscape orientation and add a small note in the file’s EXIF data saying “rotate 90° when displaying”. Your gallery app reads the note; some websites, older programs and printers ignore it. The result: a photo that looks right on your phone appears sideways elsewhere.

The cure is to rotate the actual pixels so that no note is needed. Rotate Image shows the photo the right way up and saves it with the rotation built in.

Image RotatorRotate images 90° or 180°, flip them horizontally or vertically, or straighten a crooked photo with any custom angle. Live preview, free download.
Open the free tool

Rotating by 90° or 180°

  1. Open Rotate Image and drop in the photo.
  2. Click rotate left or right (90°), or 180° for an upside-down picture.
  3. Check the live preview and download.

Quarter turns do not lose any picture: the image is simply turned.

Straightening a tilted horizon

A horizon that slopes by even 2° looks wrong. Use a custom angle – the tool accepts steps as small as 0.5°. Look at a line that should be level, like the sea, a table edge or a window sill, and adjust until it is parallel with the edge of the frame. For buildings, use a vertical line, such as a door frame.

Rotating by a small angle tilts the corners of the picture outwards, leaving empty triangles. In PNG and WebP they can be transparent; in JPG they are filled with a colour you choose. Usually the best fix is to crop them away afterwards with Crop Image.

Mirroring: flip horizontal and vertical

  • Selfies: some front cameras save a mirror image, so text on your T-shirt reads backwards. Flip horizontally to fix it.
  • Design: flipping a photo can make a person face into a layout rather than out of it.
  • Vertical flip: mostly for creative effects and reflections.

Be careful flipping photos that contain text, logos or recognisable places – they will look wrong to anyone who knows them.

Rotating documents photographed on a table

When you photograph a document lying flat, the phone often guesses the orientation wrongly. Rotate each page here before turning them into a PDF, or build the PDF first and fix individual pages with Rotate PDF.

Does rotating reduce quality?

Turning by 90°, 180° or flipping is exact. Rotating by other angles requires the pixels to be recalculated, which softens the image very slightly – invisible at normal sizes. Saving as JPG adds the usual small compression, so keep the quality high (85% or more) if you will edit further.

Prevent sideways photos

  • Hold the phone steady in the orientation you want before pressing the shutter.
  • When photographing a flat document, tilt the phone very slightly towards you so it detects “up” correctly.
  • Remove EXIF data with the EXIF Remover only after rotating – some viewers rely on that orientation note.
Image RotatorRotate images 90° or 180°, flip them horizontally or vertically, or straighten a crooked photo with any custom angle. Live preview, free download.
Open the free tool
Keep reading

Related articles

All articles
Image

How to Crop Photos for Instagram, Profile Pictures and Prints

Cropping is the quickest way to improve a photo. Choose the right shape for where it is going, then use a few simple composition rules.

3 min read
Image

The Right Image Sizes for Social Media, Websites and Online Forms

Upload a photo at the wrong size and it gets cropped, blurred or rejected. Here are the sizes that work, and how to resize images without distorting them.

3 min read
PDF

Why Is My PDF Sideways or Upside Down – and How to Fix It for Good

Turning a page in your PDF viewer only fixes it on your screen. Here is why pages end up the wrong way round and how to save the correct rotation into the file itself.

3 min read