Blog / Tutorial

Flip and Rotate Images Online: Complete Mirror Guide

How to flip images horizontally or vertically, rotate 90/180/270 degrees, and fix phone photo orientation — free online tools and tips.

BBestPNG··6 min read

Flipping and rotating images are deceptively simple operations that come up in surprisingly many situations. A selfie that's mirrored. A scanned document that's upside down. A phone photo that displays sideways on your computer. A product image that needs to face the other direction.

This guide covers how to flip and rotate images, the difference between the two, how EXIF orientation works, and how to fix common orientation problems using free online tools.

Flip vs. Rotate: What's the Difference?

These two operations are often confused, but they do very different things:

Flipping (Mirroring)

Flipping creates a mirror image. The image is reflected along an axis:

  • Horizontal flip — left becomes right, right becomes left (like looking in a mirror)
  • Vertical flip — top becomes bottom, bottom becomes top (like flipping a pancake)

Flipping reverses the image. Text will appear backwards. Left-handed subjects will appear right-handed.

Rotating

Rotating turns the image around its center point:

  • 90 degrees clockwise — the top becomes the right side
  • 90 degrees counter-clockwise — the top becomes the left side
  • 180 degrees — the image is upside down (same as both flipping horizontally and vertically)

Rotating preserves the image's content direction — text remains readable, spatial relationships remain correct.

OperationWhat ChangesText Readable?Common Use
Horizontal flipLeft/right reversedNo (backwards)Mirror selfies, design symmetry
Vertical flipTop/bottom reversedNo (upside down)Special effects
Rotate 90 CWOrientation changesYes (sideways)Fix landscape/portrait
Rotate 180Upside down → right side upYesFix upside-down scans

How to Flip and Rotate with BestPNG

BestPNG's rotate tool handles both flipping and rotation in your browser.

Steps:

  1. Go to bestpng.com/tools/rotate
  2. Upload your image
  3. Choose your operation:
    • Rotate 90, 180, or 270 degrees
    • Flip horizontally or vertically
  4. Preview the result
  5. Download the transformed image

No sign-up, no software, no quality loss. The tool processes the image locally in your browser.

Common Use Cases

Fixing Selfie Mirror Effect

Front-facing phone cameras show you a mirrored preview (like a mirror), but many phones save the photo un-mirrored. This means the saved selfie might look different from what you saw on screen. To match the preview:

  1. Upload the selfie to BestPNG's rotate tool
  2. Apply a horizontal flip
  3. Download — the image now matches what you saw in the camera preview

Correcting Sideways Photos

When a photo appears sideways on your computer but looked fine on your phone, the issue is usually EXIF orientation data (more on this below). To fix it manually:

  1. Upload the sideways photo
  2. Rotate 90 degrees clockwise or counter-clockwise until it's correct
  3. Download the corrected version

Fixing Upside-Down Scanned Documents

Scanners sometimes produce upside-down results, especially when documents are placed incorrectly on the glass:

  1. Upload the scanned document
  2. Rotate 180 degrees
  3. Download the corrected scan

Creating Mirror/Symmetry Effects

For design work, flipping an image and combining it with the original creates symmetrical compositions:

  1. Upload your image
  2. Flip horizontally
  3. Place the flipped version next to the original in your design tool

Product Photography Direction

E-commerce product images often need subjects facing a consistent direction (typically facing right or toward the center of the page):

  1. Upload the product photo
  2. Flip horizontally if the product faces the wrong direction
  3. Download and use in your listing

Understanding EXIF Orientation

This is the hidden cause of most "my photo is sideways" problems.

What Is EXIF Orientation?

When you take a photo with your phone, the camera sensor always captures the image in the same physical orientation. But the phone knows which way you were holding it (via the accelerometer) and saves this information as an EXIF orientation tag in the image file.

The EXIF tag tells software: "This image was shot in portrait mode — display it rotated 90 degrees." Properly handling software shows the image correctly. Software that ignores EXIF data shows the raw sensor orientation — which often means a sideways photo.

The 8 EXIF Orientation Values

ValueMeaning
1Normal (no rotation needed)
2Flipped horizontally
3Rotated 180 degrees
4Flipped vertically
5Rotated 90 CCW + flipped horizontally
6Rotated 90 CW
7Rotated 90 CW + flipped horizontally
8Rotated 90 CCW

Why Photos Display Correctly on Phone but Not Computer

Your phone's photo viewer reads the EXIF orientation tag and rotates the display automatically. Some desktop applications (particularly older ones or certain web browsers) may not respect the EXIF tag, showing the image in its raw orientation.

The Fix: Bake the Rotation

The permanent fix is to physically rotate the pixel data to match the intended orientation and reset the EXIF tag to "Normal" (value 1). This is called "baking" the rotation. Once done, the image displays correctly everywhere.

BestPNG's rotate tool does this automatically — when you rotate an image and download it, the pixel data is physically transformed and the EXIF orientation is reset.

Rotation and Quality

Lossless Rotation for JPG

Rotating a JPG by exactly 90, 180, or 270 degrees can be done losslessly — without re-compressing and losing quality. This is because the DCT blocks that make up JPG compression can be rearranged without decoding and re-encoding.

Not all tools perform lossless JPEG rotation. If quality preservation is critical, verify that your tool supports it, or use PNG for intermediate editing steps.

No Quality Loss for PNG

PNG rotation is always lossless regardless of the angle, since PNG uses lossless compression. The rotated result is bit-for-bit identical in quality to the original.

Frequently Asked Questions

Does flipping an image reduce quality?

No. Flipping rearranges pixels without modifying their values. For JPG, quality depends on whether the tool re-compresses the image during the save step. BestPNG preserves maximum quality during flip operations.

Can I rotate an image by a custom angle (like 15 degrees)?

Standard rotation tools handle 90-degree increments. Custom-angle rotation requires interpolation (creating new pixel values for the rotated grid), which introduces a very slight softness. Some tools support custom angles — check if the result meets your quality needs.

Why does my rotated photo have white corners?

This happens when rotating by a non-90-degree angle. The rectangular image is rotated inside a larger rectangle, and the areas outside the original bounds are filled (usually with white or transparent). Crop the result to remove these corners.

How do I rotate a PDF or scanned document?

For image-based scans (JPG, PNG), use BestPNG's rotate tool. For actual PDF files, use a PDF editor or the Preview app on Mac (Tools → Rotate Left/Right).

Can I flip just part of an image?

Whole-image flip tools flip the entire image. To flip a specific region, use a layer-based editor like Photoshop, GIMP, or Figma — select the area, copy to a new layer, and flip that layer.

Conclusion

Flipping and rotating are basic but essential image operations. Sideways phone photos, mirrored selfies, upside-down scans — these are all quick fixes that take seconds with the right tool.

BestPNG's free rotate tool handles 90/180/270 rotation, horizontal and vertical flipping, and EXIF orientation correction — all in your browser, with no quality loss.

Fix your image orientation free →

Selling on Amazon, Shopify or Etsy?

Turn your product photos into studio-grade shots — white-background main images, model try-on, full listing suites. 5 free generations.

Try AI Product Photos →

Continue reading

Tutorial
PNG vs JPG: When to Use Which Format (Complete Guide)
5 min read
Tutorial
How to Make a Meme: The Complete Guide
7 min read
Tutorial
Rotate Photo Online: How to Fix Image Orientation
6 min read