Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Rotate & Flip Image (Any Angle)

Turn, straighten and mirror photos — one or a hundred, losslessly for JPG.

Image No upload Works offline Free, no sign-up

Next steps

About the Rotate & Flip Image (Any Angle)

Turn a picture by exactly the angle it needs. Use the fine slider (0.1° steps) or type any angle; or select Straighten and drag along the horizon, a table edge or a wall — the photo turns so that line becomes level (or upright). A rotated photo leaves empty corners, so choose how to handle them: crop to the largest picture with the original proportions, crop to the largest area, or expand the canvas and fill the corners with a colour or transparency.

The usual 90° turns, 180° and mirroring work on many photos at once: each photo keeps its own setting, or use one rotation for all and download a ZIP. For JPG photos turned in 90° steps there is a lossless option that only changes the EXIF Orientation tag, so the picture is not recompressed. Photos that phones store sideways (shown upright through that tag) are opened upright and saved upright, so they look right in every app. Everything runs in your browser; nothing is uploaded.

How to use it

  1. Choose, drop or paste one or more photos.
  2. Use 90° left, 90° right, 180°, Mirror or Flip; for a tilted photo, drag the Angle slider or select Straighten and draw a line along something that should be level.
  3. Under Empty corners, choose Crop (same proportions), Crop (largest area) or Expand canvas with a fill colour or transparency.
  4. With several photos, select each one in the strip to set it, or use Use this rotation for all. Then Download the current photo or Download all as a ZIP. Tick Lossless for JPG to keep the original JPG data for 90° turns.

Examples

Straightening a beach photo
Input
4000 × 3000 photo, horizon tilted · Straighten: drag along the horizon → −1.8°
Result
Cropped to 3,841 × 2,880 px (same 4:3 shape), no empty corners

At 1.8° the crop keeps 92% of the picture, at 3° about 88% and at 5° about 81% — a bigger tilt needs a bigger crop. Expand canvas would give 4,093 × 3,125 px with filled corners instead.

Phone photos that show sideways on a website
Input
IMG_2041.jpg with EXIF orientation 6
Result
Saved upright with orientation 1 — shows the same in every app
Forty scans that came out upside down
Input
40 JPG scans · 180° · Use this rotation for all · Lossless for JPG
Result
rotated-photos.zip; each file differs from the original only in its EXIF orientation

Common uses

  • Straightening a tilted horizon, building or document photo.
  • Fixing phone photos that appear sideways after uploading them somewhere.
  • Turning a batch of scans or screenshots by 90° or 180°.
  • Mirroring a selfie or a design, or making a rotated graphic with a transparent background.

Cropping or expanding after rotation

Turning a W × H picture by an angle θ makes it cover a larger, tilted area, so an upright frame either leaves empty triangles in the corners or has to be cropped.

  • Expand canvas keeps every pixel: the result is W·|cos θ| + H·|sin θ| wide and W·|sin θ| + H·|cos θ| high, with the corners transparent (PNG, WebP) or filled with your colour.
  • Crop (same proportions) keeps the original shape. The largest centred frame of the same proportions that fits is scaled by k = min(W ÷ (W·cos θ + H·sin θ), H ÷ (W·sin θ + H·cos θ)).
  • Crop (largest area) keeps the most picture, in a slightly different shape — useful when the exact proportions do not matter.

The line under the preview shows the result size and how much of the picture the crop keeps.

Lossless rotation and the EXIF Orientation tag

Cameras and phones often save photos as the sensor saw them and add an Orientation tag (EXIF tag 0x0112, defined in the CIPA DC-008 Exif standard) that tells viewers how to turn them: 1 is upright, 3 upside down, 6 and 8 sideways, and 2, 4, 5 and 7 add mirroring. Browsers and most apps follow it, which is why a photo can look right on your phone but sideways on a site that ignores it.

Lossless for JPG changes only that tag — combining your turn with the one the photo already has — so the JPG data stays bit-for-bit the same and other metadata is kept. It works for 90° steps and mirroring. Without it, the photo is drawn upright and saved fresh with orientation 1 (and no EXIF metadata), which every program shows correctly.

Limitations

  • Up to 100 photos at a time. Results larger than browsers can create (16,384 px on a side, about 67 megapixels) are scaled down, with a note.
  • Any-angle rotation recompresses the picture (JPG and WebP at the quality you set); only 90° steps and mirroring of JPGs can be lossless.
  • Lossless rotation depends on the viewer honouring the EXIF Orientation tag; some older programs and some websites ignore it.
  • GIF animations keep only their first frame here — use the GIF Resizer to rotate animated GIFs.
  • Saving without the lossless option removes EXIF metadata such as camera details and GPS location.

Privacy

Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.

Frequently asked questions

How do I straighten a crooked photo?

Select Straighten and drag a line along something that should be level (the horizon, a shelf) or upright (a wall, a door frame). The photo turns by the angle of your line. Fine-tune with the slider, and keep Crop (same proportions) to remove the empty corners.

Why does my photo look sideways on some websites but not on my phone?

The phone stored it sideways and added an EXIF orientation tag that viewers use to turn it upright. Sites that drop or ignore the tag show the stored, sideways pixels. Open it here and download it (with Lossless for JPG unticked): it is saved upright, so it looks right everywhere.

Is rotating a JPG lossless?

For 90°, 180° and mirroring, it can be: tick Lossless for JPG and only the orientation tag changes. Any other angle has to redraw the pixels, so the photo is re-encoded (at quality 92 by default, which is visually very close).

Are my photos uploaded?

No. They are decoded, turned and saved by your browser on your device, and the tool works offline once the page has loaded.

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.