# Rotate Image Online

> Rotate a photo right, left, upside down or by any angle in tenths of a degree. Alignment grid for horizons, corner fill, mirroring and batch ZIP export.

URL: https://agtux.com/en/rotate-image/  
Updated: 2026-11-18

Tools are interactive browser apps; there is no public API, no endpoints to call and no server-side processing. To use a tool, open its HTML page in a browser.

Rotate an image for one of two reasons. A turn of 90 or 180 degrees fixes a photo that lies on its side or stands upside down. A turn of a fraction of a degree straightens a tilted horizon or a scan that went in crooked. This tool does both, for one file or for a batch. Images are processed in your browser and are not sent anywhere.

## How to rotate a photo

1. Drag your images onto the page or click **Browse files**. JPG, PNG, WebP and GIF are supported.
2. For a right angle use a quick preset: **Rotate right**, **Rotate left** or **Upside down**.
3. For any other angle, type a value from −180 to 180 degrees, move the slider, or drag across the preview with a mouse or a finger. Positive values turn the image clockwise.
4. Choose the output format and apply the settings to the batch. Download the results one at a time or as a ZIP.

Every file in the list also has its own rotate left and rotate right buttons, which helps when only a few photos in a batch are wrong.

## Why phone photos show up sideways

When you shoot in portrait, a phone usually does not rotate the image data. It stores the picture as the sensor sees it and adds an orientation tag to the [EXIF](https://en.wikipedia.org/wiki/Exif) metadata. Most software respects the tag and displays the photo upright. Some older viewers, content management systems and online shops ignore it, and the photo appears lying down.

The **Straighten by EXIF** preset reads the tag and physically rotates the pixels to match. The new copy no longer depends on metadata, so it looks the same everywhere.

## Straighten a horizon in tenths of a degree

A sloping sea or a leaning building is usually a matter of one to three degrees. Turn on **Show alignment grid** and change the angle until the horizon runs parallel to one of the lines. A step of one tenth of a degree is fine enough even for a long straight edge across the whole frame.

A scan or a photographed document is straightened the same way. Follow a line of text or the edge of the paper. PDF files are not supported; the scan has to be saved as an image.

The opposite case is a deliberate tilt of 10 to 20 degrees, known in film as a [Dutch angle](https://en.wikipedia.org/wiki/Dutch_angle). It adds tension and a sense of movement.

## What to do with the empty corners

As soon as you rotate by anything other than a right angle, empty triangles appear in the corners. **Corner fill** offers five ways to handle them:

- **Transparent**, if you save as PNG or WebP. JPG cannot store transparency.
- **White**, **Black** or a **Custom color**, for example the background of the page where the image will be placed.
- **Blurred edge extension**, which fills the corners with a blurred continuation of the photo. On landscapes and plain backgrounds it is close to invisible.

The other route is **Auto-crop empty corners**. The result is a clean rectangle with no fill, but you lose a strip around the edge. The larger the angle, the more is cropped. At two degrees the loss is small; at fifteen it is noticeable.

The settings also include **Mirror**, horizontally and vertically.

## Does rotating reduce quality?

It depends on the angle and on the format.

| Operation | What happens to the pixels |
| --- | --- |
| 90°, 180°, 270° | pixels are only rearranged, nothing is recalculated |
| custom angle | every pixel is interpolated from its neighbors, the image softens slightly |
| saving as PNG | no further loss |
| saving as JPG or WebP | recompressed at the chosen quality |

The practical rule: straighten once, and from the original. Three small corrections in a row soften a photo more than one accurate correction. An animated GIF is saved as a static PNG.

A rotated photo can go straight on to the [image resizer](https://agtux.com/en/resize-image/) or be [converted to grayscale](https://agtux.com/en/grayscale-image/).

## Frequently asked questions

### How do I rotate multiple images at once?

Add them together, set the angle and apply it to the batch. Every file receives the same rotation. Fix the exceptions with the buttons next to individual files and download everything in one ZIP.

### How do I rotate an image 90 degrees without losing quality?

Use the Rotate right or Rotate left preset and save as PNG, or as JPG at 95% quality or higher. A right-angle turn does not resample the picture; only the new compression can reduce quality.

### Can I flip or mirror an image here?

Yes. Horizontal and vertical mirroring is available in the settings and can be combined with rotation.

### Does it work on a phone?

Yes. You can fine-tune the angle by dragging a finger across the preview and pick photos directly from your gallery.

### How large an image can I rotate?

The limit is set by the memory of your device and by the browser. If a very large photo fails to process, try a smaller batch or resize it first.

## Other languages

- Čeština (cs): [Otočit obrázek online](https://agtux.com/cs/otocit-obrazek/) ([Markdown](https://agtux.com/cs/otocit-obrazek/index.md))
