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.
| Operation | What Changes | Text Readable? | Common Use |
|---|---|---|---|
| Horizontal flip | Left/right reversed | No (backwards) | Mirror selfies, design symmetry |
| Vertical flip | Top/bottom reversed | No (upside down) | Special effects |
| Rotate 90 CW | Orientation changes | Yes (sideways) | Fix landscape/portrait |
| Rotate 180 | Upside down → right side up | Yes | Fix upside-down scans |
How to Flip and Rotate with BestPNG
BestPNG's rotate tool handles both flipping and rotation in your browser.
Steps:
- Go to bestpng.com/tools/rotate
- Upload your image
- Choose your operation:
- Rotate 90, 180, or 270 degrees
- Flip horizontally or vertically
- Preview the result
- 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:
- Upload the selfie to BestPNG's rotate tool
- Apply a horizontal flip
- 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:
- Upload the sideways photo
- Rotate 90 degrees clockwise or counter-clockwise until it's correct
- Download the corrected version
Fixing Upside-Down Scanned Documents
Scanners sometimes produce upside-down results, especially when documents are placed incorrectly on the glass:
- Upload the scanned document
- Rotate 180 degrees
- Download the corrected scan
Creating Mirror/Symmetry Effects
For design work, flipping an image and combining it with the original creates symmetrical compositions:
- Upload your image
- Flip horizontally
- 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):
- Upload the product photo
- Flip horizontally if the product faces the wrong direction
- 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
| Value | Meaning |
|---|---|
| 1 | Normal (no rotation needed) |
| 2 | Flipped horizontally |
| 3 | Rotated 180 degrees |
| 4 | Flipped vertically |
| 5 | Rotated 90 CCW + flipped horizontally |
| 6 | Rotated 90 CW |
| 7 | Rotated 90 CW + flipped horizontally |
| 8 | Rotated 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.