Rotate an image

Runs on your device · Your file never leaves your device.

Turn a picture a quarter turn either way, upside down, or by a precise angle from −45° to 45° to straighten a horizon or a scanned page. Add several photos at once and they all turn the same way, coming back as one ZIP.

Phones record which way the camera was held in the photo’s EXIF tag rather than turning the pixels, which is why a picture that looks upright on the phone appears sideways on a website or in a form. This tool applies that tag first and then your rotation, so the preview shows the upright picture and the saved file is stored upright in its pixels — so it shows upright even in software that ignores the tag.

For a fine angle you choose what happens to the corners: expand the canvas so nothing is cut off, or keep the original size and let the tips of the photo fall outside the frame. Either way the empty corners are filled — transparent in PNG and WebP, white in JPG — and the Crop image tool trims them if you need a clean rectangle. Everything runs on your device.

How to rotate an image

  1. Add one photo or a batch.
  2. Press 90° left, 90° right or 180°, and drag the fine-angle slider to straighten if needed; choose whether to expand the canvas or keep the frame.
  3. Press Rotate and download the image, or the ZIP for a batch.

Supported formats and limits

Input
JPG, PNG, WebP, HEIC, GIF, BMP, AVIF
Output
JPG, PNG and WebP keep their format; HEIC, BMP and AVIF → JPG; GIF → PNG (first frame). Upright pixels, no orientation tag needed
Angles
90° left / right, 180°, and any angle from −45° to 45°
Batch
Yes — one ZIP
Where it runs
In your browser; nothing uploaded

Not for: Rotating a PDF page or a video — those are the Rotate PDF tool and the video converter.

Straightening a photo by a few degrees

The fine-angle slider moves in whole degrees from −45 to 45. Positive values turn the picture clockwise, negative values anticlockwise, and the angle is added to any quarter turn you pressed, so a photo can be stood upright and levelled in one pass. The preview shows the result, not the original, so watch a line that should be level, such as a horizon, a table edge or the top of a scanned page, and stop when it is.

Any angle that is not a multiple of 90° leaves empty triangles at the corners, and the two corner options decide what happens to them. Expand the canvas makes the picture larger so that every original pixel stays: a 4000 × 3000 photo turned by 3° becomes 4152 × 3205. Keep the frame holds the original 4000 × 3000, so the tips of the photo are cut off, but the empty triangles are still there, now inside the frame. Neither option trims them. For a clean rectangle, straighten here, then cut the triangles away with /crop-image.

When a photo looks upright here but sideways elsewhere

The tool applies the phone's orientation tag before it shows the photo, so you see it the way the phone shows it. Press only the turn that is still needed after that. The line under the preview gives the output width and height, which swap after a quarter turn.

If the picture already looks right here, there is nothing to turn: the button then reads Save upright, and pressing it writes a copy whose pixels are stored the way you see them, with nothing else changed.

Rotating a batch

Every ticked photo receives the same quarter turn and the same angle. Each one is first set upright by its own tag, so it is turned from the way it looks, not from the way the camera stored it. The preview and the size line show only the first ticked photo, so a batch that mixes portrait and landscape pictures, or pictures that need different turns, is easier done in groups: untick the ones that need something else, rotate, then tick the next group.

Each file keeps its format and gets “-rotated” added to its name; several files arrive together in rotated-images.zip. If a photo in the batch cannot be opened or saved, it is left out and named in a message, and the others are still saved. Which formats change on saving, such as a GIF becoming a PNG, is explained on /crop-image, which uses the same engine.

Frequently asked questions

Are my files uploaded to a server?
No. This conversion runs inside your browser using your own device’s processing power, and the file is not uploaded. Once a tool has been used once (video, text recognition and background removal download their engine from this site the first time), it keeps working when your connection drops.
Why does my photo show sideways after uploading it somewhere?
The pixels were saved sideways with an orientation tag telling viewers to turn them. Some websites and forms ignore the tag. Rotating here rewrites the pixels themselves, so the picture is upright without any tag. If it already looks upright here, press Save upright without turning it.
Does rotating by 90° lose quality?
The pixels are moved, not resampled, so nothing is blurred. A JPG is re-encoded at the quality you set — 92% by default, a high setting. A fine angle does resample, as any rotation by a non-right angle must.
Can I rotate several photos at once?
Yes. Add the whole batch, untick any you do not want, choose the rotation and download one ZIP.

Related tools

More in Images

This page in other languages: العربية · Deutsch · Français · Español · Русский · Português · 中文 · हिन्दी · Türkçe · עברית · فارسی · اردو · Bahasa Indonesia · বাংলা