LocalExcelTool
Get started

Image Rotator

Rotate 90°/180°/270° or flip horizontally / vertically. Batch several into one ZIP.

Runs in your browserNo account neededFree

What is Image Rotator

The Image Rotator rotates an uploaded image by 90°, 180° or 270°, or flips it horizontally or vertically. EXIF orientation is ignored — pixels are processed as displayed. Runs in your browser; the file never leaves your device (5 MB per image). Output is PNG. Select several images to get one ZIP — free up to 5, Pro up to 50.

File

No file chosen

… up to 5 files

🔒 Everything runs in your browser. Nothing is uploaded.

What this tool actually does with your file

Where it runs
In your browser, on this page
Upload
None — the file never leaves your device
Size limit
25 MB free, 25 MB with Pro
Files per run
5 free, 50 with Pro
Offline
Works with the network disconnected

Lossless for some formats, lossy for JPEG

Rotating a PNG by 90 degrees is lossless: pixels move, none are interpolated. Rotating a JPEG through a canvas re-encodes it, so each operation costs a generation of quality — rotate the same photo five times and the degradation is visible.

Arbitrary angles are lossy in every format because the image must be resampled onto a new grid. The corners either get cropped or filled with a background colour, and there is no way to rotate by 17 degrees without deciding which.

The EXIF orientation flag is the real culprit

Phone cameras often store the sensor image unrotated plus a flag saying how it should be displayed. Viewers honour the flag; some tools do not. That is why a photo looks upright in the gallery and sideways after being uploaded somewhere.

Re-saving through a canvas bakes the rotation into the pixels and drops the flag, which permanently fixes the orientation — at the cost of the metadata discussed in the compressor entry. This is usually the desired outcome for a photo destined for the web.

Flipping and rotating are not the same

A 180-degree rotation is not a horizontal flip, though both can look plausible on a symmetric subject. Text is the giveaway: a mirrored image has reversed letters, a rotated one has letters rotated but in the right order.

If the intent was to correct a mirrored scan, rotating will never fix it — the operation needed is a flip, and applying both by mistake returns an image that looks correct in orientation and is still mirrored.

How to use it

  1. 1.Choose an image file
  2. 2.Pick a rotation or flip, then run
  3. 3.Download the result

How Image Rotator works under the hood

Every image operation here is decode → transform pixels → re-encode. That order matters: it explains both why resizing is exact and why repeated compression slowly degrades a photo.

  1. 1

    Decode to a pixel buffer

    The browser's own decoder turns the file into RGBA pixels. EXIF orientation is applied at this step so portrait photos are not sideways.

  2. 2

    Draw at the target size

    The pixels are drawn onto a canvas at the requested dimensions with high-quality smoothing, which is where resampling actually happens.

  3. 3

    Encode with a chosen quality

    canvas.toBlob re-encodes to JPEG, WebP or PNG. Quality applies to lossy formats only; PNG ignores it and stays lossless.

  4. 4

    Hand back a Blob

    The encoded bytes become a download link. No network request is involved at any point.

  5. Processing pipeline

Why the file gets bigger sometimes

Re-encoding is not free. Converting a small, well-compressed JPEG to PNG usually makes it several times larger, because PNG is lossless and must store every pixel exactly. The same happens when a JPEG is re-saved at quality 1.0. If size is the goal, keep the format and lower the quality; if transparency is the goal, PNG or WebP is the right choice.

Metadata is dropped on purpose

Camera EXIF can contain GPS coordinates, device serial numbers and timestamps. Re-encoding through canvas writes fresh pixels and no metadata, which is a privacy win but means the location tag is gone. If you need metadata preserved, this pipeline is the wrong tool.

Formats the browser cannot open

HEIC and HEIF (the default on recent iPhones) are not decodable by most browsers, so they cannot be converted client-side. TIFF and some camera RAW formats fail for the same reason. There is no server fallback here by design — the file never leaves your device, so if the browser cannot read it, the tool cannot either.

Verify it yourself

Re-encoding happens locally. Check the network panel while it runs.

  1. 1.Open DevTools on this page and switch to the Network tab
  2. 2.Keep the filter on Fetch/XHR and run the tool
  3. 3.Confirm no request carries your file — you should see only page assets and fonts

Frequently asked questions

What happens to the dimensions at 90°?

Width and height swap — e.g. 1200×800 becomes 800×1200.

Why is my phone photo sideways?

EXIF orientation is ignored and pixels are processed as displayed. Check the result and rotate again if needed.

Can I rotate several images at once?

Yes — the same rotation is applied to every selected image, then packed into one ZIP. Free covers 3 images, Pro up to 50.

What this kind of conversion cannot keep

Image work happens on a canvas: the file is decoded, drawn, re-encoded and handed back as a download. Nothing is uploaded, so a 20 MB photo costs you nothing but a few seconds. Re-encoding always loses a little quality — that is true of every tool, including desktop software.

More in Image