Rotate Image

🔒 The image is rotated in your browser and never uploads. The turn is baked into the pixels and the orientation tag is dropped, so the file you download looks the same everywhere — not just here.

Drop a picture and it appears upright straight away. Click ↻ once or twice to turn it, ⇄ or ⇅ to mirror it, and drag Straighten if the horizon is a couple of degrees off — every change lands on the canvas as you make it, with no Apply button and no round trip. The download is the only commitment, and it stays off until you have actually changed something, because there is no honest reason to re-encode a file you have not touched. Two details do most of the work here. The first is that every render composes from the original decoded bitmap rather than from the previous output, so clicking rotate ten times costs exactly one encode from source and a JPEG never visibly degrades under repeated clicks — which is precisely what happens on tools that send the file to a server and back on every click. The second is that the rotation gets written into the pixels and the EXIF orientation tag is dropped on the way out, so the picture you download looks the same in Preview, in Slack, on the upload form, and in the software that ignores orientation tags entirely. Looking fixed here and still sideways somewhere else is the defining failure of this category, and it is the one thing this tool is built to get right.

Built by Bob Article by Lace QA by Ben Shipped

How to use

  1. 1

    Drop an image onto the page, paste one from your clipboard, or use Choose an image. PNG, JPG and WebP all work, up to 50 MB. It shows up upright and untouched.

  2. 2

    Click ↻ Right 90° or ↺ Left 90° until it looks right. ⇄ Flip horizontal and ⇅ Flip vertical mirror it, and they act on what you see — on a sideways photo, ⇄ still flips it left-to-right on your screen.

  3. 3

    If the horizon is slightly off rather than sideways, drag the Straighten slider. It runs from −45° to +45° in tenths of a degree. Fit: Expand keeps the whole picture and fills the new corners; Fit: Crop trims to the biggest rectangle that has no empty corners at all.

  4. 4

    Hit Download. The file keeps its original format and full resolution with the rotation baked in. Copy image puts the same picture on your clipboard to paste straight into a message. Reset returns to the original orientation.

Frequently asked questions

Ratings & Reviews

Rate this tool

Sign in to leave a written review.
Loading reviews…

What does the Rotate Image tool do?

The Rotate Image tool turns a picture the right way up and hands it straight back. Drop in a PNG, JPG, or WebP, click ↻ Right 90° until the photo looks correct, and download it. There is also ⇄ Flip horizontal and ⇅ Flip vertical to mirror an image, and a Straighten slider running from −45° to +45° in tenths of a degree for the times a horizon is two degrees off rather than fully sideways. Every change lands on the canvas as you make it. There is no Apply button, no render queue, and no round trip.

All of it runs on a canvas inside your own browser tab. The file is read off your disk, redrawn, and re-encoded without a single byte reaching a server. No account, no watermark, no resolution cap.

One detail separates this from the rest of the category: the turn is written into the pixels, and the orientation tag is dropped on the way out. The file you download looks identical everywhere — your photo library, an upload form, a chat window, some twelve-year-old desktop program that has never heard of metadata. Looks fixed here, still sideways over there is the signature failure of rotating images online. It is the one thing this tool is built to get right.

Why your photo is sideways in the first place

Your phone almost certainly did not rotate it. When you turn a phone on its side, the sensor keeps recording pixels in the same physical order it always uses. Rather than rewriting several megabytes of image data, the camera writes a short note into the file's EXIF metadata — a field called Orientation — that says display this rotated 90° clockwise.

Software that reads the note shows the photo correctly. Software that ignores it shows you the raw pixels, which are lying down. That is the whole mystery. The same file can look perfect in your photo library and sideways the instant you attach it to an email, drop it into a web form, or open it in an older program. Nothing is corrupted. Two pieces of software simply disagree about whether to obey a note.

The tag itself is a single number. These are the four you will actually meet:

EXIF Orientation valueWhat the camera is asking forHow you fix it here
1Already upright — no rotationNothing to do
3Rotate 180°↻ twice
6Rotate 90° clockwise↻ once
8Rotate 90° counter-clockwise↺ once

The even values in between (2, 4, 5 and 7) describe mirrored variants, and they are rare outside scanners and a few older cameras. If you meet one, the flip buttons cover it.

Browsers already apply the Orientation tag when they decode an image, so a sideways iPhone photo shows up upright the moment you drop it in. That is correct, not a bug. The pixels underneath are still on their side, which is exactly why the download has to bake the rotation in rather than just editing the tag again.

