Tools/Image Tools/Image Flip & Rotate

Flip Image Online – Mirror or Rotate 90°, 180°, 270°

Flip images horizontally or vertically and rotate by 90°, 180°, or 270°. Free browser-based image editor - no watermark, no login, instant download.

If this tool isn’t working as expected, please take a screenshot of the error and report the problem here so we can investigate and improve it.

Processing & Output Details

Photos taken sideways on mobile often have incorrect orientation in certain apps even when they look right on the phone. Manually rotating them exports a version with the correct pixel orientation rather than relying on EXIF metadata that some apps ignore.

Flip images horizontally or vertically (mirror), or rotate in fixed 90° steps - 90°, 180°, or 270° - with multiple transformations combinable in one result. There's no arbitrary-angle or straighten slider; rotation moves in 90° increments only. Corrects sideways phone photos, mirrors selfies, and rotates landscape images to portrait.

How to Use Image Flip & Rotate

Upload Image

Select a JPG, PNG, WebP or GIF image to edit (a GIF uses its first frame).

Flip or Rotate

Click flip horizontal, flip vertical, or choose a rotation angle.

Preview Result

The canvas updates instantly so you can preview before downloading.

Download Image

Save the edited image as a PNG file to your device.

Step-by-Step Workflows

Fix a Sideways Phone Photo

Rotate 90° clockwise or counterclockwise to correct a photo that displays sideways outside your phone's own gallery app.

Mirror a Front-Camera Selfie

Use Flip Horizontal to match how you actually look in a mirror, since front cameras capture the reversed view.

Combine Flip and Rotate

Apply Flip Horizontal, Flip Vertical, and a 90° rotation together - all combine into one final result before download.

Straightening needs a different editor

This tool only rotates in fixed 90° steps - for a tilted horizon that needs a few degrees of straightening, use an editor with arbitrary-angle rotation. The Image Cropper changes the framing but does not rotate the horizon.

Compress After Rotating

Since the output is always PNG, a rotated JPEG photo can come back as a larger file - run it through the Image Compressor afterward if file size matters.

What to expect

  • Flip horizontally (mirror left-right) or vertically (mirror top-bottom), and rotate in 90° steps - all transformations can be combined and applied together before downloading.
  • Flipping and 90°-step rotation are lossless pixel rearrangements, and the output is always saved as PNG, so this tool doesn't add compression artifacts of its own.
  • Runs entirely in your browser via the Canvas API - transparency in PNG uploads is preserved, and rotating 90°/270° automatically swaps the output's width and height.

Practical Examples

Fix a photo that uploads sideways

Source & Action

photo.jpg - 3000x4000 portrait photo that displays sideways outside the phone's gallery app, Rotate 90° clicked

Result

flipped-rotated.png - 4000x3000, pixel data now correctly oriented

Rotating 90° swaps the output's width and height automatically. Since JPEG's original compression already happened when the photo was taken, this tool doesn't add further loss on top - it rearranges pixels losslessly and saves the result as PNG.

Mirror a front-camera selfie horizontally

Source & Action

selfie.jpg - 1080x1920 front-camera portrait, Flip Horizontal clicked

Result

flipped-rotated.png - 1080x1920, true mirror perspective restored

Front-facing smartphone cameras often save unmirrored raw sensor captures, making your face, clothing logos, or gestures look reversed compared to what you saw on screen while posing. Clicking Flip Horizontal reflects pixels across the vertical axis so the saved picture matches how you look in a physical mirror.

Correct an upside-down document scan

Source & Action

receipt_scan.png - 1200x1800 document fed upside down, Rotate 180° clicked

Result

flipped-rotated.png - 1200x1800, right-side up for readable text and OCR

When pages are fed upside down into flatbed scanners or document feeders, Rotate 180° turns the canvas completely around its center in a single click. The dimensions remain 1200x1800, text becomes immediately legible, and transparency or contrast is preserved for downstream OCR or archiving.

Common File Mistakes

Problem

Looking for an arbitrary-angle or straighten slider

Solution

Rotation moves in fixed 90° steps only (90°, 180°, 270°) - there's no slider for small-angle straightening. Cropping can change the framing, but it cannot level the horizon; use an editor with a straighten or arbitrary-angle control.

Problem

Uploading an animated GIF and expecting the animation to survive

Solution

An animated GIF loads and can be flipped or rotated, but only its first frame is captured - the download is always a static PNG, so any animation is lost.

Problem

Expecting the download to keep the original filename

Solution

The downloaded file is always named flipped-rotated.png, regardless of what your uploaded file was called.

Problem

Assuming a rotated JPEG downloads as a JPEG

Solution

This tool always outputs PNG, even for a JPEG upload - the result can be noticeably larger than the original file.

File & Browser Limits

No arbitrary-angle rotation

