Image Rotate & Flip
Rotate in lossless quarter turns, mirror, or straighten by any angle. EXIF orientation is handled once and transforms are baked into the export.
Transform stack
no imageApplied steps (click to remove)
Transformed preview
no previewLoad an image to rotate or flip it
Examples
Sideways phone photo
JPEG with orientation 6 → load → exportUpright PNG with no conflicting EXIF tagThe visible rotation is baked into pixels exactly once.
Scan straightening
Angle −7.5° → white corner fillExpanded canvas with white wedgesNo source pixels are cropped to keep the rectangular export.
Mirror reference art
Flip horizontal → Rotate 90° CWCombined lossless transformBoth steps are re-orderable via their chips before export.
About this tool
The Image Rotate & Flip tool turns photos by 90° steps, mirrors them and straightens them by arbitrary angles, then bakes the result into the downloaded pixels. Quarter turns and flips are integer pixel remaps with no resampling, while angled straightening uses bilinear sampling and expands the canvas to the rotated bounding box.
EXIF orientation is applied once by the browser decoder and shown as a badge; canvas re-encoding drops the stale tag so the file renders the same way everywhere. Transform steps stack and each chip can be removed individually, and angles within 0.05° of a quarter turn snap to the lossless path instead of adding a pointless resample.
Choose transparent, white, black or gray corner fill for angled rotations, preview at the working size and export at full resolution as PNG or JPEG. JPEG output warns that transparency is flattened. Everything happens locally — no image is uploaded.
What this tool does not do
- Angled rotation resamples pixels; PNG preserves it better than JPEG.
- Canvas re-encoding drops all metadata, including GPS and camera tags.
- Inputs above 64 MP are rejected with a downscale suggestion.
- Only the first frame of an animated image is transformed.
How to use this tool
Load a photo
Drop a PNG, JPEG or WebP. A badge reports any EXIF orientation the browser applied.
Add transforms
Click Rotate 90° CW/CCW, 180°, Flip horizontal or Flip vertical. Steps stack in the order you add them.
Straighten optionally
Set an angle from −45° to +45° and click Apply angle. The canvas expands automatically.
Remove a step
Click a transform chip to undo that step; Reset clears the whole stack.
Export
Download PNG to keep alpha, or JPEG for a smaller file with flattened corners.
Use cases
CMS asset prep
Normalize orientation so photos render identically in every viewer.
Document scans
Straighten skewed pages without clipping the corners.
Reference-art checks
Flip sprites and layouts to test symmetry or alternate compositions.
Transform paths
| Operation | Pixel behavior |
|---|---|
| Rotate 90° / 180° / 270° | Integer remap; width and height swap on quarter turns |
| Flip horizontal / vertical | Integer remap across the vertical or horizontal axis |
| Arbitrary angle | Bilinear resample; bbox = ceil(|w·cosθ| + |h·sinθ|) by ceil(|w·sinθ| + |h·cosθ|) |
| Angle snap | Within 0.05° of a quarter turn becomes a lossless op |
| Output | PNG with alpha or JPEG at quality 0.92 with a flattened background |
Transforms are recomputed from the decoded source on every change, so repeated edits never compound resampling or JPEG generation loss.
Frequently asked questions
Does rotating lose quality?
Quarter turns and flips do not resample: every source pixel is remapped to exactly one destination pixel. Angled straightening does require bilinear interpolation, so it is labeled as a resampling path. Exporting a JPEG recompresses once in either case; PNG keeps the transformed pixels exactly.
Why does my photo show sideways in some apps?
Cameras store an EXIF orientation tag instead of rotating the pixels. Viewers that honor the tag show the photo upright; others show the raw sensor orientation. This tool applies the tag once during decode and bakes the visible transform, so the export looks the same everywhere.
What happens to EXIF data on export?
Canvas re-encoding drops metadata, including the orientation tag and GPS/camera information. That is a privacy bonus: the exported file contains pixel data only, and the transform you see is final.
Does arbitrary-angle rotation degrade the image?
Some softening is inherent in resampling. The tool rotates at native resolution on export, uses high-quality interpolation and never repeatedly resamples intermediate steps — each preview and export recomputes from the decoded source.
Can I keep the original file?
Yes. Nothing is overwritten in place; the tool only downloads a new file. It also keeps the original name as a base and appends -transformed, so exports do not collide with your source.
What fills the corners when I straighten a photo?
Choose transparent, white, black or neutral gray. Transparent works with PNG output; JPEG cannot store alpha, so angled corners are flattened to white with a warning before export.
Related tools
APCA Contrast Calculator
Calculate directional APCA 0.1.9 Lc contrast scores and compare them with WCAG 2.1 ratios.
Barcode Generator
Generate barcodes in 8 formats (CODE128, EAN13, UPC, and more) — configure line width, height, and text display, then download as SVG or PNG.
Base64 Image Encoder
Open the Image workspace in Base64 Toolbox to resize and convert images to Base64 data URIs, then copy HTML, CSS, Markdown or JavaScript snippets.
Batch Image Resizer
Resize multiple images with width, height, percentage or max-dimension rules and renaming, privately.
BlurHash Generator
Encode an image into a compact BlurHash string and verify it with a live decode preview.
CSS Container Queries Lab
Generate CSS container queries and preview responsive component patterns