inyourbrowser.com

Rotate Image 90°

Rotate your image 90° clockwise. The rotated result appears as soon as the image loads; click Download to save it. All processing runs in your browser.

Drop an image or click to choose

JPG, PNG, or WebP, up to 50 MB. Runs in your browser.

OPERATION

FORMAT

Runs entirely in your browser

How it works

The tool makes a canvas with the width and height swapped, moves the origin to its center with translate(), turns it with rotate(Math.PI / 2) and draws your image, so a 4000 x 3000 photo comes out 3000 x 4000. PNG output is lossless; JPG is encoded at quality 0.92 with transparent areas filled white.

Processing runs in your browser

All transformations are applied using the Canvas API inside your browser. Our servers are not involved at any point.

Related operations

To trim a rotated photo to a clean frame, try image crop. For resizing a rotated image to fit a target, use resize image. To save the rotated result in a different format, see the image converter.

Frequently asked questions

Does rotating reduce quality?
Quality is preserved: the output is a lossless PNG by default, so there is no quality loss. Choosing JPG re-encodes the image at quality 0.92.
Is my image uploaded?
All processing runs in your browser using the Canvas API.
Can I rotate JPEG, PNG, and WebP?
Yes. You can load JPEG, PNG, WebP and most other image formats your browser can open, except SVG. The result downloads as PNG or JPG.
Which way does the 90° rotation turn the image?
Clockwise: the top edge moves to the right, and the width and height swap. Use the 270° page for a quarter turn the other way.

Last reviewed September 30, 2026

Other pages for this tool

Related tools

Crop image
Crop images to any size, square, or circle shape. Canvas API. Runs in your browser.
Favicon generator
Generate favicon PNGs in 16, 32, 48, 64, 192, and 512 pixel sizes from any image. Runs in your browser.
Rotate PDF
Rotate or flip PDF pages 90°, 180°, or 270°. Adjust individual pages or all at once.