3tej home
← All Files & Media tools

What is Image Rotate?

A Image Rotate computes your exact age in years, months and days. It applies the standard formula to the values you enter and returns the result instantly, without sending any data to a server. Useful for paperwork, registration forms and birthday calculations.

Image Rotate

Rotate by any angle. Browser-only, instant.

🔄
Drop image here or click to select

About this tool

Image rotation handles two common problems: phone photos shot in portrait that show as landscape on certain devices (an EXIF metadata issue), and images you want to physically rotate by 90 / 180 / 270 degrees or a custom angle for layout reasons.

This tool bakes the rotation directly into the pixels rather than just flipping an EXIF orientation tag, which means the result looks correct everywhere - email clients, photo viewers, web browsers, even apps that ignore EXIF. 90 / 180 / 270 rotations are mathematically lossless (the pixel grid just reorders), so you can rotate JPGs without re-compression artifacts. Custom angles (any non-multiple of 90) require resampling and a small amount of edge-pixel softening.

How it works

  1. Open the image

    Drop or pick a file. EXIF orientation is read and applied automatically so what you see is what gets saved.

  2. Pick a rotation

    Click the 90 / 180 / 270 buttons for stepped rotation, or type a custom angle (any number, positive = clockwise).

  3. Choose the canvas

    For 90/270 rotations the canvas swaps width and height. For custom angles, the canvas grows to fit the rotated rectangle - corner triangles fill with transparency (PNG/WebP) or white (JPG).

  4. Download

    The rotated image saves with the rotation baked into pixels. EXIF orientation is reset to "1" so no viewer applies a second rotation.

Use cases

Phone photos shot wrong

The accelerometer-based "auto rotate" sometimes records the wrong orientation. The image looks correct in Photos.app but lands sideways when emailed or uploaded.

Scanned documents

A flat-bed scanner picks up whatever orientation you placed the page in. Rotate to upright before OCR or PDF conversion.

Architectural photos

Tilt a horizon line to perfectly level by typing a custom angle (typically 0.5-3 degrees).

Templates and meme generators

Layouts that expect a specific aspect ratio (e.g. landscape 4:3) need an upright source; rotate first then crop.

Format and spec details

Lossless rotations90, 180, 270 degrees - pixel grid simply reorders
Lossy rotationsAny custom angle - requires bilinear resampling
EXIF orientation values1 = upright, 3 = 180, 6 = 90 CW, 8 = 90 CCW
Supported formatsJPG, PNG, WebP, GIF (single frame), BMP, AVIF

Tips and best practices

  • Always rotate before cropping - the pixel coordinates change after a rotation.
  • For perfectly level horizons, use a 0.5-2 degree tweak, not a multiple-of-15.
  • If your image rotates "by itself" between devices, save it through this tool once - the EXIF reset stops the auto-rotation chain.
  • PNG and WebP keep transparency on custom rotations; JPG fills with white.

Why convert images to PNG

PNG is the right choice when you need lossless quality, transparency (alpha channel), or sharp lines that JPG smears - logos, screenshots, UI mockups, diagrams. PNG files are larger than JPG but the quality is pixel-perfect.

Image format comparison

FormatCompressionTransparencyAnimationColor depthBrowser support
JPG / JPEGLossyNoNo8-bitUniversal (since 1992)
PNGLosslessYes (alpha)No (APNG ext.)8/16-bit + alphaUniversal (since 1996)
WebPBothYesYes8-bit + alphaAll modern (96% global)
AVIFLossy (AV1)YesYes10/12-bit HDRChrome, Firefox, Safari 16+
GIFLossless palette1-bitYes256 colorsUniversal
HEIC / HEIFLossy (HEVC)YesYes10-bit HDRiOS, macOS, Win10+

File size comparison (same 1920x1080 photo)

Typical file size for a 1920x1080 photo (smaller is better)JPG (quality 85)~320 KBWebP (quality 85)~195 KBAVIF (quality 85)~130 KBPNG (lossless)~1.85 MB

WebP is ~40% smaller than JPG for the same visible quality. AVIF is ~60% smaller, but still has slower encoders and limited compatibility with older Windows tools.

When NOT to convert

  • To JPG, if you have transparency: JPG drops alpha. The transparent pixels render as your chosen background colour.
  • To JPG repeatedly: every save loses quality (generation loss). Re-edit from the original whenever possible.
  • To PNG, if you need small files: PNG can be 5-10x larger than JPG. Use only when transparency or lossless quality is required.
  • To WebP, if your audience is on very old systems: IE11 and pre-2020 email clients (Outlook 2019, etc.) don't render WebP.

How browser-based conversion works

