UtilityKit

500+ fast, free tools. Most run in your browser only; Image & PDF tools upload files to the backend when you run them.

Image Rotate Tool

Rotate images 90° CW, 90° CCW, or 180° in your browser. Canvas-based, instant PNG download.

About Image Rotate Tool

The Image Rotate Tool allows you to rotate any image by 90° clockwise, 90° counter-clockwise, or 180° directly in your browser. Built on the HTML5 Canvas API, it correctly swaps width and height dimensions when rotating by 90°, ensuring the output image is properly sized. This is useful for fixing photos taken in the wrong orientation, correcting scanned documents, or preparing images for web use. Upload your file, click the rotation buttons as many times as needed, and download the result as a PNG.

Why use Image Rotate Tool

  • Fixes wrongly-oriented phone photos without any app install
  • Handles dimension swaps correctly when rotating 90° — canvas dimensions update automatically
  • No server upload — all processing happens in your browser
  • Shows pixel dimensions live so you know the exact output size
  • No app install, no upload — fixes orientation faster than opening a desktop image editor.
  • Cumulative click tracking means you cannot accidentally over-rotate or lose track of your position.

How to use Image Rotate Tool

  1. Upload your image using the file picker
  2. Click '90° CW' to rotate clockwise, '90° CCW' for counter-clockwise, or '180°' for a half turn
  3. Chain multiple clicks to reach any multiple of 90°
  4. The canvas preview updates immediately after each click
  5. Click 'Reset' to return to the original orientation
  6. Click 'Download PNG' to save the rotated image
  7. Use the canvas dimension footer to confirm the output size matches your target resolution.

When to use Image Rotate Tool

  • When a photo taken in portrait mode appears landscape in your browser or editor
  • When a scanned document needs to be rotated to the correct reading orientation
  • When preparing thumbnails or hero images that need rotation before upload
  • When checking a design asset in multiple orientations
  • When preparing OCR input where wrong orientation defeats text recognition.
  • When stitching multiple photos into a panel and one has the wrong rotation flag in its EXIF data.

Examples

Sideways phone photo

Input: A 4032x3024 JPEG photo taken in portrait that displays as landscape in your editor

Output: A 3024x4032 PNG correctly oriented portrait

Upside-down scan

Input: A 2480x3508 PDF page exported as PNG fed into the scanner upside down

Output: A 2480x3508 PNG rotated 180 degrees for correct reading

Receipt image

Input: A 1500x2000 photo of a receipt rotated 90 degrees CCW from the desired orientation

Output: A 2000x1500 PNG rotated 90 degrees clockwise

Tips

  • Click the 90-degree button four times to return to the exact original orientation — internal rotation tracking is modulo 360.
  • Rotate before applying borders or polaroid frames so the framing matches the corrected orientation.
  • For free-angle rotation (e.g. 45 degrees), this tool is limited to 90-degree increments — use it as a fast preprocessor for orthogonal corrections.
  • If you need a flipped image in addition to rotation, run the Image Mirror & Flip tool on the rotated PNG.
  • Large rotations swap width and height — verify the output dimensions in the canvas footer before downloading.

Frequently Asked Questions

Does this tool support formats other than PNG output?
The tool currently downloads as PNG to guarantee lossless quality. For JPG output, use the Image Compress or Convert tools.
Does rotating 90° change the image dimensions?
Yes. When you rotate by 90° or 270°, width and height are swapped. The canvas is resized accordingly so the image fits perfectly.
Is the original image file modified?
No. The tool only reads your file and draws it on a canvas in-browser. The original file on your device is never changed.
Can I rotate more than 360°?
Internally the tool tracks cumulative rotation modulo 360°, so clicking 90° CW four times returns you to the original.
What is the maximum image size?
There is no hard limit, but very large images (above 20 megapixels) may be slow due to browser canvas memory constraints.
Why is there no JPG or WebP download option?
PNG is lossless, so rotated images maintain maximum quality. You can convert the downloaded PNG using the Image Convert tool.
Why does my phone photo appear rotated when uploaded?
Many phone cameras embed an EXIF Orientation tag rather than physically rotating the pixels. Browsers may or may not honor this. Rotating with this tool bakes the correct orientation into the pixel data so it displays consistently everywhere.
Can I rotate by an arbitrary angle (e.g. 45 degrees)?
No, only orthogonal rotations are supported here. Arbitrary angles introduce resampling artifacts and require a different tool with anti-aliasing.

Explore the category

Glossary

Cardinal rotation
Rotation by an exact multiple of 90 degrees — guaranteed to keep pixels axis-aligned and avoid resampling.
Canvas transform
A 2D affine matrix applied to a Canvas drawing context that translates, rotates, or scales subsequent pixel operations.
Modulo arithmetic
Wrapping a number after a fixed range — used here so cumulative rotation stays within 0–359 degrees.
Bounding box
The smallest rectangle that contains the rotated image — equal to the original size for 180 degrees and to the swapped dimensions for 90 degrees.
Lossless compression
An encoding (such as PNG) that preserves the exact pixel values — used for rotated outputs to avoid quality drift.
Megapixel
One million pixels — used to estimate canvas memory load when rotating very large images.