How to Rotate and Straighten a Crooked Photo
Guide · Image Tools
There are two different problems that both look like "my photo is crooked," and they need two different fixes. One is a photo that's rotated 90 or 180 degrees — usually from a phone that didn't record its orientation correctly. The other is a photo that's a few degrees off level, usually from a handheld shot where the camera wasn't quite parallel to the subject. Rotating fixes the first. Straightening (a smaller rotation, then a crop) fixes the second.
Full 90/180-degree rotation
This is the easy case: the photo is sideways or upside down, and the fix is a clean 90-degree turn with no quality loss, since you're just rearranging pixels, not resampling them. If a photo comes out of your phone or scanner sideways, rotate it before you do anything else — cropping or resizing a sideways image just makes the eventual fix more annoying.
Small-angle straightening
A photo that's a couple of degrees off — a flat-lay shot where the table edge isn't quite parallel to the frame, for example — needs a small rotation (often just 1-4 degrees), which will always leave triangular gaps in the corners. The only way to deal with those gaps is to crop in slightly after rotating, tight enough to cut off the empty triangles without losing your subject. Rotate first, then crop, in that order — cropping first gives you less room to work with once you rotate.
Rotation isn't the fix for perspective distortion
If a rectangular object (a flat sticker, a business card, a piece of paper) looks like a trapezoid in your photo — wider at one end than the other — that's a perspective problem from shooting at an angle, not a rotation problem. No amount of rotating will square it up; you'd need a perspective correction tool for that. Rotating a perspective-distorted photo just tilts the trapezoid, it doesn't square it.
Check the EXIF orientation flag first
Sometimes a photo looks sideways in one app but right-side-up in another — that's usually an EXIF orientation tag mismatch, where the actual pixel data is one way but a metadata flag tells some apps to display it rotated. Running the image through any tool that re-saves it (compression, resizing, or an explicit rotate) usually bakes the correct orientation into the pixels themselves, which fixes the inconsistency for good.