Only 90°, 180°, and 270° rotation are available - there's no slider for straightening a slightly tilted photo.

Output is always PNG

Regardless of the uploaded format - JPEG, WebP, or GIF - the download is always a PNG file, which can be larger than the original.

Animated GIFs lose their animation

An uploaded GIF loads and transforms normally, but only the first frame is captured - the result is always a static PNG.

Fixed download filename

The result always downloads as flipped-rotated.png, not a name based on your original file.

One image at a time

This page processes a single image per run - there's no batch or bulk flip/rotate option.

Comparison

Flip vs Rotate

Flipping mirrors the image across an axis; rotating turns it around its center point. They solve different problems and can be combined.

Flip (Horizontal / Vertical)Rotate (90° / 180° / 270°)
What happensThe image is mirrored - left-right or top-bottom - content is reversedThe image is turned around its center - content is reoriented, not reversed
FixesA selfie that looks backwards, or content needing a mirrored versionA photo that displays sideways or upside-down
Can combine with the other?Yes - flip and rotate apply together in one resultYes - flip and rotate apply together in one result

Which should you use?

Use Flip when the image needs to be mirrored, like a selfie. Use Rotate when the image just needs to be turned the right way up. Both apply together if you need both.

Quick Reference

Image Transform & Orientation Reference Table

How each transform operation changes pixel coordinates, canvas dimensions, and visual orientation in your browser.

OperationVisual Effect & AxisTypical Practical Use Case
Flip Horizontal (Mirror)Reflects pixels across the vertical center axis (scaleX(-1)). Dimensions remain unchanged. Left and right swap; text reads backwards.Mirroring front-facing camera selfies, fixing reversed webcam captures, creating symmetrical design graphics.
Flip VerticalReflects pixels across the horizontal center axis (scaleY(-1)). Dimensions remain unchanged. Top and bottom swap.Creating upside-down reflection mockups, inverting upside-down documents, or correcting inverted camera mount captures.
Rotate 90° ClockwiseTurns the canvas 90° clockwise around center. Width and height are automatically swapped.Correcting portrait photos taken on mobile devices that display sideways on desktop due to missing EXIF handling.
Rotate -90° (270°)Turns the canvas 90° counterclockwise (270° clockwise). Width and height are automatically swapped.Correcting landscape photos taken in counterclockwise orientation or aligning vertical artwork.
Rotate 180°Turns the canvas completely upside down around center. Dimensions remain unchanged.Fixing upside-down document scans from flatbed scanners or photos taken with inverted phone orientation.

Frequently Asked Questions

The most common question is why a photo looks correct on the phone but appears sideways when uploaded. Phones store rotation in EXIF metadata rather than rotating the actual pixels. Some apps (email attachments, websites) ignore EXIF and display the raw pixel orientation. Explicitly rotating the image fixes this by changing the actual pixel data.

How do I mirror an image horizontally?

Click Flip Horizontal. A horizontal flip reflects the image across its vertical axis (mirror image), reversing left and right so text reads backwards. This is ideal for correcting front-camera selfies so they match how you see yourself in a physical mirror.

Why does my photo appear sideways when I upload or share it?

Smartphones often record photo orientation in EXIF metadata rather than rotating the underlying pixel data. Many web browsers, email clients, and image viewers do not read or apply EXIF orientation tags, displaying the raw sideways pixels. Rotating the photo with this tool physically reorients the pixel canvas and saves it, ensuring it displays correctly everywhere regardless of EXIF support.

What is the difference between flipping and rotating?

Flipping reflects an image across an axis (horizontal or vertical mirror) so the content is reversed. Rotating turns the entire image around its center point by 90°, 180°, or 270° without mirroring. Flipping looks like a reflection; rotating turns the image right-side up.

Does flipping or rotating reduce image quality?

No. Flipping and 90-degree rotations are lossless pixel rearrangements on an HTML5 canvas. The edited result is saved as a lossless PNG, meaning no additional compression artifacts are introduced. However, because PNG is a lossless format, a converted photo originally saved in lossy JPEG format may result in a larger file size.

Can I flip and rotate in the same step?

Yes. You can combine multiple actions—such as flipping horizontally and rotating 90°—in the same editing session. The canvas updates live with each click, and downloading saves the single combined result.

Can I rotate by an arbitrary angle like 45° or straighten a horizon?

No. This tool rotates in fixed 90-degree increments only (90°, 180°, 270°). For straightening a tilted photo by a few degrees, use CoditTools Image Cropper to crop along the desired boundary.

Does this tool support transparent PNGs and animated GIFs?

Transparent PNG and WebP files retain full alpha transparency through all flip and rotate operations. For animated GIF files, the browser decodes only the first frame, and the result is downloaded as a static PNG (animation is not preserved).

Get more tools like this

Leave your email so we can prioritize similar tools and updates.