This tool uses the HTML5 Canvas API. When you drop a file:

  1. FileReader reads the image into a binary blob that stays in your browser memory.
  2. An <img> element decodes the blob to a bitmap.
  3. A <canvas> of matching dimensions is created, and the bitmap is drawn onto it.
  4. canvas.toBlob() re-encodes the bitmap to your target format at your chosen quality.
  5. URL.createObjectURL produces a download link to that blob.

The original file never uploads anywhere - all of the above happens in your tab. The encoded output exists only in your browser until you download it.

Quality settings demystified

JPG and WebP quality is a 0-100 scale. It's not linear - quality 85 keeps ~95% of perceived detail at ~25% of the file size compared to quality 100. The sweet spot for photos is quality 80-85. Drop to 70-75 for thumbnails, raise to 95+ for archival masters.

Privacy and offline operation

Every operation in this tool runs client-side using your browser's built-in APIs (Canvas, Web Audio, WebAssembly). No data is uploaded. After the initial page load you can disconnect from the internet and the tool keeps working.

We use Google Analytics and AdSense for the page itself, but neither sees the content of the files you process.

Frequently asked questions

Does rotating a JPG lose quality?

A 90/180/270 rotation is mathematically lossless if you avoid the re-encoding step. This tool re-encodes to ensure the EXIF tag is reset, but the visual difference is usually invisible. For zero re-encoding use jpegtran on the command line.

What is EXIF orientation and why does it matter?

EXIF is metadata embedded in the image file. Orientation is a 1-8 code that tells viewers how to display the image. When viewers ignore it (browsers historically did), portraits show as landscape.

Why does my custom-angle rotation have white corners?

Rotating a rectangle creates corner triangles outside the original frame. JPG cannot represent transparency so the corners are filled with white. Save as PNG or WebP to keep them transparent.

Can I rotate an animated GIF?

Only the first frame is processed in the browser. For animated GIF rotation use a server-side tool that handles each frame.

How do I rotate an image without losing the geo-tag?

EXIF rotation is reset on save, but other EXIF tags (GPS, camera model, date) are also stripped by Canvas re-encode. To preserve metadata, use a tool like exiftool that copies tags after rotation.

Are uploaded images sent to a server?

No. All conversion happens in your browser using the Canvas API. The file never leaves your device. You can disconnect from the internet after the page loads and the tool still works.

Will the converted file have the same dimensions?

Yes by default. The canvas is sized to match the source image's intrinsic width and height. EXIF orientation is automatically applied so phone photos won't appear rotated.

What happens to EXIF and metadata?

Most converters (including this one) strip EXIF on re-encode for privacy. GPS coordinates, camera serial number, and timestamps are all removed unless explicitly preserved by an option.

Can I convert in bulk?

Yes - drop multiple files at once. Each is converted independently and produces its own download link. Large batches may slow your browser; convert 20-50 at a time.

Why is my converted file larger than the original?

Usually because the original used a more efficient algorithm. Converting a JPG to PNG always makes the file larger (PNG is lossless). Converting an AVIF to JPG also typically grows the file.

Does HEIC work in this browser?

Safari 13+ and Chrome 119+ (with flag) decode HEIC natively. Other browsers fall back to JavaScript decoders that work but are slower. The tool will tell you if your browser cannot read your file.

How accurate is the Image Rotate?

It applies the standard formula. Accuracy is limited only by your input precision. For decisions with material consequences (taxes, medical, legal, structural), use the result as a starting point and verify with a qualified professional in the relevant field.

Is the Image Rotate free to use?

Yes. 100% free, no signup, no payment, no API key. The site is funded by display ads around the tool but not inside the calculation flow.

Are my inputs saved anywhere?

No. All inputs stay in your browser tab. Closing the tab discards them. The site uses Google Analytics for traffic measurement (anonymized) but the analytics never see what you type into the form.

Can I use the Image Rotate on my phone?

Yes. The tool is responsive and tested on iOS Safari, Android Chrome, and major desktop browsers. Touch targets meet Apple's 44pt and Google's 48dp minimum.

Does the Image Rotate work offline?

Yes. Once the page has loaded, it works without internet. The calculation runs in JavaScript on your device.

How do I report a bug or suggest improvement to the Image Rotate?

Email hi@3tej.com with the URL of this page and a description of what you saw vs expected. We typically respond within 72 hours.

Can I share results from the Image Rotate?

Take a screenshot or copy the output. The page doesn't generate shareable URLs for specific calculations - inputs stay in your browser only.

Why are the results different from another image rotate tool?

Most likely: different formula assumptions, different default values, different rounding rules, or different applicable rates. Check the methodology if both tools document it. Both can be valid for different scenarios.