HeyDreaming

Free · processed in your browser · free account to download

Rotate an Image Online

Loading the tool…

Turn a sideways or upside-down photo 90 degrees left, 90 degrees right, or 180 degrees. The rotation happens in your browser, so your image stays on your device and downloads at full resolution.

How do I rotate a photo 90 or 180 degrees online?

Drop your image into the box above and click Rotate left, Rotate right, or Rotate 180. Each press updates the side-by-side preview right away while your browser renders the full-resolution rotated file in the background. When the download button appears, save your rotated image; JPGs and WebPs stay in their original format (at 92% quality) and PNG, AVIF and HEIC inputs save as PNG.

How it works

01

Add your photo

Drag a JPG, PNG, WebP, AVIF or HEIC/HEIF file into the box, or click to pick one. Files up to 50 MB are accepted.

02

Choose the rotation

Click Rotate left (90° counterclockwise), Rotate right (90° clockwise), or Rotate 180. Clicks add up, so you can keep turning until it looks right. To straighten a tilt, set any angle from −180° to 180° with the slider or the number field.

03

Download at full size

Compare the Original and Result previews, then click the Download button to save the full-resolution rotated file.

Fixing sideways scans and phone photos

Scanners, older cameras and downloaded attachments often arrive turned on their side, and some phones rely on an EXIF orientation tag that certain upload forms ignore—making a portrait photo appear sideways once uploaded. Rotating the actual pixel grid fixes the orientation permanently so every app and website displays it upright.

A 90° left or 90° right turn swaps the width and height of the image (for example, a 4000×3000 photo becomes 3000×4000), while a 180° turn keeps the same dimensions. To keep clicks responsive on large camera files, the side-by-side preview on screen is capped at 1200 px on the long side, and the full-resolution image is encoded right behind it for the download.

Output format, quality and metadata

Right-angle turns (90°, 180° or 270°) are exact, with no scaling or cropping. Any other angle needs a choice. Expand canvas, the default, grows the canvas to fit the whole picture and leaves the corners transparent, or white for JPG. Trim corners keeps the largest rectangle with no empty corners. JPG (and JFIF) inputs are saved as JPG at 92% quality, WebP inputs stay WebP in Chrome, Edge and Firefox (or save as PNG in Safari), and PNG, AVIF and HEIC inputs are saved as lossless PNG with the -rotated suffix.

Because the output is written from an 8-bit sRGB browser canvas, embedded EXIF metadata (including the old orientation tag, camera model and GPS coordinates) is removed and wide-gamut Display P3 colors are converted to standard sRGB.

What this tool does not do

It does not perform lossless JPEG block rotation without re-encoding, or copy EXIF metadata and color profiles.

See all free tools

Keep exploring

Related free tools

Questions

Rotate Image: FAQ

Is my image uploaded to a server when I rotate it?

No. Decoding, rotating and saving happen inside your browser on your device. The page sends usage events to Google Analytics, such as which rotation ran, but never the image.

Does rotating a photo reduce its pixel resolution?

No. Every pixel from the original image is preserved at full resolution; 90° turns simply swap the width and height numbers. The one exception is Trim corners on a tilted angle, which cuts away the edges that would leave empty corners. The smaller copy shown on the page is only for the live preview.

Which file format will my rotated download be?

JPG and JFIF files download as JPG (encoded at 92% quality), WebP files download as WebP in browsers that can write WebP (or PNG in Safari), and PNG, AVIF and HEIC files download as lossless PNG. Those are the defaults; the Format menu at download also offers PNG, JPG, WebP, TIFF or PDF.

Why did my photo look upright on my phone but sideways on a website?

Phones often store the pixels sideways and add an EXIF orientation tag telling viewers to turn the picture. Websites that strip EXIF without applying it show the raw sideways pixels; rotating and saving a new copy here bakes the upright orientation into the pixels themselves.

What happens if I click Rotate right four times?

Turns add up around the circle. Once the total rotation reaches 360 degrees, the image is back to its original orientation and the tool clears the pending result so you do not re-encode the file for no reason.

How do I mirror a photo instead of rotating it?

Rotating turns the image around its center, while mirroring creates a left-to-right or top-to-bottom reflection. This page has the flip buttons too: under Also flip, pick Flip horizontal, Flip vertical or Both, with or without a rotation.