Skip to main content
PulsarKit

Rotate Image

Turn a photo 90, 180 or 270 degrees, or straighten it by any angle down to a tenth of a degree, right in your browser.

Drop your files here

.jpg, .jpeg, .png, .webp, .avif, .gif, .bmp · up to 100 MB

How to Rotate Image

  1. 1

    Drop your image

    Add one photo or up to fifty at once. Everything opens and runs inside this browser tab.

  2. 2

    Pick an angle

    Tap 90, 180 or 270 degrees for a quick turn, or switch to a custom angle and dial in anything from -180 to 180 with a 0.1 degree step.

  3. 3

    Download the rotated file

    Press the button and save the result. Several files come back together in one ZIP archive.

Two kinds of rotation, two kinds of math

Turning an image by exactly 90, 180 or 270 degrees is pure pixel rearrangement: every pixel lands on a new integer coordinate, nothing is blended, and the sides swap for 90 and 270. A custom angle is a different problem: most of the rotated pixels do not land on a clean grid position, so the browser blends neighboring pixels to fill in the gap. That is why smoothing is switched off for right angles, where it would only soften an already-perfect result, and switched on for arbitrary angles, where it prevents jagged edges.

What happens at the edges of a custom angle

Rotate a rectangle by 7 degrees and its corners no longer fit inside the original frame. Expand mode grows the canvas just enough to hold the whole rotated image, filling the new corners with a background color you pick, or leaving them transparent for PNG and WebP. Crop mode keeps the canvas at the original size and lets whatever rotates past the edge get cut off, which suits a case where you only need to straighten a slightly tilted horizon and do not want the canvas to grow at all.

Sideways photos and EXIF

Phone cameras save most photos sensor-side-up and record the actual orientation in an EXIF tag, which is why a portrait shot can look fine in one app and sideways in another that ignores the tag. This tool applies that tag before doing anything else by default, so the rotation you choose here starts from what you see, not from the raw sensor layout. Turning that behavior off is occasionally useful when a file's EXIF tag is already wrong and correcting for it would rotate the photo the wrong way.

Processed on your device, not on a server

Rotation happens entirely inside your browser tab using the Canvas API. Nothing is uploaded, there is no server-side queue, and no copy of your photo exists anywhere once you close the tab. That makes it a safe way to straighten scans of documents or photos you would rather not send anywhere else.

Frequently asked questions

Does rotating lose image quality?

A 90, 180 or 270 degree turn just rearranges pixels with no blending, so visually it is as clean as the source allows, though saving back to JPEG still means re-encoding, at quality 92 here, which is not the byte-for-byte lossless transform a tool like jpegtran performs. A custom angle always blends neighboring pixels to smooth the result, which is unavoidable whenever pixels do not land on a clean grid.

What happens to EXIF orientation?

By default the EXIF rotation tag is applied to the pixels before your chosen angle is added on top, and the tag itself is not written back into the result, so nothing gets rotated twice by a viewer that also reads EXIF. Turn this off if a file's tag is already known to be wrong.

Why does my photo already look sideways before I do anything?

Most cameras and phones store the sensor's raw pixel layout and rely on the EXIF orientation tag to display it right-side up. Some viewers respect that tag and some do not, which is why the same file can look correct in one app and sideways in another.

What is the difference between expand and crop mode?

Expand grows the canvas so the whole rotated rectangle fits, filling new corners with a background color or transparency. Crop keeps the original canvas size and lets anything that rotates past the edge get cut off, which is better for small straightening adjustments where you do not want the image to grow.

Can I rotate by just a few degrees to straighten a photo?

Yes. Switch the angle to custom and type any value from -180 to 180 in steps of 0.1 degrees, which is precise enough to level a tilted horizon.

How many files can I rotate at once?

Up to fifty files in one batch, all rotated by the same angle. Results come back as a single ZIP archive, and one broken file in the batch does not stop the rest from processing.

Does transparency survive the rotation?

Yes, for PNG and WebP. Their alpha channel rotates along with the color data, and in expand mode the newly created corners stay fully transparent instead of getting a background fill.

How is this different from flipping?

Rotating turns the whole image around a center point by an angle; flipping mirrors it across an axis without turning it. A selfie that reads backwards needs a flip, not a rotation. The two tools are meant to be used together when a photo needs both.

Why do GIF and BMP files come back as PNG?

Browsers can read GIF and BMP files but cannot write new ones, because there is no encoder for those formats in the Canvas API. The rotated result is saved as a PNG instead, which is lossless and keeps any transparency the source had.

Related tools