Rotate, flip and straighten a picture
Turn it 90 degrees, tilt it by any angle, mirror it, or draw a line along the horizon to level it.
- Photos never leave your device
- Free, no sign-up
- No limits, no watermark
Drop a picture here
or drag it here, or paste with Ctrl+V. JPG, PNG, WEBP, GIF.
Privacy: your photos are opened and changed by your browser, on this device. They are never uploaded to YardMaths or anyone else, and they are gone when you close the tab.
How to rotate or flip an image
- Choose a picture, drop it on the box, or paste a screenshot with Ctrl+V. The preview shows it at once.
- Press Rotate left or Rotate right to turn it by 90 degrees, as many times as you need. Press Flip horizontally to mirror left and right, or Flip vertically to turn the top to the bottom.
- For any other angle, move the angle slider or type a number of degrees. Positive numbers turn the picture clockwise. Choose whether the empty corners are cropped away or kept and filled.
- To level a crooked horizon, press Straighten with a line and drag a line on the preview along the horizon, or along something that should be upright. The picture turns by the angle of your line.
- Choose the format and quality, press Save picture and download it.
Why this tool runs in your browser
Turning a picture is a job for the graphics chip of your own computer or phone, and it takes a fraction of a second. There is no reason for the photo to be uploaded, turned on someone else's machine and sent back. Here the preview moves as you drag the slider because the work happens in the page itself.
That matters most for the pictures people turn: scanned papers, photos of documents, screenshots and family pictures that came out sideways. They stay on your device from the first click to the download.
Rotate, flip or straighten: which one do you need?
- Rotate by 90 degrees fixes a picture that is sideways or upside down. It moves every pixel to its new place, so nothing is blurred.
- Flip horizontally mirrors the picture left to right, as in a mirror. Flip vertically puts the top at the bottom. Text in a flipped picture reads backwards.
- A free angle tilts the picture by a few degrees. Use it for a crooked scan or a horizon that slopes.
- Straighten with a line measures the slope for you: you draw a line along the horizon and the tool turns the picture by that angle.
What happens to the corners of a tilted picture
A tilted rectangle does not fill the rectangle of the picture, so its corners are left empty. You choose what to do with them.
- Crop them away keeps the shape of the picture and trims the edges just enough that no empty corner is left. You lose a little at the borders.
- Keep the whole picture makes the canvas larger so that nothing is cut. The corners are transparent in PNG and WEBP, or filled with the color you choose, which JPG always needs.
Limits to know before you start
- Turning by exactly 90 degrees or flipping does not blur anything. Tilting by another angle redraws the picture and can soften fine detail slightly.
- The new picture is saved again. JPG and WEBP are compressed once more, so a high quality such as the default 95% keeps it closest to the original, and PNG loses nothing.
- The result does not keep the camera information of the original (EXIF), such as the date and the location. Because the picture is turned for real, it looks the same in every app without needing an orientation flag.
- An animated GIF keeps only its first frame.
- The tool works on one picture at a time, so that you can check each preview. Very large pictures take a lot of memory, and the tool tells you before it starts if yours is too big for this device.
Rotate & Flip Image FAQ
How do I rotate a photo that shows up sideways?
Open it and press Rotate left or Rotate right until it looks right in the preview, then press Save picture. The saved copy is turned for real, so it looks right in every app, including those that ignore the orientation flag of the original.
What is the difference between rotating and flipping a picture?
Rotating turns the picture around its center, as when you turn a print on a table. Flipping makes a mirror image, left to right or top to bottom, so text and faces are reversed. A rotation can be undone by turning back; a flip is undone by flipping again.
How do I straighten a crooked horizon in a photo?
Press Straighten with a line, then drag a line on the preview along the horizon. The tool measures the slope of your line and turns the picture by the same angle the other way. You can fine-tune with the angle slider or by typing degrees.
Why does a tilted picture lose its corners?
When a rectangle is turned by a few degrees, its corners stick out past the original frame and empty triangles appear inside it. Crop them away trims the edges so no triangle is left; Keep the whole picture gives you a bigger canvas with the corners filled or transparent.
Can I rotate a picture by 45 degrees or any other angle?
Yes. The slider covers 45 degrees each way and you can type any number of degrees. Past 45 degrees the tool adds quarter turns for you, so 100 degrees becomes one 90-degree turn plus 10 degrees.
Last updated . Free to use, no sign-up.