Rotate Image Online - 90 Degrees or Any Angle

Rotate photos by 90, 180, or any custom angle with automatic canvas resizing and your choice of background. Free, private, and browser-based.

🔄

Drop an image here or click to select

JPG, PNG, WebP

Rotate Images Online by Any Angle

This image rotation tool turns photos by exact quarter steps or any free angle between -180 and 180 degrees. Use the 90 degree clockwise and counterclockwise buttons for the common case of a sideways phone photo, or drag the fine angle slider to straighten a tilted horizon by just a degree or two. The canvas automatically grows to fit the rotated bounds, so no corner of your image is ever cut off.

Photographers straighten scans and fix camera tilt. Office workers correct sideways document photos before dropping them into reports. Sellers rotate product shots so items sit upright in listings. All rotation happens in your browser using the canvas API, and the before and after previews sit side by side so you can compare the result before downloading. Your photos never leave your device.

When you rotate by anything other than a multiple of 90 degrees, the rotated rectangle no longer fills the frame, which leaves empty triangles in the corners. You decide what fills them: keep them transparent for a PNG export, or pick any background color with the color picker. JPEG does not support transparency, so choosing JPEG automatically fills the background with your selected color instead.

The math behind the auto-resize is straightforward: the new width is the original width times the cosine of the angle plus the height times the sine, both taken as absolute values. A 45 degree rotation of a 1000 by 1000 pixel square therefore produces a roughly 1414 by 1414 canvas. For repeated small corrections, rotate once from the original rather than stacking multiple exports, since each re-save of a JPEG loses a little quality.

Need to mirror instead of rotate? Our Flip Image tool handles horizontal and vertical mirroring, including batches. And once your image is straight, the Image Cropper trims away edges and applies aspect ratio presets for social media formats.

How the Rotate Image Tool Works

  1. 01Upload a photo by dropping it on the page or clicking the upload area.
  2. 02Use the 90 degree and 180 degree buttons for quarter turns, or the slider for any fine angle.
  3. 03The canvas grows automatically to fit the rotated bounds; pick transparent or a background color.
  4. 04Compare before and after side by side, then download as PNG or JPEG with a quality slider.

Rotating and Straightening Photos Properly

Most rotation jobs fall into two groups, and each has its own best practice. The first is orientation fixing: a phone photo saved sideways needs exactly 90 or 180 degrees, and the quarter-turn buttons handle that losslessly in concept since no pixels are interpolated at right angles. The second is straightening: a horizon or document edge that is off by a few degrees. For that, use the fine angle slider in small steps and align a straight reference line in the photo with the frame edges. Anything beyond 3 or 4 degrees of correction crops noticeably once you trim the resulting empty corners, so reshoot if the tilt is extreme. Decide what fills the corners before exporting: transparency for PNGs that will sit on a colored page, or a background color sampled to match your document. JPEG cannot store transparency, so it always uses your chosen color. Rotate from the original file in one pass rather than saving intermediate JPEG versions, because every JPEG re-save quietly discards a little quality.

When to Use the Rotate Image Tool

Use it when a photo displays sideways or upside down after transfer from a phone or camera, when a scanned document came out rotated, when a horizon needs a few degrees of straightening, or when a design calls for artwork tilted at a deliberate angle. It also solves the classic email attachment problem: rather than telling the recipient to tilt their head, rotate the file once and send it correctly oriented.

Common Use Cases

  • Fixing sideways phone photos and scans with one-click quarter turns
  • Straightening tilted horizons and document edges with the fine angle slider
  • Tilting artwork at a deliberate angle for posters and social graphics
  • Mirroring images instead of rotating them Flip Image Online - Free Mirror Tool
  • Cropping away edges after straightening Image Cropper - Aspect Ratio Presets Free

Expert Tips

  • Straighten using a reference line in the photo, such as the horizon or a door frame, aligned with the image edge.
  • Rotate once from the original instead of stacking multiple JPEG exports; each re-save loses a little quality.
  • Pick a corner background color that matches the destination page so free-angle exports blend in seamlessly.

Frequently Asked Questions

Why does my image get bigger when I rotate it by a custom angle?→
A rotated rectangle needs a larger bounding box to fit without cropping. The canvas grows to exactly those bounds, so a 45 degree rotation of a square roughly multiplies each side by 1.41.
What fills the empty corners after a free-angle rotation?→
Your choice: keep them transparent for PNG export, or pick any background color. JPEG does not support transparency, so JPEG export always fills corners with the selected color.
Does rotating reduce image quality?→
Quarter turns (90, 180, 270) reorder pixels without interpolation. Free angles resample pixels once, which is visually lossless for a single pass. Avoid repeatedly saving and re-rotating JPEGs.
Are my photos uploaded anywhere?→
No. Rotation happens entirely in your browser on a canvas. The image never leaves your device.

Related tools

12 suggested