Skip to content
Image Mirror

Quarter turns, in the browser

Rotate Image Online: 90° Right, 90° Left or 180°

Rotate image online when a photo is on its side or a scan came out the wrong way. Pick 90° right, 180° or 90° left, check the preview, and download the full-size file. The picture never leaves this device.

Drop pictures here

Or paste with Ctrl+V. JPG, PNG, WebP or HEIC, up to 30 at once.

Your pictures never leave this device: everything happens in your browser.

How to rotate a photo

The control above is already on Rotate, with 90° right selected. The same steps work for photos, scans and screenshots, and the preview updates before you save anything.

  • Add the picture. Choose a file, drop it on the box, or paste it with Ctrl+V (Cmd+V on a Mac). On a phone, Choose images opens the photo library.
  • Pick the turn. 90° right is clockwise. 90° left is counter-clockwise. 180° turns the picture halfway around. The same choice applies to every file in the batch.
  • Read the size line under the controls. A quarter turn swaps width and height, so a 4032 × 3024 photo is saved as 3024 × 4032. 180° keeps both numbers.
  • Download. One picture saves under a new name such as photo-rotated-90.jpg, so the original stays in your downloads folder. Up to 30 pictures come back as one ZIP.

A sideways phone photo is often already upright

Open the file here before you turn it. A photo shot with the phone on its side is stored as a landscape block of pixels plus a small orientation note, the EXIF orientation. Browsers apply that note by default: the CSS property image-orientation starts at from-image, which has been the normal behavior since April 2020. MDN documents both the property and the decoder option this page uses, createImageBitmap with imageOrientation from-image.

That is why the same file can look sideways in one app and fine in another. A viewer that ignores the note shows the stored pixels. A viewer that reads the note shows the scene the camera intended. This page does the second thing first. The picture you see is already corrected, and the turn you pick is applied on top of that corrected view. If it already looks right, leave it. If a scan really went in on its side, then choose 90°.

The download no longer depends on the note

The file you save is the pixels on screen, written out again. A program that never reads EXIF will show those pixels the same way the preview did, because the orientation is now in the picture itself rather than in a note the next app might skip. iPhone HEIC photos are saved as JPG, which every photo app can open. The tool says so when the format changes.

What the saved file actually contains

A quarter turn does not invent new pixels. Each source pixel moves to one new cell. Clockwise, the pixel at column x and row y lands at column (height − 1 − y) and row x, and the result is height by width. The other way, it lands at column y and row (width − 1 − x). 180° sends it to (width − 1 − x, height − 1 − y), which is the same pixels as flipping both axes, and the size stays put. Odd sizes are included: a 5 × 3 picture becomes 3 × 5, and a 1 × 1 picture stays 1 × 1. Four clockwise turns, or 90° followed by 90° the other way, bring every pixel back.

JPG stays JPG, PNG stays PNG and WebP stays WebP. A transparent PNG or WebP keeps its clear pixels; the checkerboard is only the preview. For a PNG where the clear background matters most, rotate a PNG. GIF, BMP, AVIF, SVG and TIFF are saved as PNG, and an animated GIF becomes one still frame. Each file can be up to 50 MB. If the browser cannot allocate a canvas that large, the tool saves the biggest size that works and prints the dimensions it actually wrote.

Letter F upright, turned 90 degrees clockwise, turned 180 degrees, and turned 90 degrees counter-clockwise
The same letter F after each quarter turn. 180° is not a mirror: the F faces the other way, and writing in a real photo still reads left to right.

PNG is lossless. A new JPG is not

PNG is written losslessly, so a quarter turn changes positions and nothing else. JPG and WebP are compressed again at quality 92 unless you move the slider. That is a new file, not a lossless JPEG rotation. The command-line tool jpegtran can turn a JPEG by rearranging the compressed blocks without decoding them, but only when the width and height line up with those blocks. Otherwise it has to drop a strip of edge pixels or refuse. This page does not do that. Every pixel size works, including odd widths, and the JPG you download has been encoded again. Raise the slider to 100 if you want the least extra compression.

Rotate a batch of pictures in one go

Drop up to 30 photos or scans on the box to turn them together. One turn applies to all of them, the thumbnails let you check each file, and Download all packs the results into a single ZIP. Names look like scan-rotated-180.png, so a folder of originals is not overwritten.

A stack of pages that went through the scanner upside down wants 180°, not a vertical flip. After 180° the lines of text still read left to right, only the right way up. A vertical flip reflects every letter. The flip image page owns that comparison and shows a letter F flipped next to the same F turned halfway around. Use it when the job is a reflection. Use the turn here when the job is orientation.

The home page is the sideways mirror, for a shirt logo or a transfer that has to print reversed. How to mirror an image is the click-path in Photos, Paint, Preview and the other apps that hide the same idea in a menu.

What a quarter turn will not fix

There is no arbitrary angle, no horizon slider and no crop. A photo tilted by a few degrees, a horizon that leans, or a page that needs a corner cut off is a different job. On an iPhone, Apple's Photos app rotates by 90 degrees inside the crop tool and has a separate straighten slider: open the photo, tap Edit, then use the crop, rotate, flip or straighten controls described in Apple's guide. If you want the exact taps for Photos, they are in how to rotate a picture on iPhone. Desktop photo editors have the same split, a free angle on one control and a crop on another. In Photoshop, the whole-canvas turn is under Image > Image Rotation, and the steps are in how to rotate an image in Photoshop.

This page also does not add a filter, draw type, or straighten a document that is skewed rather than square to the frame. For quarter turns at the original format, without an account and without an upload, this page is the quick route; if the picture sits inside a document rather than a file, the steps are in how to rotate an image in Google Docs. If the picture is in Word, the handle, 90° commands and exact angle are covered in how to rotate a picture in Word.

Questions about quarter turns

How do I rotate an image 90 degrees without uploading it?

Open this page, add the photo, keep 90° right or switch to 90° left, and download. The work runs in the browser. The file is not sent to a server. See the privacy policy.

Do width and height change?

Yes for 90° and 270°, no for 180°. The size line shows the numbers that will be saved. A square picture keeps both numbers either way, because swapping them changes nothing.

Is the JPG lossless?

No. The pixels move to exact new positions, but the JPG is encoded again at quality 92. PNG is the lossless path, and it keeps transparency. There is a slider when the file is JPG or WebP.

Why does the photo look upright before I touch it?

The browser applied the camera's orientation note while decoding. The turn you choose is on top of that. The download bakes the pixels you see, so another app does not have to read the note.

Can I rotate a whole folder of scans?

Yes, in batches of up to 30, all at the same angle, saved as one ZIP. For a stack that is upside down, choose 180° so the text stays readable.

How is a turn different from a flip?

A turn keeps writing readable. A flip reflects it, so text runs backwards or each letter is mirrored. Both together match 180°, which is why a vertical flip alone is the wrong fix for an upside-down scan. The longer comparison is on the flip page.