Rotate and flip an image

Turn an image by a quarter turn, or mirror it horizontally or vertically.

Local processing
YOUR WORKSPACE

Your image stays on this device.

Generated test graphic · 1,200 × 800 px · Transparent PNG

Try 90° clockwise, then a horizontal flip. The labeled corners and arrow make the direction easy to check.

Loading the sample replaces the workspace image. Your original file stays unchanged.

Output settings

Flips use the original image axes, then rotation is applied. A new image or Reset clears these settings.

JPG uses a white background for transparent areas.

Choose an image or load the sample to get started.

Image preview

Your image will appear here

Processed in your browser

No upload, no sign-up. Your original file is never changed.

Your inputs stay on this device. No account or file upload needed.

Why does the order of flipping and rotating matter?

This tool mirrors on the decoded source image’s original axes, then rotates clockwise. After a quarter turn, the original horizontal direction differs from the screen’s horizontal direction. The order therefore changes the combined result.

Worked examples

Starting point
An 800 × 600 image rotated 90° clockwise, with no flips.
Result
A 600 × 800 image; the original bottom-left corner moves to the top-left.
Why it happens
A quarter turn swaps width and height. Follow a distinctive corner or word in the preview to verify the intended direction.
Starting point
An 800 × 600 image flipped horizontally, then rotated 90° clockwise.
Result
A 600 × 800 image; the original bottom-right corner moves to the top-left.
Why it happens
The flip first moves that corner to the bottom-left; rotation then moves it to the top-left. Rotating first and flipping afterward would produce a different arrangement.
Starting point
An 800 × 600 image with both horizontal and vertical flips, at 0° rotation.
Result
The same 800 × 600 dimensions, with the same geometric orientation as a 180° turn.
Why it happens
The geometry matches a half turn; re-encoded files need not have identical bytes.

Choose for the job

A photo is sideways with readable lettering.
Use a 90° or 270° turn without a flip. Mirroring would reverse the lettering.
A horizon needs a slight adjustment, such as 3°.
Use an editor with arbitrary-angle rotation. This tool supports only quarter turns and does not straighten a tilted horizon.

Repeated exports can change the image

Quarter turns need no angled-edge interpolation, but JPG export still re-encodes pixels. Apply flips and rotation together, then export once rather than saving several intermediate JPGs.

How these examples are derived

Rotation is applied after the browser decodes the source orientation. Flips use the decoded image’s original axes, followed by 0°, 90°, 180° or 270° clockwise rotation. Quarter turns swap dimensions when appropriate, and export creates a new file.

How to use image rotate & flip

Rotate a photo clockwise by 90, 180 or 270 degrees, or flip it across its original horizontal or vertical axis. Check the exported preview before downloading a new image. Your original file stays unchanged.

  1. Choose one static JPG, PNG or WebP image.
  2. Choose a clockwise rotation and optional horizontal or vertical flips. Flips are applied along the original image axes before rotation.
  3. Choose the output format, process the image and download the previewed result.
TRY THIS EXAMPLE

Turn a landscape image into a portrait

Rotating an 800 × 600 image clockwise by 90 degrees produces a 600 × 800 image. The original bottom-left corner moves to the top-left. Turning it by 180 degrees keeps its dimensions.

Good to know

  • Only quarter turns are supported, so rotation does not need to invent pixels along angled edges.
  • The browser applies EXIF orientation when decoding the original; the selected rotation is applied after that.
  • PNG and supported WebP preserve transparency. JPG uses a white background. Exporting re-encodes the image and does not preserve arbitrary metadata.

Common questions

What happens when I flip and rotate together?

Horizontal and vertical flips use the original decoded image axes first. The chosen clockwise rotation is then applied. This order is fixed so the result is predictable.

Can I rotate by an arbitrary angle?

This tool supports 0, 90, 180 and 270 degrees. Arbitrary angles, animation and batch processing are not supported.