Home › File & PDF Tools › Rotate Image Online
Rotate Image Online
Our free rotate image tool turns a sideways photo the right way up right in your browser. Upload a PNG, JPG, WebP, or GIF, turn it 90, 180, or 270 degrees — or any custom angle to straighten a tilted shot — watch the live preview, and download the result — no upload to any server, no sign-up, and no watermark.
Your file stays on your device. It is rotated in your browser and never uploaded anywhere.
Drag the slider for any angle from −180° to 180°. Positive angles turn clockwise; negative angles turn counter-clockwise. The slider sets the angle used for the preview and the download.
Quality affects JPG and WebP only — PNG is lossless.
Only a tilted picture leaves empty corners, and JPG has no transparency, so its corners take this colour.
Leave blank to name it after your original file.
Live preview — the rotation updates as you change the angle
Choose an image to see your live preview here.
How it works
Photos come out sideways more often than anyone expects. A phone held upright saves a landscape shot on its side, a scanned page lands upside down, and a camera passed around a table returns pictures turned every which way. The picture itself is fine — it just needs turning, and turning it properly means rebuilding the image pixel by pixel at the new angle, not just telling a viewer to display it differently. This tool does that rebuild in your browser, so the downloaded file is genuinely upright wherever it is opened.
When you pick a file, the tool first checks that it really is an image: PNG, JPG, WebP, or GIF, judged by the file type your browser reports and the ending on the file name. If you picked a PDF or another file type by mistake, it stops and shows a friendly message instead of a broken download. Then it reads the image and paints it onto a canvas — a drawing surface browsers use for images — at its original size, and the live preview appears. Every rotation starts from the image you uploaded, never from the last rotated version, so you can try angles freely without the picture degrading.
The quick buttons cover the common cases: 90 degrees clockwise, 90 degrees counter-clockwise, and a full 180-degree turn. A 90 or 270-degree turn swaps the width and the height, so an 800 by 600 landscape photo becomes a 600 by 800 portrait one, while a 180-degree turn keeps exactly the same size. The custom angle slider covers everything else, from a 2-degree nudge that straightens a tilted horizon to a 45-degree turn for a creative crop. A tilted picture needs a slightly larger frame so its corners are not cut off, so the tool works out the new bounding box — the smallest rectangle that holds the tilted picture — and sizes the canvas to fit it.
What fills the empty corners after a custom angle depends on the format. PNG and WebP keep transparency, so the corners become see-through. JPG has no transparency, so its corners are filled with the background colour you pick — white by default, black, or any colour from the picker. Quality runs from 0.5 to 1.0 and affects JPG and WebP; PNG is lossless, so the slider is ignored for PNG. If your file is an animated GIF, only the first frame is rotated, because a canvas holds a single still picture — the download is a still image, so keep the original GIF if you need the movement.
The download is named after your original file with rotated added and the ending changed to match the format — photo.jpg becomes photo-rotated.png — or the name you typed, and the page reports the new dimensions and file size. Because every step happens on your computer, there is no waiting for an upload and no copy of your image sitting on someone else's server. If you need a mirror image instead of a turn, use the Image Flipper tool on this site; it flips left to right or top to bottom without rotating.
Worked example
Suppose you took a photo of a noticeboard with your phone held upright, and the picture came out sideways: notice.jpg, 800 by 600 pixels and 180 KB, showing the notice on its side.
Step 1: you click "Choose an image" and pick notice.jpg. The tool confirms it is a JPG and shows "800 × 600 px, 180 KB" under the file picker, and the live preview appears with the picture already turned 90 degrees clockwise at the default angle.
Step 2: the preview shows the notice upright, and the preview note reads "600 × 800 px at 90° clockwise" — the width and height have swapped, exactly as a 90-degree turn should do.
Step 3: you leave the output on PNG and click "Download rotated image". The result is notice-rotated.png, 600 by 800 pixels, with the notice reading the right way up in any viewer.
If the notice had been upside down instead of sideways, the 180-degree button would fix it with no change in size — the result would still be 800 by 600. And if the photo was only slightly tilted, say the horizon sits 3 degrees off, drag the slider to 3 degrees instead: the picture straightens, the frame grows just enough to hold the tilted corners, and the empty triangles stay transparent in the PNG.
FAQ
Is my image uploaded to a server?
No. Your image is rotated on a canvas in your own browser and downloaded from there. The file never leaves your device, so private photos, screenshots, and scans stay private.
What angles can I rotate by?
The quick buttons turn your image 90 degrees clockwise, 90 degrees counter-clockwise, or a full 180 degrees. The custom angle slider turns it by any whole number of degrees from -180 to 180, so a photo that is tilted by a few degrees can be straightened exactly.
Does rotating change the size of my image?
A 90 or 270 degree turn swaps the width and height, so an 800 by 600 photo becomes 600 by 800. A 180 degree turn keeps the same size. A custom angle makes the canvas a little larger so the corners of the tilted picture are not cut off.
What fills the corners after a custom angle?
A tilted picture leaves empty triangles at the corners of its new frame. A PNG or WebP download keeps those corners transparent, while a JPG fills them with the background colour you choose — white by default, black, or any colour from the picker.
Can I rotate the same image more than once?
Yes. Each rotation starts from the image you uploaded, not from the last rotated version, so rotating 90 degrees clockwise and then 90 degrees counter-clockwise brings you back to the original. Pick a new angle any time and the preview updates.