On-device AI — professional-grade, fully private.

Images

How to Rotate an Image Online (90 Degrees, Any Angle, and Photos That Show Sideways)

Rotate a photo 90 or 180 degrees or any angle. Why images show sideways after upload, what happens to the corners, and how to turn a JPG without quality loss.

Updated November 4, 20269 min read

To rotate an image, open the rotate tool, add the photo and press Rotate left, Rotate right or Upside down. For a tilted horizon, use the Fine angle control instead and pick any angle from −180° to 180°. Quarter turns (90°, 180°, 270°) simply rearrange the pixels, so a JPG turned and saved as a JPG loses no quality at all. Free covers one image up to 25 MB, and it all runs on your device, not our servers. The rest of this guide covers the cases that confuse people: photos that look fine on a phone and sideways everywhere else, the empty corners a free angle leaves, and when you want flip or straighten instead.

Rotate, flip or straighten: which one do you need?

These three jobs sound alike and are not. Turning moves the picture around its centre. Mirroring swaps left and right (or top and bottom) as if you held the photo up to a mirror. Straightening is a small turn, usually a degree or two, chosen so a horizon or a wall ends up level.

ProblemWhat to useWhat it does
Photo lies on its sideRotate left or right (90°)A quarter turn, nothing recalculated
Photo is upside downUpside down (180°)Half turn, nothing recalculated
Text or a selfie is backwardsFlipMirrors the picture, does not turn it
Horizon slopes a littleFine angle, or straightenA small free-angle turn
A leaning building or a photographed pagePerspective correctionMoves the four corners separately

A mirrored picture cannot be fixed by turning it, and an upside-down picture cannot be fixed by flipping it left to right. If you are unsure, look at the text in the photo: if the letters are the right shape but the wrong way up, rotate; if they are reversed like a reflection, flip. The flip guide goes through mirroring in more detail.

Rotating an image, step by step

1

Add the photo

Open the image rotator and drop in a JPG, PNG, WebP, GIF or BMP. Free takes one image at a time, up to 25 MB.

2

Pick the turn

Under Quick turns press Rotate left, Rotate right or Upside down. The preview updates at once, and the panel shows the output size before you apply anything.

3

Or set a precise angle

For a slight tilt, use Fine angle. It runs from −180° to 180° in 0.1° steps, which is fine enough to level a horizon.

4

Choose the frame

For any angle that is not a quarter turn, decide what happens to the corners with Fit everything, Crop to the frame or Keep the size. The next section explains each.

5

Save it

Pick PNG, JPG or WebP under Save as, press Apply, then Download. Keep JPG if the original was a JPG.

Quarter turns, any angle, flip, scale and slant. Free: one image up to 25 MB at a time, no watermark. Pro: batches of many images. Runs on your device, not our servers.

Rotate an image

90 and 180 degrees versus any angle

A picture is a grid of pixels. Turn it by exactly 90°, 180° or 270° and every pixel lands exactly on another grid position, so the result is the same information in a new order. Nothing is estimated, nothing is blended, and the picture keeps the size it had (a landscape 4000 × 3000 photo becomes a portrait 3000 × 4000 one).

Any other angle is different. A pixel at 17° does not land on a grid position, so each new pixel has to be worked out from its neighbours in the original. That is called resampling, and it softens fine detail slightly. The Quality control chooses how the neighbours are blended.

Quality settingBest forTrade-off
SharpestPhotographs (the default)Crispest detail
SharpA good all-round choice for photosSlightly softer than Sharpest
FastQuick previews and simple graphicsVisibly softer on fine detail
Hard edgesPixel art and screenshotsKeeps pixels as crisp squares, but diagonals look stepped

For a quarter turn the Quality control has no effect, because there is nothing to blend.

What happens to the corners at a free angle

Here is the part nobody warns you about. A rectangle turned by 15° no longer fits inside its own rectangular frame. Either the frame grows, or something gets cut, or empty triangles appear in the corners. The tool lets you choose, under Frame.

Frame optionWhat happensChoose it when
Fit everythingThe frame grows to hold the whole turned picture; empty triangles appear in the cornersYou must not lose any of the picture: artwork, logos, scans
Crop to the frameThe largest rectangle with the original shape that fits inside the turned picture is kept; no empty corners, but the edges are lostPhotos, where a slightly tighter view is fine
Keep the sizeThe frame stays the same size as the original; corners of the picture are cut and empty triangles may showThe result must match an exact size

Fit everything is the default. The larger the angle, the more empty space it adds, up to about 45° where a square photo needs a frame roughly 41 percent wider and taller. Crop to the frame goes the other way and the loss grows with the angle too, which is why levelling a horizon by 1° or 2° barely costs anything and a 30° turn costs a lot.

What fills the empty triangles

