Photos often arrive sideways — phones record the orientation as metadata rather than rotating the actual pixels, and software that ignores that metadata displays them rotated. Rotating here bakes the correct orientation into the pixels themselves, so the image looks right everywhere.
How to use the Image Rotator & Flip
- Upload your image
- Use the rotate buttons for 90°, 180° or 270°
- Use the flip buttons to mirror horizontally or vertically
- Choose an output format and download
Rotation versus flipping
Rotation turns the image around its centre. 90° and 270° swap the width and height; 180° keeps the dimensions and turns the image upside down.
Flipping mirrors the image across an axis. A horizontal flip reverses left and right — useful for selfies, which many phone cameras mirror. A vertical flip reverses top and bottom, which is rarer and mostly used for reflections.
Note that flipping is not the same as rotating 180°: a 180° rotation mirrors both axes at once.
Why your photo appears sideways
JPEG files carry an EXIF Orientation tag telling viewers how the camera was held. Modern browsers and photo apps honour it; a lot of older software, and many upload pipelines, do not. The result is an image that looks correct on your phone and sideways on a website.
Rotating the image here rewrites the actual pixel data, so the orientation no longer depends on any software reading the metadata correctly.
EXIF orientation, and why rotation sometimes looks undone
A camera held sideways usually records the pixels in the sensor's orientation and sets an EXIF Orientation tag saying how to display them. The pixel data is unrotated; the correction is an instruction.
That works until something ignores the tag. Phone galleries and modern browsers honour it; older software, some image libraries, and certain upload pipelines do not — which is why a photo that looks upright on your phone appears sideways after upload. The file was never wrong, and neither was the display; they disagreed about whether to read the tag.
There are eight possible orientation values covering rotations and mirrored variants, which is why a photo occasionally arrives flipped as well as turned.
The durable fix is to bake the rotation into the pixels and clear the tag, so the file looks the same everywhere regardless of whether the reader honours EXIF. That is what rotating here produces: the pixels are physically rearranged, so no interpretation is required.
If an image looks correct locally and wrong after upload, this is almost always the explanation — and rotating it before uploading resolves it permanently.
Lossless rotation, and when rotation costs quality
Rotating by 90, 180 or 270 degrees is a rearrangement of existing pixels. Every pixel keeps its exact value and simply moves, so no quality is lost at all — the operation is perfectly reversible.
There is a caveat specific to JPEG. Because the format encodes 8×8 blocks, a truly lossless rotation requires the image dimensions to be multiples of 8, and a tool that decodes and re-encodes rather than transforming the blocks will re-apply lossy compression. One such round trip is usually imperceptible; repeated rotate-and-save cycles are not.
Arbitrary angles are different. Rotating by five degrees means no output pixel lines up with an input pixel, so every value has to be interpolated from its neighbours. The result is slightly soft, and the softness is permanent — rotating back by five degrees does not restore the original, it interpolates a second time.
Arbitrary rotation also leaves triangular gaps at the corners, which must either be filled or cropped away, so the image loses edge content.
Where you need to straighten a crooked horizon, do it once, from the original, at the highest resolution you have.
Frequently asked questions
Does rotating lose image quality?
The rotation itself is lossless — 90° increments just move pixels around. Quality is only affected by the format you export to. Export as PNG to avoid any loss at all, or JPEG at high quality if file size matters.
Why does my photo look correct on my phone but sideways on my site?
Your phone is reading the EXIF Orientation tag and rotating for display. The website is not. Rotating the image here writes the correct orientation into the pixels, which fixes it everywhere.
Can I rotate by an arbitrary angle, like 5°?
Not with this tool — it handles 90° increments only. Arbitrary rotation requires interpolating new pixel values and leaves empty corners that have to be cropped or filled, which needs a full image editor.