Loading image tools…
Loading image tools…
Rotate to any angle in your browser. Nothing is uploaded.
A photo taken sideways on a phone, a scanned document that landed upside down, a screenshot that needs to be turned 90° before it makes sense — these are quick fixes that shouldn't require installing an editor. This tool rotates images by exact 90°, 180°, or 270° presets, or any custom angle in between, directly on the canvas in your browser. Standard rotations are lossless since pixels simply move to new positions with no resampling, and the canvas automatically expands so nothing gets cropped off the edges. Because everything runs client-side, your photo is never uploaded to a server — you rotate, preview, and download in seconds.
or, drag and drop images here
JPG, PNG, WebP, GIF, BMP · up to 50MB each
Resize images to specific dimensions or percentages without losing quality
Bulk UploadReduce image file size while maintaining quality
Bulk UploadCrop and trim images to your desired aspect ratio
Create print-ready passport photos for 17+ countries — white/blue/custom background, adjustments, and multi-photo print sheets.
Upload your image
Drag and drop or click to select your image.
Pick a rotation
Use the 90°/180°/270° quick buttons, or drag the slider for a custom angle.
Click Rotate Image
The rotation renders instantly using your browser's Canvas API.
Download the result
Preview the rotated image and download it to your device.
Under the hood, rotating an image means drawing it onto an HTML canvas after applying a rotation transform around a pivot point — typically the image's own center. The canvas context's rotate() method takes an angle in radians and spins the entire coordinate system before the image is drawn, so every pixel of the source lands in a new position on the output canvas. For 90° and 270° rotations, the visual effect is a quarter-turn: what was the top edge becomes the right or left edge, and — critically — width and height swap. A 1920×1080 landscape photo becomes a 1080×1920 portrait image. A 180° rotation just turns everything upside down in place, so dimensions stay the same.
Because rotating a rectangle by anything other than a multiple of 90° produces a shape that no longer fits neatly inside its original bounding box, this tool calculates the new bounding box before drawing — expanding the canvas so the full rotated image fits without any corners being clipped. Those newly exposed corner regions, where the rotated image doesn't reach, render transparent if you're working with PNG or WebP, or get filled with white if you export as JPEG, since JPEG has no alpha channel to represent transparency.
Rotation is easy to confuse with flipping, but they're different operations. Rotation spins content around a center point through an angle; flipping mirrors content across an axis, reversing left and right or top and bottom without any change in angle. If what you actually need is a mirror image rather than a turned one — correcting a selfie that reads backward, for instance — use the Flip Image tool instead. The two operations are also composable: some corrections, like fixing a photo that's both upside down and mirrored, need both.
A meaningful technical distinction sits between 90°-increment rotations and arbitrary-angle rotations. Because 90°, 180°, and 270° map every source pixel onto an exact integer position in the destination grid, no interpolation is needed and the operation is effectively lossless — the same pixels, just relocated. An arbitrary angle like 15° or 42°, by contrast, means most destination pixels fall between source pixels, so the canvas has to interpolate colors to fill them in. This is unavoidable and produces a very slight softening, most noticeable if you rotate the same image by odd angles multiple times in a row. For leveling a slightly crooked horizon in a landscape photo or straightening a scanned document, that tradeoff is well worth it — just try to get the angle right in one pass rather than nudging it several times.
Choosing the right rotation angle depends on what correction you're making. The four most common angles — 90°, 180°, 270°, and 360° (which is the same as 0°, a no-op) — cover most use cases where an image was captured or scanned in the wrong orientation. Each has a distinct visual effect and a typical scenario where it's the right choice.
A 90° clockwise rotation takes what was the top edge of the image and moves it to the right side. This is the classic fix for a portrait photo that was taken in landscape mode, or a screenshot captured sideways. After the rotation, width and height swap — a 1920×1080 landscape becomes 1080×1920 portrait. If you rotate 90° clockwise three times, you've effectively rotated 270° clockwise, which is the same as 90° counter-clockwise.
A 180° rotation flips the image upside down without changing its width or height. This is useful when a document was scanned upside down, or a photo was accidentally taken while the camera was inverted. Because it's a 180° spin around the center, every pixel moves to the opposite corner of the rectangle, but the rectangle itself stays the same size. Unlike 90° or 270°, there's no axis swap, so a 1920×1080 image stays 1920×1080.
A 270° clockwise rotation is the same as a 90° counter-clockwise turn. It moves the top edge to the left side, which is the opposite of a 90° clockwise rotation. This is the fix for the less common case where a portrait photo ended up rotated the "other" way. Like 90°, it swaps width and height, so dimensions change from landscape to portrait or vice versa.
Any angle that isn't a multiple of 90° is considered arbitrary or custom. These are essential for straightening photos where the horizon is slightly crooked — a tilt of 2–5° is common when shooting handheld, and visually distracting even though the angle is small. Scanned documents also frequently land at slight angles if the paper wasn't perfectly aligned on the scanner bed. The tradeoff is that custom angles require pixel interpolation, which introduces a very slight softening compared to the mathematically exact 90° rotations. For most images, this softening is imperceptible and far preferable to leaving a crooked horizon. Just avoid rotating the same image by custom angles repeatedly — each pass compounds the blur.
It's also worth noting that rotating by 1° leaves almost the entire image visible with tiny triangular gaps at the corners, while rotating by 45° produces large triangular gaps because the rotated rectangle's corners extend much farther outside the original bounding box. If those gaps are unacceptable — for instance, if you need a perfectly rectangular image with no transparent or white padding — you'll need to crop after rotation, which some tools do automatically but this one does not. The philosophy here is to preserve every pixel of your original image rather than making assumptions about what should be cropped away.
While rotating an image might seem like a one-size-fits-all operation, the context matters. Here are the most common scenarios where rotation is the right tool for the job, along with tips specific to each.
Modern smartphones embed EXIF orientation metadata in photos so that gallery apps can display them right-side up even if the sensor captured them sideways. But not all software respects EXIF — older image viewers, some social media platforms, and most web browsers (outside of the file input itself) ignore it, which means a portrait photo can appear sideways when uploaded or embedded. The fix is to rotate the image 90° or 270° in a tool like this one, then re-export it. The new file is written with the correct pixel layout and no EXIF rotation flag, so it displays correctly everywhere.
Flatbed scanners produce perfectly straight scans only if the document is aligned exactly with the edges of the glass. In practice, most scans land at a slight angle — sometimes just 1–3°, but enough to be visually obvious when the text isn't parallel to the page edges. A small custom rotation, guided by visual inspection or by aligning the text with a horizontal reference line, corrects this. For documents that were scanned completely upside down, a 180° rotation is the quickest fix.
Handheld landscape photography often results in a horizon line that's tilted a few degrees left or right. The human eye is extremely sensitive to horizon tilt, so even a 2° deviation looks wrong. Rotating the image by that small custom angle levels the horizon and makes the composition feel stable. The slight interpolation softening from a 2–5° rotation is invisible to viewers and far less distracting than a crooked skyline. Some photo editors include a horizon-detection tool that suggests the correct angle automatically; this tool leaves that judgment to you, but the slider makes it easy to fine-tune by eye.
Screenshots captured on a phone or tablet in landscape mode but meant to be viewed in portrait (or vice versa) need a 90° or 270° rotation. This is especially common with game screenshots, app mockups, and mobile browser captures where the device was held sideways during capture but the final image is meant to be viewed upright. Unlike photos, screenshots rarely need custom angles — they're pixel-perfect rectangles by definition — so 90° increments are almost always sufficient.
Print layouts and presentation software (like PowerPoint or Keynote) expect images to be oriented correctly before import. If a photo is rotated 90° and you place it in a document, it may overflow the frame or force the layout to compensate. Rotating the image to the correct orientation beforehand ensures it fits the intended space without manual adjustment later. This is also critical for batch workflows — a folder of mixed-orientation photos can be time-consuming to fix one-by-one inside a layout tool, but rotating them in advance streamlines the import process.
Digital cameras and smartphones often store orientation information in the EXIF metadata of JPEG files rather than physically rotating the pixel data. This "EXIF orientation" flag tells software how the image should be displayed — rotated 90°, 180°, 270°, or mirrored — without actually rewriting the image pixels. The advantage is speed: the camera doesn't need to process and resave the image after every shot. The disadvantage is inconsistency: some apps honor EXIF orientation, others ignore it, and the result is that the same photo can appear right-side up in one viewer and sideways in another.
Most modern browsers, including Chrome, Safari, and Firefox, automatically apply EXIF orientation when you load an image via a file input, so a photo that appears sideways in a file explorer will display correctly once uploaded into this tool. This auto-correction happens before the image is drawn to the canvas, meaning the tool sees the already-rotated version. If you then apply a 90° rotation, you're rotating from that corrected state, not from the raw sensor orientation.
When you download the rotated result, the tool writes it as a standard image with top-left orientation and no EXIF rotation flag. This "bakes in" the correct orientation at the pixel level, so the image displays consistently across all software, even viewers that don't support EXIF. If your workflow requires preserving the original EXIF metadata — GPS coordinates, camera settings, timestamps, copyright — you'll need a tool that explicitly copies EXIF fields from input to output. This tool prioritizes simplicity and universal compatibility over metadata preservation, which is the right tradeoff for most casual rotation tasks.
One edge case worth noting: if you upload a photo that looks correct (because the browser auto-applied EXIF rotation), you may not need to rotate it at all. Simply downloading it through this tool strips the EXIF orientation flag and rewrites the pixels in their corrected layout, which solves the inconsistent-display problem without any manual rotation step. This is a surprisingly common workflow for users who just want to "fix" photos that display correctly on their phone but sideways on their computer.
Unlike most online tools, Toolivon processes everything directly in your browser using the Web APIs built into Chrome, Firefox, Safari, and Edge.
Last updated:
Your images never leave your device
All processing runs directly in your browser using built-in Web APIs — the Canvas API, Web Audio API, and WebAssembly. Nothing is uploaded to any server. There is no account, no email, and no data retention. You can verify this yourself: open your browser's DevTools Network tab and watch zero outbound file requests while the tool processes your images.
GDPR-friendly · Works offline after page load · No file size limits beyond your device memory