iPhotoEditor

Every tool runs in your browser. Your photos never leave your device — see how that works.

Rotate or Flip an Image

Turn a sideways photo upright in one click, spin it by 90-degree steps or a precise fractional angle, and mirror it horizontally or vertically. Quarter-turns rearrange pixels without inventing any, so nothing degrades. Use it as often as you like for free; rotation happens right in the browser tab, upload-free.

Loading the tool…

How it works

  1. Load the photo that needs turning.
  2. Tap the 90-degree buttons, or drag the angle dial for fine leveling.
  3. Use flip horizontal or vertical for mirrored shots.
  4. Save the corrected image.

Worth knowing

Here is why photos show up sideways in the first place: phones usually do not rotate pixels at capture time. The sensor records in its native landscape orientation and the camera simply writes an EXIF Orientation tag - one of eight defined values - telling viewers how to turn it for display. Modern apps obey the tag; older software, some upload forms and many embedded viewers ignore it, and that mismatch is the entire sideways-photo phenomenon. Baking the rotation into actual pixels, which this tool does, ends the ambiguity everywhere.

Quarter-turn rotations (90, 180, 270 degrees) are geometrically clean: every pixel maps exactly onto a new position, no interpolation, no quality cost. Arbitrary angles are different. Rotating by 3.5 degrees to level a horizon requires resampling - each output pixel blends several input pixels - and the canvas must grow to contain the tilted rectangle, leaving wedge-shaped empty corners. That is why fine rotation pairs naturally with a follow-up crop to trim the corners away, and why you should straighten once, not iteratively.

Flipping earns its place next to rotation for one big reason: front-camera selfies. Many phones store selfies mirrored, so text on clothing reads backward and faces look subtly wrong to everyone but you (you are used to your mirror image). One horizontal flip restores reality. Vertical flips are rarer in practice - mostly scans fed upside-down into a scanner and certain product-photo workflows.

For leveling, use a reference line: ocean horizons, building edges, shelf lines. Small corrections work best - a 2-degree straighten costs about 5 percent of your image area to the post-rotation crop, while 10 degrees costs closer to a quarter. If a photo needs more than a few degrees, consider whether the tilt was actually the composition.

Phones typically save photos unrotated and record one of eight EXIF Orientation values instead - which is why one app shows your photo upright and another shows it sideways; only baking rotation into the pixels resolves it for every viewer.

Verify it yourself: open your browser's DevTools, switch to the Network tab, and use this tool — you will see no upload request. Or load the page, go offline, and it still works.

What this tool will not do

  • It will not auto-detect a crooked horizon and level it for you - the angle dial is manual, with a grid overlay to help.
  • It will not fill the empty corners after fine-angle rotation with generated content; crop them away instead.
  • It will not correct perspective distortion (converging verticals) - that is a different transform from rotation.

Questions people ask

Why does my photo appear sideways on some sites but not others?

The pixels are stored sideways and an EXIF tag says "rotate me" - some software honors the tag, some ignores it. Rotating here rewrites the pixels themselves and resets the tag, so every viewer agrees from then on.

Does rotating a photo 90 degrees lose quality?

The rotation itself is lossless - pixels move but keep their values. Saving as JPEG re-encodes, which costs a hair at high quality settings; export at 90+ or as PNG and the difference is invisible.

How do I straighten a slightly crooked photo?

Use the fine-angle dial and align a horizon or door frame with the overlay grid, then crop to remove the angled edges. Corrections under 3 degrees keep almost all of your image area.

How do I fix a mirrored selfie?

One click on flip horizontal. Check any visible text in the shot afterward - if it now reads correctly, the image matches what other people see in person.

What is the difference between rotating and flipping?

Rotation turns the image around its center like a steering wheel; flipping reflects it as in a mirror. A 180-degree rotation and a vertical flip look similar but are not the same - text stays readable after rotation, but not after a flip.

Why are there blank corners after I rotated by 5 degrees?

A tilted rectangle no longer fills an upright one, so the corners have nothing to show. Every editor faces the same geometry; the standard finish is cropping slightly inward, which this page prompts you to do.

Usually the next step

More in Resize & Crop

This page processed nothing on any server — there is no server. The technical explanation.