How to rotate an image, step by step

Four steps, and most sessions stop at step two.

  1. Get the image in. Drag it onto the page, paste it from your clipboard, or use Choose an image. PNG, JPG and WebP all work, up to 50 MB and 12,000 pixels on the longest side.
  2. Turn it. Click ↻ Right 90° or ↺ Left 90° until it looks right. Clicks accumulate, and four of them bring you back where you started.
  3. Mirror or straighten if you need to. ⇄ and ⇅ flip the image; the Straighten slider handles small tilts.
  4. Download. The file keeps its original format and full resolution. Copy image puts the same picture on your clipboard instead, ready to paste into a message.

Here is a real one. Take a 4032 × 3024 photo off an iPhone called IMG_4021.jpg that arrived on its side. One click of ↻ Right 90° and the line under the canvas reads 4032 × 3024 → 3024 × 4032 · JPG, with the transform spelled out beside it as Rotated 90° right. Download gives you IMG_4021-rotated.jpg at the full 3024 × 4032 — not the scaled-down thing you were looking at on screen.

Keep clicking and it wraps. Four clicks of ↻ put the label back to Original orientation and switch the Download button off again, because at that point the state is identical to the file you dropped in and re-encoding it would only make it very slightly worse for no reason.

The flip buttons are worth one sentence of explanation, because they are the detail most tools get wrong. They act on what your eye sees, not on the image's internal axes. After one right turn the photo is on its side, and ⇄ Flip horizontal still mirrors it left-to-right on your screen. The label then reads Rotated 90° right · flipped horizontally, which is the operation you actually performed.

Straightening a crooked horizon: Expand or Crop

A tilt is a different problem from a turn. Rotate a rectangle by 90° and it still fits a rectangle. Rotate it by three degrees and it does not — you either need a bigger canvas with empty triangles in the corners, or a smaller one that cuts those corners away. That is the entire reason the Fit control appears, and it only appears when the straighten angle is non-zero. At multiples of 90° there are no corners to argue about, so the control stays hidden rather than sitting there doing nothing.

Expand grows the canvas to the full rotated bounding box and keeps every pixel of the original, filling the new corners. Crop keeps your source aspect ratio and returns the largest rectangle that fits entirely inside the tilted image, so there are no empty corners at all. Here is what both do to that same 4032 × 3024 photo:

Straighten angleFit: ExpandFit: Crop
4084 × 30943941 × 2956
4135 × 31633855 × 2891
4185 × 32313774 × 2830
4280 × 33643625 × 2718
10°4496 × 36783315 × 2486
45°4989 × 49892444 × 1833

Read the top rows and the choice makes itself. A crooked horizon is almost always one to three degrees, and Crop costs you about six percent of each edge to make the problem disappear entirely. That is why Crop is usually the right answer for straightening. Expand earns its place when nothing in the frame is expendable — a scanned document with text near the margin, say, where trimming 200 pixels off the top would take a line with it.

Push the slider further and Crop gets expensive fast. At 45° you keep 2444 × 1833 of a 4032 × 3024 photo, a little over a third of the area. Nothing is broken; a 45° tilt is just a lot to ask of a rectangle.

Those empty corners get filled according to your file's format, and it matters. PNG and WebP carry an alpha channel, so the corners stay genuinely transparent — straighten a 2000 × 1500 PNG by 2.5° with Crop and you get 1892 × 1419 with nothing composited behind it. JPG has no way to record "nothing here", so its corners are filled white on purpose. Leave that to the encoder's default and they come out black, which is why straightening a JPG on some sites returns heavy black wedges.

Where rotating images goes wrong

The rotate that only edits the tag. Some tools "rotate" an image by rewriting the EXIF Orientation field and leaving the pixels untouched. It is instant, and it looks fine in whatever app you happen to be standing in front of — then it reproduces the exact problem you were trying to solve the moment the file lands somewhere that ignores the tag. The tell is that the rotate is suspiciously fast and the file size does not change at all. Downloads from Rotate Image carry no orientation tag whatsoever, so there is no note left for anything to obey or ignore.

Quality that decays as you click. Rotating by 90° or flipping is lossless in pixel terms — nothing is resampled, every pixel just moves. Re-encoding a JPEG does cost a little quality, which is true of any tool that hands you back a JPEG. What matters is whether that cost stacks. Every preview and the final download here compose from the original bitmap you dropped in, never from the previous result, so ten clicks cost one encode rather than ten. Anything that sends your file to a server and back on each click stacks it, and you can watch a heavily-clicked photo go soft.

