OfflaneAI

Rotate image —
90°, any angle, flip, then crop

Fix sideways phone photos, level a tilted horizon or mirror a selfie. Rotation and flipping move pixels without recalculating them (a PNG stays lossless; a JPG is re-saved, so raise Quality); straightening re-renders the photo at full resolution.

  • ↻ 90° steps
  • 📐 Straighten −45°…45°
  • ⇋ Flip horizontal / vertical
  • 💸 Free, no watermark

Loading the tool… (JavaScript required)

Why does my photo open sideways elsewhere?

Phones store the orientation as a tag that some apps ignore. This tool reads the tag, so after you download the rotated copy the pixels themselves are upright everywhere.

Will straightening leave empty corners?

Yes, white (JPG) or transparent (PNG) corners appear when you rotate by a few degrees — drag the crop box inside the picture to remove them before downloading.

How do I crop to an exact size, for example 1080×1080?

Choose the 1:1 ratio, drag the box to the part you want, then type 1080 in “Output width” — the height follows the ratio. The button shows the final size before you download.

How do I straighten a crooked photo?

Move the “Straighten” slider until the horizon is level; the image rotates around its centre. Then drag the crop box inside the picture to cut off the empty corners.

Does cropping reduce quality?

No — cropping only removes pixels, the rest are copied exactly. PNG and WebP-lossless keep everything; JPG at 92% is visually identical. Only the “Output width” box resamples the image.

Three kinds of rotation

ControlWhat it doesEffect on the pixels
“↺ 90°” and “↻ 90°”Quarter turns left or right; two presses turn the photo upside downMoved, not recalculated
The two “Flip” buttonsMirror left–right or top–bottomMoved, not recalculated
“Straighten”Any angle from −45° to 45° in steps of 0.5°Every pixel recalculated, slight softening

Settings to rotate without losing anything

The crop box starts at 90% of the photo. If you only want to turn the picture, press “Select all” first, so the box covers every pixel and the ratio switches to “Free”. Then:

  1. Turn or flip the photo.
  2. Leave “Output width (px, optional)” empty, so one pixel stays one pixel.
  3. Pick the “Format”. For a PNG source, PNG is preselected and the turn is truly lossless. For a JPG, the file is encoded again; set “Quality” to 95–100% to keep that step invisible.
  4. Press “Crop & download”. The file is saved as name-crop.jpg or with the extension you chose.

Levelling a tilted horizon

Use the grid of thirds as a ruler. Move the “Straighten” slider until the horizon, the edge of a building or a table runs parallel to one of the horizontal lines.

For a tilt of more than 45°, give a quarter turn first and then straighten the remaining angle.

Straightening turns the picture around its centre and enlarges the working area, so all of the photo is kept. Do it once, in a single session; each extra round of straightening and saving softens the picture a little more.

Typical jobs

PhotoWhat to press
Phone photo lying on its side“↻ 90°” or “↺ 90°”
Scan or photo upside downEither 90° button twice
Selfie with mirrored textThe first “Flip” button
Photo taken through a mirrorThe first “Flip” button
Crooked horizon or wall“Straighten”
Document photographed at an angleNot possible here; there is no perspective correction

Limits to know

  • One photo at a time. There is no batch rotation.
  • Large photos. A picture longer than 6000 px is reduced to 6000 px when it opens.
  • Metadata. Camera data, date and GPS position are not copied to the rotated file.

The image cropper guide covers aspect ratios, output width and every control of this tool.