A landscape photo turned portrait
- Input
- Photo 4032 × 3024 px, rotate 90° clockwise
- Working
- A quarter turn swaps the dimensions: width becomes the old height and height the old width — 3024 × 4032.
- Result
- Output = 3024 × 4032 px
Rotate an image by 90, 180 or 270 degrees or flip it horizontally or vertically — in your browser, with exact output dimensions. Never uploaded. Runs entirely in your browser — your numbers never leave this device.
No image loaded yet. Load one and rotate or flip it — the download is rendered on this device at the image's full resolution, and nothing is uploaded.
Your image is processed entirely in your browser and never uploaded: it is decoded on your own device, redrawn in the orientation you choose, encoded and offered back as a download. Nothing reaches a server, is stored or logged, and the tool works offline once the page has loaded. The operations are the six exact transforms of a rectangle: rotate 90° clockwise, 180° or 270° clockwise, flip horizontally (mirror left-to-right), flip vertically (mirror top-to-bottom), and combinations you reach by applying one transform and, if needed, running the result through again.
One behaviour is stated on purpose, because it surprises people: decoding applies the image's EXIF orientation on load. A phone photo stored sideways with a rotation flag is therefore shown — and measured, and rotated — as the upright picture you recognise, and its displayed dimensions are the upright dimensions. If such a photo seems to need no rotation here but did in another tool, that is why: the EXIF turn has already been applied once, deliberately, before your chosen transform. The output file is a fresh encode of the corrected, transformed pixels, so it displays the same way everywhere, flag or no flag.
Rotation by a right angle and flipping are lossless in geometry — every source pixel lands in exactly one destination pixel, none are interpolated — though re-encoding as JPEG re-applies JPEG's own lossy compression, so use PNG output when the image will be edited further. Dimensions follow the formula above with no exceptions: quarter turns swap width and height, half turns and flips keep them. A 4032 × 3024 landscape photo rotated 90° is a 3024 × 4032 portrait file, and the readout states the output dimensions before you download.
No. The image is decoded, transformed and encoded entirely inside your browser; it never leaves your device, is never stored or logged, and the tool works with the network off.
Because decode applies the EXIF orientation flag on load, the same as every Kwikfig image tool. Phones often store the pixels sideways plus a flag saying how to display them; the flag is honoured here first, so the dimensions you see and rotate are the upright ones, and the output is encoded already-upright so it shows correctly everywhere.
The transform itself is exact: quarter turns and flips move pixels without interpolation. What can cost quality is the output format — JPEG re-encoding is lossy at any quality below its maximum — so choose PNG when the rotated image will be edited further, and JPEG for final sharing.
A 270° clockwise rotation is a quarter turn anticlockwise: it swaps width and height and turns the content. A flip keeps the dimensions and mirrors the content — horizontal flip is a mirror image, vertical flip is a top-to-bottom inversion. They are different transforms; a mirrored selfie cannot be produced by any rotation.
No — this tool performs the exact right-angle rotations and flips, which are lossless. Arbitrary angles require resampling every pixel and leave empty corners to fill or crop, a different operation that this tool does not claim to do. Straightening a slightly tilted photo belongs to an editor with a crop-after-rotate step.
More in Image Tools · Browse all tools