A photo taken sideways, or scanned upside down, needs to be turned before it's usable — this tool rotates an image by any angle, from a quick 90-degree turn to a precise custom degree of tilt.
A problem as old as cameras that don't know which way is up
Image rotation issues have existed since long before digital photography — physical prints could always be placed the wrong way in an album or scanner — but digital cameras introduced a distinctly modern version of the problem: many cameras and smartphones capture image data in a fixed sensor orientation and instead record the device's physical orientation at the moment of capture as separate EXIF metadata, meaning the same raw image data might display right-side-up or sideways entirely depending on whether the viewing software correctly reads and respects that orientation flag — a frequent, genuinely confusing source of "why is my photo sideways" bugs across different apps and platforms.
How rotation works
For simple 90, 180 or 270-degree rotations, the tool directly repositions each pixel to its new location in a swapped or flipped coordinate grid, a lossless operation since every original pixel maps cleanly to exactly one new position with no interpolation needed. For arbitrary custom angles, the tool must interpolate new pixel values (since rotated pixels rarely land exactly on the new grid's coordinates), and typically expands the canvas to accommodate the tilted image without cropping its corners.
Where rotating images is genuinely necessary
- Fixing sideways or upside-down photos — correcting images that display incorrectly due to EXIF orientation metadata not being properly respected by whatever software or platform is displaying them.
- Straightening a tilted horizon — a small custom-angle rotation is a standard first step in photo editing to correct a slightly crooked horizon line from handheld shooting.
- Correcting scanned documents or photos — physical documents or prints scanned at a slight angle, or fed into a scanner sideways, need rotation to become properly readable or usable.
- Adjusting orientation for a specific layout — rotating an image to fit a design layout that specifically calls for a portrait or landscape orientation different from the source photo.
Frequently asked questions
Why is my photo sideways even though it looked correct on my phone? Almost always an EXIF orientation metadata issue — many cameras always capture the raw pixel grid in the same physical sensor orientation and instead store a separate flag noting how the device was actually held, and if the software displaying the image doesn't correctly read and apply that flag, the image appears rotated even though it "looked right" on the device that took it.
Does 90-degree rotation lose any image quality? No — rotating by exactly 90, 180 or 270 degrees is a lossless operation, since every pixel maps directly to a new position with no averaging or interpolation required, unlike an arbitrary custom-angle rotation, which does require some interpolation and can introduce very slight softening.
What happens to the corners when I rotate by a custom angle like 5 degrees? Rotating by an angle that isn't a multiple of 90 degrees tilts the entire rectangular image, which either requires expanding the canvas (leaving new empty corner areas visible) or cropping into the image to keep a clean rectangle — most tools, including this one, default to expanding the canvas so no original image content is lost.
Further reading
Wikipedia — Exif — The metadata standard, including orientation flags, that cameras embed in image files.
Wikipedia — Rotation (mathematics) — The geometric transformation underlying pixel repositioning during image rotation.