Free Tool Desk

Image Rotator

Rotate a JPG, PNG or WebP by 90° clockwise, 90° counter-clockwise or 180°. JPG and WebP are re-encoded at quality 85.

Free to use No sign-up required Files deleted after processing

This tool turns a JPG, PNG or WebP by 90° clockwise, 90° counter-clockwise or 180°. There are no custom angles. A 90° turn swaps the width and height. JPG and WebP are re-encoded at quality 85, and a phone photo's stored rotation flag is applied before your rotation, so the turn is relative to what a viewer shows, not to how the pixels happen to be stored.

Accepts JPG/PNG/WEBP · up to 20 MB each

Choose a file before converting.

Processing your file…

This usually only takes a moment.

Your file is ready

Download Result

Your file is processed on our server and deleted automatically afterward — see the privacy note below.

Overview

About Image Rotator

The three rotations

ButtonWhat happensA 1200 × 800 image becomes
90° ClockwiseThe top of the picture ends up on the right800 × 1200
90° Counter-ClockwiseThe top of the picture ends up on the left800 × 1200
180°The picture is upside down, not mirrored1200 × 800

To turn a picture 270° clockwise, choose 90° counter-clockwise once. Doing three clockwise turns would re-encode a JPG three times for the same result. Straightening a slightly tilted horizon, or any angle such as 15°, is not supported; it would need cropping or blank corners. If you want a mirror image, that is a different operation: use the image flipper.

Sideways phone photos and EXIF orientation

A phone usually stores a photo's pixels in one fixed direction and records an EXIF orientation flag. Viewers that read the flag turn the picture for display, so the photo looks upright. Software that ignores the flag, which includes some websites and upload forms, shows the stored pixels, so the photo appears sideways.

This tool reads the flag when it opens a JPG and applies it, then rotates what you would see. The result has upright pixels and no flag. We tested JPGs stored at 600 × 400 with a red block in one corner and rotation flag 6, which a viewer displays at 400 × 600 with the block at the top right. After 90° clockwise the block was at the bottom right and the file was 600 × 400, so the rotation followed the viewed picture, not the stored one. The flag is applied to JPG files only: PNG and WebP files that carry one have it dropped without being applied.

That has a practical consequence. If a photo looks upright on your computer but sideways after upload, you do not need a rotation, you need a copy whose pixels already match the flag. This tool always adds a turn of its own, but the JPG compressor (quality 75) and the JPG to PNG converter (lossless, larger file) both write upright pixels with no flag and add no turn.

Rotating or removing metadata

Rotating removes EXIF, GPS and colour-profile data as a side effect of re-saving, but it is the wrong tool if privacy is your only goal. The Image Metadata Remover removes the same fields without re-encoding the picture and keeps the rotation flag, so the photo does not turn sideways. Use that when you only want the data gone, and this when you want the picture turned. To check the new width and height afterwards, the Image Dimensions Checker shows them.

What happens to quality

  • JPG is saved again at quality 85 with colour detail at half resolution (4:2:0). Rotation here is not lossless, and every run re-encodes the file. Four 90° turns return a picture to its original orientation, but they are four JPG re-saves and the result is not the same file.
  • PNG stays exact. In our test of a transparent logo, every alpha value and visible colour matched the rotated original. Because the angles are all multiples of 90°, no blank corners are added.
  • WebP is saved again as lossy WebP at quality 85, even when the source was lossless, and transparency is kept.

In our test a generated 1200 × 800 JPG saved at quality 95 (397.4 KB) came out at 203.0 KB after a 90° turn in either direction and 186.9 KB after 180°. A transparent PNG logo went from 7.1 KB to 8.5 KB. Generated locally; not a benchmark; not a guaranteed result.

If you are choosing which format to keep after rotating, the JPG vs PNG vs WebP guide compares them.

Compatibility

Supported Formats

Accepts JPG/JPEG, PNG and WebP (static). Output is the same format as the input. GIF and animated WebP are not supported, and an animated PNG returns its first frame only. Limits: 20 MB per file, 12,000 px per side and 40 megapixels. One file is rotated at a time.

Guide

How to Use Image Rotator

  1. Choose a JPG, PNG or WebP (up to 20 MB).
  2. Pick "90° Clockwise", "90° Counter-Clockwise" or "180°". An angle must be chosen before the button works.
  3. Click "Rotate Image" and download the result, named after your original with "-rotated" added.

Highlights

Features

  • Exact right angles only Turns of 90° and 180° map every pixel cleanly. There are no blank corners and no cropping.
  • Follows the picture you see A stored EXIF rotation is applied to JPG pixels first, so a sideways phone photo is turned from how it looks in a viewer.
  • PNG stays exact A PNG keeps every visible colour and alpha value. JPG and WebP are re-encoded at quality 85.

Applications

Use Cases

  • Turning a scan or photo that was captured on its side
  • Making a landscape picture portrait for a form or layout that expects it
  • Correcting an upside-down image from a scanner or document camera
  • Turning a transparent PNG logo for a different placement without losing its edges

Good to Know

Limitations

Only 90° clockwise, 90° counter-clockwise and 180° are supported, with no custom angles. JPG and WebP are re-encoded at quality 85, so rotation is not lossless for them, and a lossless WebP is saved as lossy. There is no option to apply the stored orientation without also turning the picture. EXIF, GPS and embedded colour profiles are removed, and a rotation flag is applied to JPG files only. Animated PNG files lose every frame after the first, and GIF is not accepted.

Files are processed on our servers and are not shared with third parties. Files are deleted as soon as processing or download finishes. Any leftover temporary file is removed automatically by our cleanup process within the configured retention period (60 minutes). See our Privacy Policy for full details.

Support

Frequently Asked Questions

Which way is 90° clockwise?

The picture turns the way a clock's hands move: the top edge moves to the right and the right edge moves to the bottom. 90° counter-clockwise does the opposite. A 90° turn also swaps the width and height.

Why does my photo look upright on my computer but sideways after I upload it?

The pixels are stored sideways and an EXIF flag tells some programs to turn them. Sites that ignore the flag show the stored pixels. This tool applies the flag to JPG pixels when it opens a file, but it also adds your chosen turn, so use the JPG compressor or JPG to PNG converter to apply the flag without turning the picture.

Does rotating reduce image quality?

PNG stays exact. JPG is re-encoded at quality 85 and WebP is saved as lossy WebP at quality 85, so each run costs a little. Choose the final angle once, for example 90° counter-clockwise instead of three clockwise turns.

Can I rotate by a custom angle such as 15°?

No. Only 90° clockwise, 90° counter-clockwise and 180° are available. An arbitrary angle would require cropping the picture or adding blank corners, and neither is offered here.

Should I use the rotator or the Image Metadata Remover?

Use the rotator to turn the picture. Use the Image Metadata Remover to delete EXIF and GPS data without re-encoding the picture; it keeps the rotation flag, so the photo does not turn sideways. Rotating also removes the metadata, but it re-encodes JPG and WebP.

Keep Going

Related Tools