Rotate or flip an image
Turn a photo by 90, 180 or 270 degrees, or mirror it, right in your browser. Handles the EXIF orientation tag correctly, so nothing rotates twice.
Drop files here (up to 50)
or paste from the clipboard
Preview
Choose an image and the result appears here as you change the options.
Shows the framing and geometry exactly. Compression quality is not simulated.
How it works
The image is decoded with the orientation tag already applied, so the pixels arrive the way the photographer saw them. A canvas is created with the width and height swapped for quarter turns, the drawing context is translated to the centre and rotated by your chosen angle, and the bitmap is drawn from its own centre. The tag itself is never read by this tool, which is what prevents the classic double rotation.
Measured results
These figures come from running this exact tool over a fixed set of sample files on every build, not from an estimate.
| Sample file | Settings | Before | After | Change |
|---|---|---|---|---|
| logo-transparent.png | 90° clockwise | 19 KB | 19 KB | +1% |
| photo-gradient.jpg | 90° clockwise | 504 KB | 473 KB | −6% |
| photo-gradient.png | 90° clockwise | 3.36 MB | 3.32 MB | −1% |
| screenshot-text.png | 90° clockwise | 219 KB | 89 KB | −59% |
Benchmark run 2026-08-01.
What to watch out for
The canvas encoder writes pixels and nothing else, so GPS coordinates, camera model, lens, exposure settings and timestamps do not survive. That is a privacy improvement if you are about to publish the photo and a real loss if you were relying on the capture date to sort your library.
Rotating by a quarter turn can be done losslessly by rearranging JPEG blocks, but that path is not available through a canvas. The image is decoded and compressed again, so a small amount of quality is spent. At the default setting it is hard to see; repeated rotations would accumulate.
Because orientation is baked into the pixels and no tag is written, the image looks the same in every program. Software that ignored the tag before will now agree with software that honoured it, which is usually the point, but it also means the change is permanent.
Limits
Files up to about 50 MB work reliably. Beyond that, the ceiling is your device's memory rather than any rule we impose — the work happens on your own machine. Tested in Chrome 140, Firefox 143, Safari 18.
The sideways photo problem
A phone camera does not usually rotate the picture it takes. It records the sensor’s view and adds a small note — the EXIF orientation tag — saying which way up the result should be shown. Most software reads that note. Some does not.
That single disagreement is why a photo can look correct in your gallery, correct in one browser, and lie on its side the moment you upload it somewhere. Nothing is wrong with the file; two programs simply disagree about whether to obey the note.
What this tool does about it
The decode step here applies the orientation tag explicitly, so whatever arrives on the canvas is already the right way up — the same view you saw in your gallery. Your chosen rotation is then applied on top of that, once.
The tool never reads the tag itself, and that omission is deliberate. Reading it a second time and rotating accordingly is the single most common bug in rotation tools: an upright photo goes in, and a sideways one comes out, because the correction was applied twice.
The saved file carries no orientation tag at all. The rotation lives in the pixels now, so every viewer agrees.
Mirroring is a different operation
Rotating and mirroring are not variations of the same thing. Turn a page of text by 180 degrees and it is upside down but still readable; mirror it and the letters are reversed for good.
The mirror option exists mainly for selfies. Many front cameras save the image reversed, so text on a shirt reads backwards. One horizontal flip fixes it. Applied to anything containing writing, it will do the opposite.
Batches, and nothing leaving your machine
Up to fifty images can be turned at once, and the work happens in a Web Worker on your own processor. No upload, so no waiting for two transfers, no size cap set by someone else’s hosting bill, and no copy of your photographs — with or without their location data — sitting on a server you have never seen.
Your files never leave your browser. Last updated 2026-08-01.
Next step
Your file is already here in this browser, so the next tool starts with it loaded.
- Resize an imageChange an image's dimensions in your browser. Set a width, a height or both, keep the aspect ratio, and pick the output format. Nothing is uploaded.
- Compress a JPGShrink JPG photos in your browser with MozJPEG, the same encoder Mozilla built for the web. Typically 20 to 40 percent smaller than a plain re-save.
Related tools
- Convert PNG to JPGConvert PNG images to JPG in your browser. Pick the quality and the colour that replaces transparency. Files are never uploaded and nothing is stored.
- Convert JPG to WebPConvert JPG photos to WebP in your browser and cut page weight without a visible quality drop. Nothing is uploaded and no watermark is added.