Rotate Image Online

Turn a photo 90° left or right, upside down, or by any exact angle.

Rotate Image tool

Tip: you can also paste a picture with Ctrl+V.

About the Rotate Image tool

Phones sometimes save photos sideways, and a slightly tilted horizon can spoil an otherwise good picture. This tool lets you rotate image files by quarter turns with one click, or by any precise angle, such as 1.5 degrees, to level a skyline or a scanned page. When a picture is turned by an odd angle, the new corners can be filled with a color or left transparent.

Turns of 90°, 180° and 270° are exact: the pixels are moved, not redrawn, so the picture keeps its full sharpness and simply swaps its width and height when it turns on its side. For any other angle the canvas grows to fit the turned picture, and the new corners can stay transparent or be filled with white, black or a color of your choice.

Everything happens on your own device. The picture is opened by the browser, turned on a canvas and saved again, so nothing is uploaded and private photos stay private. JPG, PNG, WebP, GIF and BMP files can be opened, and you can paste a screenshot straight from the clipboard.

To mirror a picture instead of turning it, use flip image. After rotating, crop the image to trim the corners away, or resize it for a website or form.

How to use the Rotate Image tool

  1. Open the pictureChoose an image or drop it on the box. You can also paste one with Ctrl+V.
  2. Turn itPress 90° left, 90° right or 180°, or type an exact angle. Positive angles turn clockwise.
  3. Choose the cornersFor angles that are not a multiple of 90°, choose transparent corners or a fill color.
  4. DownloadPick the format if you want a different one, then press Download image.

Rotate Image features

  • Quick 90° left, 90° right and 180° turns
  • Any angle to a tenth of a degree
  • Lossless pixel moves for right-angle turns
  • Transparent or colored corners
  • Keeps the original format, or save as PNG, JPG or WebP
  • Live preview while you adjust
  • Paste images from the clipboard
  • Nothing is uploaded

Common uses

  • Fixing photos that a phone or camera saved sideways
  • Straightening a tilted horizon by a degree or two
  • Turning scanned pages the right way up
  • Making diagonal graphics for social media posts
  • Rotating screenshots before adding them to a document

Rotating images: fixing sideways photos and straightening horizons

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

Sideways photos are a daily annoyance: a picture looks fine on your phone but appears turned on a laptop, in an email or after uploading to a website. Other photos are almost right but slightly tilted, with a horizon that slopes. Rotation fixes both problems. This guide explains why photos end up sideways, how rotation works, and how to straighten a picture without losing quality or leaving awkward corners.

Why photos appear sideways

Cameras and phones store the image the way the sensor captured it and add an orientation tag in the EXIF metadata saying how the device was held. Viewers that read the tag rotate the picture for display. Programs and websites that ignore the tag show it sideways. That is why the same file can look correct in one place and wrong in another.

Rotating the image itself, so the pixels are stored the right way up, removes the dependency on the tag. Once saved, the photo displays correctly everywhere.

Quarter turns and exact angles

RotationTypical useQuality impact
90 degrees left or rightsideways phone photos, scansnone to the picture content
180 degreesupside-down photos and scansnone to the picture content
1 to 5 degreesstraightening horizons and documentsslight resampling softness
any other anglecreative effectsresampling and empty corners

Quarter turns move pixels to new positions without changing them. Any other angle requires calculating new pixels between the old ones, which softens the image very slightly. At small angles this is barely visible.

Straightening a tilted horizon

A sloping horizon is one of the most common photo faults, and one of the easiest to fix. Find a line that should be level or vertical, such as the sea's edge, a building, a door frame or the edge of a table. Rotate in small steps until it lines up with the frame. Most tilted photos need between 1 and 4 degrees.

What happens to the corners

Rotating by an angle that is not a multiple of 90 degrees tilts the rectangle of the photo inside a new, larger rectangle, leaving triangular gaps at the corners. There are three ways to handle them:

  1. Crop them away afterwards with Image Cropper, keeping the largest straight rectangle inside the rotated photo. This is the usual choice for photos.
  2. Fill them with a colour, such as white for documents.
  3. Keep them transparent and save as PNG, useful for graphics placed on websites.