Under Behind the picture you can choose Transparent, A colour, or Stretch the edges (which extends the outermost pixels outward and often looks natural on photos with a soft edge). Transparent is the default, because a fill baked into a file cannot be removed later. It needs PNG or WebP. JPG has no transparency, so a JPG export fills the corners with the Fill colour (white unless you change it), and the tool tells you so before you apply.

Why your photo shows sideways after you upload it

A phone camera's sensor always captures the picture in one fixed orientation. When you hold the phone upright, the phone does not turn the pixels. It writes a small note in the file, an orientation tag in the EXIF data, that says "show this turned 90° clockwise". Gallery apps read the note and display the photo upright. A website, a form or a program that ignores the note shows the raw pixels, and the photo appears sideways or upside down.

That is why the same file looks right on your phone and wrong after upload. The pixels were never rotated; only the note was. Some uploaders respect the note and some do not, so the result depends on where you send the file.

How the tool handles it

Use the photo's own rotation is switched on by default. The tool reads the note, shows the photo upright in the preview, and applies that turn to the pixels when it saves. When a photo carries one, the panel says "This photo records a 90° turn of its own" and the file is marked Auto-rotated in the queue. The saved file then looks the same everywhere, because it no longer depends on anyone reading a note.

Switch that option off only when you want to work on the picture exactly as it is stored, for example to see how a site that ignores the note will show it. If you only want to get rid of the note and other hidden data, see removing EXIF metadata from photos.

One side effect is worth knowing: a photo with an orientation note cannot be copied straight through, because the note has to be baked into the pixels first. The tool tells you this on the result as "Re-encoded because it carries its own rotation".

Rotating a JPG without losing quality

A JPG stores its picture in small blocks of frequency data instead of plain pixels. A quarter turn or a mirror only rearranges those blocks, so the tool can rewrite the file without decoding and re-compressing it. No second generation of compression is added. The result is marked Nothing re-encoded in the queue.

This direct route applies when all of these are true: the source is a JPG, you save as JPG, and the change is a quarter turn or a mirror. If any of them is not true, the picture is decoded, turned and compressed again, and the result is marked Re-encoded with the reason beside it: the source is not a JPG, the output is not a JPG, the size is not a whole number of blocks, the photo carries its own rotation, or the change is more than a quarter turn or a mirror.

Re-encoded does not mean ruined. The free export quality for JPG and WebP is fixed at 92 percent, which is visually close to the original for photographs. Pro lets you set the export quality yourself.

When the result is not what you expected

  • It turned the wrong way. Rotate left is anticlockwise and Rotate right is clockwise. Press the other one.
  • It was already upright and now it is sideways. The photo carried an orientation note, and your viewer applied it too. Switch Use the photo's own rotation off and compare.
  • White corners appeared on a JPG. JPG cannot be transparent, so the fill colour was used. Export PNG or WebP for transparent corners, choose Stretch the edges, or pick Crop to the frame.
  • The picture is mirrored, not turned. Use Flip instead, or the Flip horizontal and Flip vertical buttons in the same tool.
  • It is only a tiny bit crooked. Use Fine angle with Crop to the frame, or let straighten image find the tilt for you.
  • The file is over 25 MB. Free handles up to 25 MB per image. Compress it first, or go Pro.
  • A GIF only has one frame. An animated GIF is transformed as its first frame only.

Rotating many photos at once

Pro accepts a batch and downloads the results as one archive. The Apply to control picks every image, only the landscape ones or only the portrait ones, which saves you from turning a folder of mixed shots into a mess: choose Portrait only and turn just those. Free works on one image at a time.

Frequently asked questions

How do I rotate an image 90 degrees online?

Open the rotate tool, add the image and press Rotate right for a clockwise quarter turn or Rotate left for an anticlockwise one. Then press Apply and Download. Free covers one image up to 25 MB.

Why is my photo sideways after I upload it?

Phones usually store the picture unturned and add an orientation note to the file. Apps that read the note show it upright; sites and programs that ignore it show it sideways. Open it in the tool with Use the photo's own rotation on and save it, and the turn is applied to the pixels so it looks right everywhere.

Does rotating an image reduce its quality?

Not for a quarter turn on a JPG saved as a JPG, which is copied without re-encoding. Any other angle recalculates the pixels and softens fine detail slightly, so apply the angle once and start from the original.

Can I rotate an image by a custom angle?

Yes. Fine angle covers −180° to 180° in 0.1° steps. Choose whether the frame grows to hold everything, crops to remove empty corners, or keeps its size.

What is the difference between rotating and flipping an image?

Rotating turns the picture around its centre. Flipping mirrors it, so left becomes right. Turning cannot fix a mirrored picture and flipping cannot fix a sideways one.

Why does my rotated JPG have white corners?

JPG has no transparency, so the empty corners of a free-angle turn are filled with the fill colour, white by default. Save as PNG or WebP for transparent corners, choose Stretch the edges, or use Crop to the frame.

Keep reading

More in Images →