Rotate Images Online
Rotate JPG, PNG or GIF images. Rotate landscape or portrait images.
Drop images here or click to upload
Supports JPG, PNG, GIF, WEBP, SVG
How Image Rotation Works
Rotating an image means turning every pixel around a fixed center point by a chosen angle, measured in degrees. The Rotation Angle control here accepts any value, not just the 90-degree steps you get from a simple "rotate left/right" button — you can enter something like 3.5 degrees or -12 degrees to nudge a photo into alignment instead of only spinning it in quarter turns. The angle you enter is measured clockwise from the image's current orientation, so a positive number rotates clockwise and a negative number rotates counterclockwise. Because decimal values are accepted, you have enough precision to correct a photo by something as small as half a degree, which is usually all a handheld shot needs to look level. What happens to the canvas depends on the angle. When you rotate by an exact multiple of 90 degrees (90, 180, 270), the image's four corners land exactly where a straight rectangle's corners would be — width and height simply swap for 90 and 270, or stay the same for 180 — so no extra space appears and nothing needs to be filled. Any other angle changes this. Rotate a rectangular photo by 12 degrees and its four corners now point outward past where a straight rectangle would sit. To keep the whole rotated image visible, the canvas has to grow into a new bounding box wide and tall enough to contain every corner. This is calculated automatically from the original width, height, and angle (roughly newWidth = width·|cos θ| + height·|sin θ|, and newHeight = width·|sin θ| + height·|cos θ|). That expanded canvas is bigger than the rotated photo itself, which leaves four triangular gaps at the corners where there's no original pixel data. Those gaps get filled automatically. With a PNG or another format that supports transparency, the gaps stay transparent, so the rotated photo sits on a see-through background — useful if you're placing it into another design afterward. With a JPG, which has no alpha channel, those corners get filled with a solid background instead, since JPG has no way to represent "no pixel there." This is a different operation from cropping or flipping. Rotation only changes orientation around a center point — it doesn't mirror content and it doesn't trim anything. Whatever rotates within the new expanded canvas stays intact at any angle you choose.
When You Need to Rotate an Image
Most rotation needs come from fixing an angle that's already wrong in the source file, not creative reframing. A handheld photo where the horizon tilts a few degrees because the camera wasn't level is the most common case — a 90-degree rotation won't fix that, but dialing in something like -2.3 degrees in the Rotation Angle field will straighten it without touching anything else in the shot. Scanned documents and printed photos run into the same problem in a more exaggerated way: feeding a page into a scanner even slightly askew produces a scan tilted by a small, inconsistent amount, and a stack of scans usually needs a slightly different angle correction for each page to square it up. Full 90 and 180-degree rotations solve a different, simpler problem: a phone photo saved sideways, or an image shot in portrait that needs to sit in a landscape layout. These cases are cleaner since no canvas expansion or corner fill happens — the whole rectangle just turns. Because the rotation runs locally in your browser rather than on a server, it's also a reasonable choice for correcting orientation on images you'd rather not upload anywhere — personal photos, scanned IDs, or files from a project under an NDA.
How to Rotate an Image
Rotating an image here comes down to one control. Load the JPG, PNG, or GIF you want to adjust, then use the Rotation Angle field to set how far to turn it — enter a round number like 90 or 180 for a quarter or half turn, or a decimal like 1.8 for a small correction to a tilted horizon. The preview updates as you adjust the value, so you can watch the canvas expand and see where the fill appears on non-90-degree angles before committing to anything. Once the angle looks right, the tool processes it (briefly shown as "Rotating...") and hands you the result. If you're straightening a tilted photo, zoom into the preview near the edges first — a small angle error is much easier to spot at the corners of the frame than at the center.
Open your JPG, PNG, or GIF image in the tool.
Enter a value in the Rotation Angle field — a multiple of 90 for a full turn, or a decimal for a small correction.
Check the preview, especially the corners, to confirm the angle and any corner fill look right.
Save the rotated image once the result matches what you need.
Frequently Asked Questions
More Image Tools
Explore other powerful tools for your image editing needs
Compress Image
Reduce file size
Resize Image
Change dimensions
Crop Image
Cut out area
Convert Format
Change format
Photo Editor
Edit photos
Flip Image
Horizontal/Vertical
Add Watermark
Add watermark
Add Border
Add image border
Rounded Corners
Add rounded corners
Filters
Brightness/Contrast
Blur Face
Hide faces
Mosaic
Blur regions
Remove Background
Remove BG
Enhance Image
AI upscale
Add Text
Add text to image
Collage
Combine multiple images
HTML to Image
Webpage to image
GIF to Image
Extract frames
Trim Image
Remove empty edges
Batch Rename Images
Safely rename files in bulk
Circle Crop
Crop images into circles
Black & White
Convert images to grayscale
Split Image
Cut an image into a grid
Merge Images
Combine images into one
Change DPI
Set image DPI metadata
Image to Base64
Encode images as Base64
Image to PDF
Combine images into one PDF
HEIC to JPG
Convert iPhone HEIC photos to JPG
EXIF Remover
View and strip hidden photo metadata, including GPS location
Favicon Generator
Full icon set plus HTML
Color Palette
Extract colors from an image
Base64 to Image
Decode Base64 back to an image
HEIC to PNG
Convert iPhone HEIC photos to lossless PNG
Text Behind Image
Put text behind the subject of a photo, entirely in your browser
Color Picker
Get the HEX, RGB and HSL of any pixel
Signature Maker
Draw a signature and download it as a transparent PNG
Signature Background Remover
Ink from paper, on transparency
Transparent Background Maker
Make a background transparent