More games at WuGames.ioSponsoredDiscover free browser games — play instantly, no download, no sign-up.Play

Rotate Image

Rotate images by 90°, 180° or 270° online. Free image rotator to fix orientation or create effects. Fast and easy in your browser.

Drag & drop an image here
or click to browse
Choose an image file to rotate
Rotation Options

About Image Rotation

Image rotation is a transformation that turns an image by specific angles (90°, 180°, 270°, 360°). This tool provides an easy way to rotate images online without any software installation, perfect for correcting orientation or creating artistic effects.

How do I rotate an image without quality loss?

For JPEGs, use "lossless JPEG rotation" — re-encoding that rotates the underlying 8×8 DCT blocks without decompressing and recompressing the entire image. This avoids the generation loss that hits every normal JPEG save. The catch: it works only for 90°, 180°, and 270° rotations and requires image dimensions that are multiples of 8 (or 16 for 4:2:0 chroma subsampling). Most phone cameras already shoot in 8-aligned dimensions, so lossless rotation is usually possible. For PNG, WebP-lossless, AVIF-lossless, and TIFF, every rotation is lossless because pixels are stored exactly — you can rotate to any angle without quality loss in those formats. For arbitrary angles (15°, 23°, etc.), rotation involves resampling pixels, which always introduces some softening — choose a high-quality interpolation method (bicubic or Lanczos) and rotate only once from the original.

What's the difference between rotating with the EXIF orientation flag versus actually rotating pixels?

The EXIF orientation flag is a tag (values 1-8) that tells viewers how to display the image, without modifying the underlying pixels. Setting orientation=6 means "display this rotated 90° clockwise" — modern apps (iOS Photos, macOS Preview, Chrome, Firefox) honor this and show the image upright. The pixels themselves remain in sensor orientation. This is fast (no data rewrite), perfectly lossless (no pixels touched), and reversible (change the flag back). The downside: older tools, server-side image processors (ImageMagick by default), and many programming libraries ignore the flag and show pixels in raw orientation — making the image appear sideways. Actually rotating pixels permanently corrects display in every tool but requires a JPEG re-encode. Modern best practice: rotate pixels for compatibility and reset orientation flag to 1, so it works everywhere.

Can I rotate by arbitrary angles like 15° or -30°?

Yes, but with consequences. Rotating by 90°, 180°, or 270° preserves all pixels in a perfect grid — no resampling needed, the operation is bit-exact. Rotating by any other angle (1°, 7°, 45°, etc.) maps source pixels onto a rotated grid that doesn't align — every output pixel must be calculated by interpolating from 4 or more source pixels using bilinear, bicubic, or Lanczos algorithms. This produces visible softening (especially at sharp edges and small text) and adds transparent or solid-color triangles at the corners. Repeated arbitrary rotations compound the softening — rotating 1° ten times is far worse than rotating 10° once. For straightening crooked horizons, rotate once at maximum quality, then crop to remove the corner artifacts. For 45° rotations specifically, the canvas grows by √2 ≈ 1.414× in each dimension — plan for the larger output.

Why does my rotated image look blurry compared to the original?

Two causes. First, any non-90°-multiple rotation requires pixel resampling, which inherently softens edges — there's no way to perfectly map a rotated grid back to integer pixels without interpolation. The interpolation method matters: nearest-neighbor preserves sharpness but produces jagged edges; bilinear is fast but soft; bicubic is the standard balance; Lanczos (typically 3-lobe) is the highest quality but slowest. Second, if your source is a JPEG and you save the rotated version as JPEG, the second JPEG encoding adds compression artifacts on top of the resampling softness. To preserve quality: rotate from the highest-quality source available (RAW > PNG > high-quality JPEG > low-quality JPEG), use Lanczos interpolation, and save as PNG or high-quality JPEG (quality 95+). If the rotation is a 90° multiple and your source is JPEG, use lossless JPEG rotation specifically to avoid any softening.

Rotate Image — Rotate images by 90°, 180° or 270° online. Free image rotator to fix orientation or create effects. Fast and easy in you
Rotate Image

What happens to image dimensions and aspect ratio when I rotate?

For 90° and 270° rotations, width and height swap — a 4000×3000 portrait becomes a 3000×4000 landscape, aspect ratio inverts. For 180°, dimensions stay the same. For arbitrary angles, the bounding box of the rotated content is larger than the original: rotating a 1000×1000 square by 45° produces a bounding box of about 1414×1414 (with the original square inscribed inside, corners filled with transparency or solid color). Most rotation tools offer two output modes: "fit" (expand canvas to contain the entire rotated image, adds padding) or "crop" (keep original canvas size, lose rotated corners off-screen). Choose "fit" to preserve all content; choose "crop" when you'll re-crop anyway. EXIF dimensions update automatically; if you're using EXIF orientation flag instead of actually rotating, the stored dimensions stay in sensor orientation but the display dimensions appear swapped to compliant viewers.

How do I rotate hundreds of photos at once based on EXIF orientation?

This is called "normalizing orientation" and is a common pre-processing step before uploading to websites that ignore EXIF (older WordPress, custom CMS, server-side thumbnail generators). Tools that do this in batch: exiftool with -AutoRotate, ImageMagick with -auto-orient, jpegtran for lossless JPEG rotation, Lightroom Export with "Apply EXIF Orientation" enabled, and most pro photo managers. The operation reads the EXIF orientation tag (1-8), rotates the pixels to match (lossless if dimensions are 8-aligned), then resets the tag to 1. After processing, the image displays the same way in every tool regardless of EXIF support. For very large batches, jpegtran is the fastest option (handles thousands per second on modern hardware) and is truly lossless. This tool processes images one at a time through the web interface; for thousands, use a desktop CLI tool with the same orientation-normalization logic.

Can I rotate animated GIFs or videos with this tool?

This tool rotates still images (JPEG, PNG, WebP, AVIF, HEIC). Animated GIFs are technically a sequence of frames — rotating requires applying the same rotation to each frame and re-assembling the animation, preserving frame delays, loop count, and disposal methods. Most basic rotation tools handle only the first frame, producing a broken or static GIF as output. For animated GIF rotation, use specialized tools like ezgif.com's GIF rotator, ImageMagick's mogrify -rotate (with proper layer handling), or video editors that import GIF sequences. For videos (MP4, WebM, MOV), use FFmpeg with the transpose or rotate filters — FFmpeg can perform lossless rotation by adjusting only the video container's rotation metadata (similar to EXIF orientation) without re-encoding frames, preserving the original quality. For HEIC Live Photos, only the still frame rotates; the embedded video component requires separate handling.

Why do some apps still show my rotated image in the original orientation?

Three likely causes. First, the app may not have been updated after you rotated — clear its cache, scroll past the image, or restart the app to force a re-read of the file. Second, the rotation may have been applied via EXIF orientation flag rather than actually rotating pixels, and the app ignores EXIF orientation — this is common for older image viewers, some browsers in iframes, and many server-side image processors. Third, the app may cache thumbnails separately from the full image; the thumbnail (often generated on first import) shows the original orientation while the full view shows the rotated version (or vice versa). To force universal correctness: actually rotate the pixels (not just the EXIF flag), reset orientation to 1, re-export the file with a new filename to bust caches, and re-upload. Cloud services (Google Photos, iCloud) typically re-process rotated uploads and regenerate thumbnails automatically within minutes.