Cropping after straightening removes a little of the image, so leave some space around important subjects when you take photos.

Straightening scanned documents

Scanned or photographed pages are often slightly crooked. Straightening them makes them easier to read and more professional when converted to PDF. Rotate until the lines of text are horizontal, fill corners with white, then crop to the paper's edges. For a whole PDF, fix page orientation with Rotate PDF, which handles quarter turns of PDF pages directly.

Rotation versus flipping

Rotation turns the picture around its centre; text and faces stay readable, just turned. Flipping creates a mirror image, which reverses text. If your photo looks "backwards" rather than sideways, such as a selfie with reversed lettering, you need Flip Image instead.

Quality tips

  • Rotate from the original file, not a previously rotated copy, to avoid adding softness repeatedly.
  • Save photos as high-quality JPG and graphics as PNG after rotating.
  • For JPG photos, one save at quality 85 to 90 keeps the result indistinguishable from the original.

A worked example: straightening a landscape photo

You take a photo of a lake and the far shore slopes gently down to the right. Rotate the photo counter-clockwise in small steps, about one degree at a time, until the shoreline is level with the top edge of the frame. Suppose it takes 2.5 degrees. The rotated photo now has small empty triangles at each corner. Crop the photo slightly so those corners disappear; on a 4000-pixel-wide image, a 2.5 degree rotation costs only a few percent of the width and height, which nobody will notice.

Rotating photos on phones before uploading

Phones usually display photos correctly because their galleries read the orientation tag, so you may not notice a problem until a website shows the image sideways. If a site you upload to often rotates photos, rotate them here first and save the result. The saved file has its pixels stored the right way up, which every website and program displays correctly.

Rotating many photos from the same shoot

When a whole set of photos came out sideways, for example scans from a feeder or pictures from a camera held the same way, rotate them all by the same amount so they stay consistent. Check a few from the beginning, middle and end of the set before saving them all. Afterwards, sort them by date taken rather than by file name, which keeps the order of the shoot even if the files were renamed during editing.

Privacy

Rotation happens in your browser, on your device. Photos are never uploaded, which matters for personal pictures and scanned documents.

Frequently asked questions

How do I rotate an image 90 degrees?

Open the image and press 90° right to turn it clockwise or 90° left to turn it counterclockwise, then press Download image. The width and height swap, and no quality is lost, because the pixels are only moved to their new places.

Can I rotate a picture by a custom angle?

Yes. Type any angle in the Angle box or drag the fine angle slider. Positive numbers turn the picture clockwise and negative numbers counterclockwise, in steps as small as a tenth of a degree, which is ideal for straightening a crooked horizon.

Why does my image get bigger when I rotate it by 45 degrees?

A turned rectangle needs a larger box to fit inside, so the canvas grows to hold every corner of the picture. The extra corners are transparent or filled with the color you choose. Crop them away afterwards if you only want the picture itself.

Does rotating reduce the image quality?

Turns of 90°, 180° and 270° move whole pixels and keep the picture identical. Other angles need the pixels to be redrawn, which softens them very slightly. Saving as JPG compresses again, so choose PNG or a high quality setting if every detail matters.

Why are the corners black or white in my JPG?

JPG cannot store transparency. When the corners are transparent and you save a JPG, they are filled with white. If you keep the original format for a JPG with transparent corners, the tool saves a PNG instead so the corners stay clear.

Is my photo uploaded to a server?

No. The image is opened and rotated by code running in this page, on your device. It is never sent anywhere, so it is safe for personal photos, ID scans and confidential screenshots.

Why was my phone photo sideways in the first place?

Phones often store photos in the sensor's orientation and add a note saying which way is up. Some programs ignore that note. This tool shows the picture the way the browser displays it, so what you see in the preview is what you get.