Rotate a photo by quarter turns, mirror it, or straighten a tilted horizon by any angle, with the empty corners cropped away automatically.
Initializing in your browser…
Turn an image into Base64 text or a data URL to embed in HTML, CSS or Markdown, checked to decode back to your exact file. Optional resizing first.
Compare two versions of an image and see what changed: each changed area outlined and shown close up, with slider, fade and side-by-side views and a similarity score.
Crop a photo by dragging a box or typing exact pixels, with aspect ratio presets, quarter turns, mirrors and shape cut-outs. PNG output keeps every pixel exactly.
A 1600 by 1067 landscape photo has a horizon that tilts down to the right by about 2 degrees.
Settings
Straighten: 2 degrees Crop away the empty corners: off, then on Save as: JPEG (the original format)
Result
Crop off: 1637 x 1123, with 128,496 empty corner pixels Crop on: 1521 x 1014, no empty corners, same 3:2 shape
Turning a 1600 by 1067 rectangle by 2 degrees needs a 1637 by 1123 frame to hold all of it, and the extra area appears as four thin empty triangles. The crop keeps the largest rectangle with the original proportions whose corners stay inside the turned photo: scaled by 0.951, that is 1521 by 1014, which keeps about 90% of the picture. A 2 degree turn is a resample, so the tool reports it as one, while a quarter turn of the same photo would be exact.
Fix a sideways or upside-down photo, mirror a selfie, or straighten a crooked horizon. Quarter turns and mirrors move the pixels without changing them, and a straighten angle of up to 45 degrees either way can crop away the empty corners for you.
Fix pictures that come out sideways or upside down.
Straighten a page that went into the scanner at an angle.
Level a horizon or make a building stand upright.
Mirror a graphic or turn it to fit a layout.
Press Right once: a 1600 by 1067 picture becomes 1067 by 1600, and as a JPEG it stays the same size as the original, about 404 KB.
Set the angle to 2 degrees. The turned picture needs a 1637 by 1123 canvas with empty corners; with the crop on, the result is 1521 by 1014, the same shape as the original.
Front cameras often save a mirror image, so text in the background reads backwards. Press Mirror to put it the right way round.
Quarter turns and mirrors. The toolbar turns the picture a quarter left or right or a half turn, and mirrors it left to right or top to bottom. These are exact operations: every pixel of the result is a pixel of the original, only moved, and a quarter turn swaps the width and height (a 1600 by 1067 photo becomes 1067 by 1600). The tool reads the saved file back and confirms when nothing else changed. The angle readout at the end of the toolbar always shows the total turn.
Straighten. For a tilted horizon or a skewed scan, drag the Angle slider or nudge it by half a degree or one degree at a time. Any angle that is not a multiple of 90 has to be resampled, so each new pixel is blended from its neighbours and fine detail softens very slightly; the tool says so rather than calling it exact. Turning also leaves empty triangles at the corners. Crop away the empty corners keeps the largest rectangle with the photo's own proportions that fits inside the turned picture, so a straightened photo keeps its shape; without it you can fill the corners with transparency, white or black.
The file you get. A JPEG is saved as a JPEG at 92% quality by default, so a rotated phone photo stays about the same size; choose PNG when you want every pixel kept exactly, which makes a much larger file from a JPEG. WebP is also available. A JPEG has no transparency, so empty corners become white in one.
Photos that open sideways. Cameras and phones often store a photo in one orientation with a tag that tells viewers to turn it. Your browser applies that tag when it opens the file, so the preview here is already the right way up and any turn you add is on top of it. The saved file has its pixels stored the way they are shown, so it opens correctly everywhere without the tag. About the source file shows the tag, if there is one, and the other details of the original. Everything happens in your browser.
Quarter turns and mirrors do not change any pixel; saved as PNG the result is an exact copy, which the tool confirms. Saving as JPEG re-compresses the photo, a very small change at 92% quality. Straightening by a small angle has to blend pixels and softens fine detail slightly.
A rectangle turned by an angle no longer fills an upright frame, so triangles appear at the corners. Turn on Crop away the empty corners to remove them, at the cost of a little of the edge of the photo.
The original file probably relies on an orientation tag that some apps ignore. Download it from here: the saved file stores its pixels the right way up, so it no longer needs the tag.
PNG keeps every pixel exactly, including the fine noise a JPEG photo contains, so it is often five or more times the size. Keep JPEG unless you need a lossless copy.
Yes. The slider moves in half-degree steps, and the nudge buttons change it by half a degree or one degree.
No. Everything happens in your browser.
Images are decoded, edited, and exported entirely inside this browser tab. No originals, exports, or metadata are uploaded.