Rotate a photo in your browser
Phones and cameras sometimes save a photo sideways or upside-down, and some apps ignore the rotation information so the picture looks wrong everywhere else. This tool fixes that: rotate the image in 90-degree steps until it is the right way up, then download. It all happens in your browser, so the photo is never uploaded and the rotation is instant.
How the browser-based rotation actually works
Your image loads into an HTML canvas element directly inside your browser, and all the rotation happens there using JavaScript running entirely on your own device. Each 90-degree rotation redraws the image onto the canvas at its new orientation, swapping width and height as needed, and when you click Download, the browser generates a new image file from that rotated canvas. None of this ever involves a server - your photo is read, rotated, and saved back out, all without leaving your device at any point in the process.
Why phones often need this fix
Most phone cameras record a photo in its actual sensor orientation and separately store rotation metadata saying how it should be displayed, rather than physically rotating the pixel data itself. Well-behaved software reads that metadata and displays the photo correctly, but plenty of older tools, some messaging apps, and certain upload systems ignore it entirely, which is exactly why a photo can look perfectly upright in one app and sideways in another, even though it's the exact same file. This tool sidesteps that inconsistency by physically rotating the actual pixels, producing a result that displays correctly everywhere, regardless of whether the destination respects rotation metadata or not.
What you can do
- Rotate right or left - turn a sideways photo 90 degrees either way.
- Flip 180 degrees - turn an upside-down photo the right way up.
- Stack rotations - keep tapping to rotate further; the preview updates each time.
Quality is kept
Rotating by 90 or 180 degrees does not lose any image quality - the pixels are simply turned, not re-sampled or interpolated in any way, since a 90-degree rotation maps every original pixel to an exact new position without needing to blend or approximate anything. The download keeps your original file type, so a PNG stays a PNG with transparency and a JPG stays a JPG. The new width and height swap when you rotate by 90 degrees, which is exactly what you want for a photo that was taken in the wrong orientation.
Who actually needs this, and why
Anyone who's taken a photo with their phone held sideways and ended up with an image that displays rotated incorrectly in some apps or websites. People fixing a batch of old scanned photos that were digitized in the wrong orientation. Users wanting a quick, private way to correct orientation without opening full photo editing software for what's genuinely a simple, single-step fix.
Private and free
There is no upload, no account and no watermark, and nothing is stored. If you also need to flip a photo into its mirror image, use our Flip Image tool; to crop or resize afterwards, use our Crop Image or Resize Image tools.
Why free-angle rotation isn't offered here
This tool specifically rotates in fixed 90-degree steps rather than allowing an arbitrary angle, and that's a deliberate choice rather than a limitation: rotating by any angle that isn't a multiple of 90 degrees leaves the image's corners as empty, transparent triangles where the rotated rectangle no longer fills the original frame, which generally isn't what someone fixing a sideways photo actually wants. For straightening a slightly tilted horizon or correcting a small angle error, a different kind of tool built around cropping away those resulting empty corners would be the more appropriate choice; for the common case of a photo that's simply sideways or upside-down, 90-degree steps are exactly the right fix.
Stacking multiple rotations
Since each tap rotates the current state of the image rather than always rotating from the original, you can tap repeatedly to cycle through all four orientations - rotating left three times, for instance, produces the same result as rotating right once, giving you flexibility in how you reach the orientation you actually want without needing to think carefully about direction every time.
Working on a phone
Since this tool runs through standard browser technology, it works identically on a phone's browser as it does on a desktop - tapping the rotate buttons updates the preview instantly, making it a convenient way to fix a sideways photo directly from a phone's camera roll without installing a separate photo editing app.
File size after rotating
Rotating doesn't meaningfully change your image's file size, since the same number of pixels is simply rearranged into a new orientation rather than any content being added or removed. A small size difference can occasionally appear depending on how the output format's compression happens to encode the rotated arrangement, but this is a minor encoding detail rather than any real change in the photo's actual content or quality.
Checking your result before using it
After rotating, it's worth a quick glance to confirm the photo is genuinely right-side up and not accidentally over-rotated past the correct orientation - since each tap moves one step further, it's easy to go one rotation too far if you're clicking quickly, and catching that before downloading saves having to redo the whole process again from the original, unrotated file.
Rotating versus flipping: a quick distinction
Rotation turns an image around a central point, swapping width and height at 90-degree steps, while flipping creates a mirror image along a horizontal or vertical axis without changing the image's dimensions at all. These solve genuinely different problems - rotation fixes a photo that was captured in the wrong orientation, while flipping is for creating a mirrored version of an image that's already right-side up, such as correcting text that reads backward after being captured through a mirror's own reflection or a front-facing camera lens.