Rotate and Flip Images: Complete Guide
Learn how to rotate and flip images online: 90 and 180 degree turns, custom angles, mirrored selfies, and EXIF orientation fixes, all in your browser.
Rotate or flip any image in seconds: upload, pick 90 or 180 degrees or a custom angle, flip horizontally or vertically, preview, and download.
CompressMyPic Editorial Team · Published Nov 17, 2026 · 11 min read

A sideways photo takes seconds to fix once you know the steps. You do not need to install software or create an account, and the whole job runs in your browser.
This how-to walks through the process from upload to download. It covers quick 90 degree turns, custom angles for tilted shots, and horizontal flips for mirrored selfies.
By the end you will know how to fix a single photo, a whole batch of them, and the common mistakes that waste time. Keep the original file handy until you have checked the result.
You need the image file itself, saved on your device or ready to paste from your clipboard. The tool accepts JPG, PNG, WebP, HEIC, GIF, BMP, and SVG files up to 20 MB each.
Work from the original file, not from a copy that has already been rotated or compressed. Every extra save adds a little damage to a JPG, so the cleanest result comes from the first edit.
Decide what is wrong before you open the tool. Is the photo sideways, upside down, tilted by a few degrees, or mirrored? The answer tells you whether to rotate, flip, or both.
Open the Rotate and Flip Image tool in your browser. Everything runs locally, so your photo is never uploaded to a server.
The process is the same for a single photo and for a batch. Upload first, choose the move, check the preview, then download the result.
For a quick fix, the 90 degree buttons are all you need. For a tilted horizon, use the custom angle slider and watch the preview as you drag it.
Check the downloaded file before you use it. Open it once, confirm the orientation is right, and only then attach it to a form or post it.
A photo that displays sideways needs 90 degrees in one direction. If the first try makes it worse, the other direction is the correct one, so undo and turn it the other way.
A photo that displays upside down needs 180 degrees. There is no ambiguity here, since a half turn is the same in either direction.
A tilted horizon needs a custom angle, usually between one and ten degrees. Small steps are better than large ones, because the eye is sensitive to even a slight tilt.
Use the Compare button after each change. It shows the original next to the rotated version, which makes it easy to spot when you have gone too far.
Custom angles are for photos that are not quite straight. A beach photo with a sloping horizon or a scanned page that sits slightly crooked both fall into this group.
Drag the Rotation Angle slider slowly and watch the horizon. The preview updates live, so you can stop the moment the line looks level.
Click Apply Angle to confirm the value, or Reset to 0° to start again. You can adjust as many times as you like before downloading, since nothing is saved until you export.
Remember that a custom angle expands the canvas. The corners of the frame gain small triangular areas, which appear as a solid colour in JPG or transparency in PNG.
A mirrored selfie is easy to spot: text on a shirt reads backwards. The fix is one click on Flip Horizontal, which mirrors the image back to normal.
Flip before you rotate if the image needs both moves. The order matters less than checking the preview, but flipping first keeps the logic simple.
Check more than the text. A flip moves everything to the opposite side, including a hair parting, a mole, or a background sign, so look at the whole picture.
If the selfie looks right after the flip, download it. If it still looks odd, the problem may be rotation rather than mirroring, so try a 90 degree turn instead.
Upload all the photos that share the same problem in one go. The tool applies your chosen rotation to every image in the queue at the same time.
This works best when the orientation problem is consistent. A folder of photos all taken in portrait mode, for example, all need the same 90 degree turn.
If the photos need different angles, split them into groups. Rotate one group, download it, then clear the queue and rotate the next group.
Use Download All (ZIP) for batches. Each file keeps its original name inside the ZIP, so nothing gets mixed up when you extract them.
Original format is the safest choice when you only need orientation fixed. It keeps the file type unchanged and avoids any re-encoding surprises.
JPG is the best pick for photos you plan to share or upload. It keeps file sizes small and works everywhere, including old forms and messaging apps.
PNG is the right choice for screenshots, logos, and graphics with text. It preserves sharp edges and transparency, which JPG cannot do.
WebP sits between the two. It gives smaller files than JPG with better quality, but a few older systems still reject it, so check your destination first.
Always preview before downloading. The Compare button shows the original and the rotated version together, which is the fastest way to confirm the fix.
Look at the edges of the image after a custom angle rotation. The expanded canvas may have added corner areas that you did not expect, and you may want to crop them.
Check the file size too. A rotated JPG should be close to the original size, and a big jump usually means the quality setting or the format changed.
If something looks wrong, use the undo or reset controls. It is faster to fix the angle now than to re-edit the downloaded file later.
Scanned pages are the most common rotation job after photos. A page fed into a scanner upside down comes out upside down, and the fix is a 180 degree turn.
For a page scanned sideways, use 90 degrees. Read a line of text after rotating to confirm it runs left to right, which is the correct orientation for most documents.
Small tilts in scans are common too. A page that sits slightly crooked in the scanner needs a custom angle of one or two degrees to straighten it.
Straighten a scan before you crop it. If you crop first, the rotation will change the shape of the frame and may cut off a margin you wanted to keep.
The tool works on touchscreens, so you can fix a sideways photo on the phone that took it. Upload from your gallery, tap the rotation button, and download the result.
Drag the angle slider with your finger for custom angles. The preview is large enough to judge a tilted horizon, even on a small screen.
Batch rotation works on mobile too, though uploading many large files over a slow connection takes longer. Do big batches on a computer when you can.
Downloaded files land in your usual downloads folder. From there you can share them directly to a chat app, an email, or a social post.
Sometimes a photo looks fixed in the tool but sideways again after download. This usually means the original file had an EXIF orientation note that a viewer is still misreading.
The fix is to rotate the downloaded file once more in the tool, or to open it in a different viewer to confirm the pixels are actually correct. The tool rewrites the pixels, so the file itself is right.
Another common issue is a photo that rotates in the wrong direction. Undo the turn and rotate the other way, since 90 degrees clockwise and 90 degrees anticlockwise give opposite results.
If a custom angle keeps chopping off corners, remember the canvas expands automatically. The corners are not cut; they are filled, and you can crop the fill away afterwards.
Paste screenshots directly with Ctrl+V instead of saving them first. The tool accepts clipboard images, which saves a step when you are fixing a screen capture.
Use keyboard-friendly habits: upload, rotate, compare, download. The same four moves handle almost every orientation problem you will meet.
Keep the original file until you have checked the download. If the result is wrong, you can start again from the clean original instead of re-editing a damaged copy.
Name your downloads clearly when you rotate a batch. A folder of rotated files with clear names is much easier to sort than a set of identical-looking downloads.
Animated GIFs can be rotated, but the result depends on the tool and the file. The Rotate and Flip tool accepts GIF files, and the rotation applies to the animation frames.
Check the result carefully after rotating a GIF. Some animations have many frames, and a rotation that looks right on the first frame should be checked on the later frames too.
Keep the file size in mind. A GIF that is already large may grow slightly after re-rendering, so compare the downloaded size with the original before you share it.
If the animation breaks or looks wrong after rotation, the safest fix is to rotate the still frames before they are assembled into a GIF. A GIF maker that starts from correctly oriented images avoids the problem entirely.
ID photos must be upright, front-facing, and correctly framed, and a sideways ID photo will be rejected outright. Rotation is the fix, but it must be done carefully.
Check the portal rules before you rotate. Some portals demand exact pixel dimensions as well as the right orientation, so a 90 degree turn may change the dimensions you need.
Rotate the original photo, not a copy that has already been compressed. An ID photo needs a sharp face, and each extra save softens the details that the portal checks.
After rotating, crop the photo to the required ratio and check the face position. The face should be centred with a little headroom, and the background should stay plain and light.
Pasting with Ctrl+V is the fastest way to get a screenshot into the tool. Copy the image from any program, paste it directly into the dropzone, and skip the save step entirely.
For files already on your device, dragging them into the dropzone is faster than browsing through folders. Drop one file or a whole batch at once.
Use the Compare button after every rotation, not just at the end. A quick check after each change catches a wrong-direction turn before it becomes a downloaded mistake.
Learn the undo controls. A wrong turn is fixed in one click, while a downloaded mistake costs you the time to upload and rotate the file all over again.
Rotation changes orientation, but it does not change size, colour, or sharpness. If a photo is too large, too dark, or too dull, rotation alone will not fix it.
Pair rotation with the Image Resizer when the photo needs new dimensions for a form or a profile. Resize after rotating, so the dimensions match the new orientation.
Pair it with the Image Brightness Editor when a sideways photo is also too dark. Brightening after rotation keeps the workflow simple and the result predictable.
Pair it with the Image Cropper when the rotated photo has empty corners or a distracting edge. Crop last, after the orientation is settled, so the framing matches the final shape.
For a fuller explanation of why photos rotate on their own, read Image Orientation: EXIF Rotation Problems Explained. For the complete overview, see Rotate and Flip Images: Complete Guide, and if the rotated photo needs trimming, use the Image Cropper.
Learn how to rotate and flip images online: 90 and 180 degree turns, custom angles, mirrored selfies, and EXIF orientation fixes, all in your browser.
Why does the same photo look right on your phone and sideways everywhere else? EXIF orientation explained, plus how to fix it permanently.
All 11 photo filters compared: Vintage vs Sepia, Grayscale vs Noir, Warm vs Cool, and which style suits portraits, landscapes, food, and products.
Apply photo filters in minutes: upload, browse the 11 styles, set the intensity, compare with the original, and download a styled photo.