inyourbrowser.com

Rotate Image 180°

Flip your image upside down in one click. Works on JPEG, PNG, WebP and more. 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 the same size as your image, moves the origin to its center with translate(), turns it with rotate(Math.PI) and draws your image, so the width and height stay the same. 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

What does 180° rotation do?
It turns the image upside down, equivalent to flipping both horizontally and vertically.
Will quality be affected?
Quality is preserved with the default output: the canvas re-renders the image as PNG, which is lossless. Choosing JPG re-encodes it at quality 0.92.
Does a 180° rotation change the image size?
The width and height stay the same. Only 90° and 270° rotations swap them.
Where does the rotation happen?
In your browser. The Canvas API redraws the image in this tab, and the file is saved only when you click Download. Our servers are not involved at any point.

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.