Straightening repeatedly. The slider is the one operation that genuinely resamples, because an angle that is not a multiple of 90° has to rebuild the pixel grid. One straighten is fine. Straightening the same file four times in a row is not, and the tool cannot save you from it.

Files it will refuse, on purpose. A HEIC photo from an iPhone cannot be decoded by any browser, so run it through the HEIC to JPG converter first and bring the JPG back. A PDF has pages rather than pixels; Rotate PDF turns them without rasterising your text. An animated GIF is rejected rather than quietly flattened, because a canvas only ever sees the first frame and handing back a still image with the animation silently removed would be worse than saying no. Over 50 MB you get a straight answer with the real number — "That's 68.2 MB. The limit is 50 MB" — and a pointer to the image compressor. That cap is a browser memory limit, not a pricing tier.

The wrong tool for the job. Rotating is one job. If what you actually need is a different shape, use the image cropper; different dimensions, the image resizer; a different file type, the image format converter. Each of those is its own page rather than a tab buried inside this one.

Why this is a page and not a product

Rotating an image is a few milliseconds of arithmetic that every browser has been able to do for over a decade. Most of the internet still answers it two ways, and both are strange. The utility sites upload your photo to a machine you do not control, do the few milliseconds there, and post it back — then count your files, stamp a watermark on the result, or cap the resolution until you start paying monthly. The photo editors take the other road: open a project, create an account, pick a plan, and the export button works. A whole studio to answer a one-click question.

Rotate Image is the full tool, not a stripped-down preview of one. Open it, turn the photo, close the tab. It works the same whether you are a freelancer fixing a portfolio shot, a student photographing a form for an online application, or someone at a large company who just needs a sideways screenshot the right way up before a meeting. And 10% of every dollar Microapp earns goes to charity, off the top, audited quarterly.

Frequently asked questions

How do I rotate a photo 90 degrees?

Drop the photo onto the page and click ↻ Right 90° once for clockwise, or ↺ Left 90° once for counter-clockwise. The canvas updates immediately and the line underneath tells you the new dimensions — a 4032 × 3024 photo becomes 3024 × 4032. Then hit Download. There is no step in between.

Why does my photo look right on my phone but sideways when I upload it?

Because the file carries an EXIF Orientation tag asking viewers to rotate it, and the site you uploaded to ignored the request. Your photo app honours the tag; plenty of upload forms and older programs do not. Rotating the file here bakes the correction into the pixels and removes the tag entirely, so both kinds of software end up showing the same thing.

Does rotating a JPG lose quality?

A 90° turn or a flip moves pixels without resampling them, so the geometry is lossless. Handing you back a JPG means re-encoding it, and that costs a small amount — unavoidable for any tool that returns a JPG. The part worth checking is whether the cost repeats. Here it does not: every render starts from the original image, so clicking rotate ten times still costs exactly one encode.

Can I rotate an image without uploading it anywhere?

Yes — that is how Rotate Image works by default, not as an option you have to find. The rotation happens on a canvas in your browser; no bytes leave your device. You can confirm it yourself — open your browser's network panel, drop an image in, rotate it, and watch nothing happen. Close the tab and the picture is gone.

How do I flip or mirror an image?

Flipping and mirroring an image are the same operation under two names. ⇄ Flip horizontal mirrors it left-to-right, ⇅ Flip vertical mirrors it top-to-bottom, and you can combine either with any rotation. Both buttons work on what you see on screen, so they behave the way you expect even after you have turned the photo onto its side.

Can I rotate a HEIC photo from my iPhone?

Not directly — no browser can decode HEIC, so nothing that runs in a tab can open one. Convert it with HEIC to JPG first, then bring the JPG back. Worth knowing generally: an iPhone picture saved with a .jpg extension is sometimes still HEIC inside, which is why this tool reads the file's actual header bytes instead of trusting the name.

Is there a limit on file size or resolution?

50 MB per file and 12,000 pixels on the longest side. Neither is a paywall — they are the practical limits of what a browser tab can decode and hold in memory. The preview on screen scales down to fit if your image is very large, but the download always renders fresh from the original at full size: an 8000 × 6000 photo turned right downloads as 6000 × 8000, even though you were looking at a 3072 × 4096 preview.