Image rotate & flip
Batch-rotate images by 90°, 180° or any angle and flip them horizontally or vertically
Choose the rotation and flips, then drop or choose images. Changing options reprocesses automatically; download single files or a ZIP when done.
| File | Original | Result | Change | Actions |
|---|
Comparison
Example
Input
sample.png (generated, 1200×800) · 90° clockwise
Example result
sample-rotated.png · 800×1200 · PNG
A 90° rotation swaps width and height. At a custom 15°, the canvas grows to 1367×1084 and the corners stay transparent or take the fill color.
Technical details & limits
Rotations by multiples of 90° and flips only move pixels: each one maps to whole-pixel coordinates without interpolation, so PNG output matches the original pixels exactly. Custom angles use Canvas high-quality interpolation, and the canvas expands to the rotated bounding box: width × |cos θ| + height × |sin θ| by width × |sin θ| + height × |cos θ|, rounded up. Flips are applied before rotation. Results are re-encoded without EXIF; lossless jpegtran-style JPEG rotation is not offered.
About this tool
Batch-rotate and flip images locally in your browser. Rotate 90° clockwise or counterclockwise, 180°, or any custom angle, and mirror horizontally or vertically at the same time. For custom angles the canvas expands automatically, with transparent or color-filled corners. EXIF orientation from phone photos is applied to the pixels first, so results no longer depend on an orientation tag. Comparison preview, single downloads and a ZIP bundle are included.
How to use
- Drop, choose or paste images, up to 30 at a time.
- Choose a rotation or enter a custom angle, and tick horizontal or vertical flip if needed.
- Set the output format and background, then download single files or a ZIP.
Input & output
- Input
- JPEG, PNG, WebP, AVIF, BMP and GIF (first frame); up to 30 files, each at most 50 MB and 50 megapixels.
- Output
- Rotated or flipped JPEG, PNG or WebP files, downloadable singly or as a ZIP.
- Limits
- Custom angles from −359.9° to 359.9° in 0.1° steps; blank corners are not cropped automatically; metadata and animation are not kept.
Notes
Positive angles rotate clockwise. To only bake in a phone photo's EXIF orientation, choose No rotation and export as PNG or at high quality.
FAQ
- Why does my phone photo appear sideways on a computer?
- Usually the photo carries an EXIF orientation tag, with values from 1 to 8, that the viewing software ignores. This page applies that tag to the pixels while decoding and writes the result without any orientation tag. Choose No rotation to simply bake in the correct orientation, and if the image is still sideways in your target app, rotate it a further 90° here.
- Why are there blank corners after rotating by a custom angle?
- The canvas grows to the rotated bounding box so that no part of the picture is cut off. For example, a 1200×800 image rotated by 15° becomes 1367×1084 pixels. The extra corner areas stay transparent in PNG or WebP output when transparency is ticked, while JPEG, which has no alpha channel, fills them with the chosen background color. Crop afterwards if you want them removed.
- Does rotating an image by 90 degrees reduce its quality?
- The pixels themselves are not degraded. Rotations by multiples of 90° and flips only rearrange pixels without interpolation, so PNG output matches the original pixels exactly. JPEG output is re-encoded at the default quality of 92, which adds slight compression loss. Custom angles such as 15° require interpolation, so fine edges become a little softer than they were in the original.
Related tools