Image Transform
Crop to exact pixel coordinates, rotate by 90, 180 or 270 degrees and flip horizontally or vertically in a single pass, then keep the original format or export PNG, JPEG, WebP, BMP, TIFF or AVIF, entirely in your browser.
What it does
- Pixel-exact crop with X, Y, width and height
- Rotate 90, 180 or 270 degrees without resampling
- Horizontal and vertical flip
- Keep the format or export PNG, JPEG, WebP, BMP, TIFF or AVIF
- Batch mode: same transform on many images, one ZIP
- Runs locally, files never leave your browser
Cropping a product photo, turning a sideways scan upright and mirroring a selfie are three small jobs that usually mean opening an image editor. This tool does all three in one pass: set a crop rectangle in pixels, choose a rotation, tick a flip, and download the result in the format you need. Because the crop uses exact numbers rather than a hand-drawn selection, it is also the quickest way to cut the same region out of a series of screenshots or to hit a precise size required by a form or a template.
How to crop, rotate or flip an image
- Drop a PNG, JPG, WebP, BMP, TIFF or AVIF image, or several images for a batch. The file details show the detected format and the size in pixels.
- To crop, tick Enable crop. The X, Y, Width and Height fields start at the full image (0, 0, full width, full height); change them to the area you want to keep.
- Choose a rotation: 0, 90, 180 or 270 degrees (clockwise).
- Tick Flip horizontal and/or Flip vertical if needed.
- Pick an output format: Keep (same as the source) or PNG, JPEG, WebP, BMP, TIFF or AVIF. For JPEG and AVIF, set the quality (default 90).
- Click Apply Transform, check the preview and the output size, then download.
The order of operations
All transforms are applied in a fixed order: crop first, then rotate, then flip horizontally, then flip vertically. The practical consequence is that crop coordinates always refer to the original, unrotated image, exactly as it is stored in the file. You do not need to work out where a region ends up after rotation: measure it on the source, enter it, and choose the rotation separately.
Cropping with pixel coordinates
X and Y are the position of the top left corner of the crop area, measured from the top left of the image. Width and height are the size of the area to keep. For example, to keep the central 1080 x 1080 square of a 1920 x 1080 photo, enter X 420, Y 0, width 1080, height 1080. The crop must fit inside the image: if X plus width exceeds the image width (or Y plus height exceeds its height), the tool reports that the rectangle is out of bounds instead of silently clipping it.
Rotation and flipping
- 90, 180 and 270 degrees: rotation in quarter turns moves pixels without any resampling, so no detail is lost and no blur is introduced. A 90 or 270 degree turn swaps width and height.
- Flip horizontal: mirrors the image left to right. Useful for front camera selfies, mirrored text in photos, or a product shot that should face the other way in a layout.
- Flip vertical: mirrors top to bottom. Combined with a horizontal flip it gives the same result as a 180 degree rotation.
Free-angle rotation (for example straightening a horizon by 3 degrees) is not available: the tool deliberately sticks to lossless quarter turns.
Output format and quality
- Keep: saves in the same format as the input, except AVIF input, which is saved as PNG because your browser decodes it to PNG first (pick AVIF explicitly to get AVIF back). Note that a JPEG is still re-encoded at the chosen quality, so it goes through one more round of lossy compression.
- PNG, BMP, TIFF: lossless. Pick PNG for screenshots, graphics and anything with transparency.
- WebP: written losslessly here, a compact choice for web graphics.
- JPEG: lossy, smallest for photos. Transparent areas become white because JPEG has no alpha channel.
- AVIF: modern lossy format with strong compression; encoding takes longer on large images.
To scale the image to new dimensions as well, use the image resizer after cropping. For format changes without any transform, the image converter is the direct route.
Phone photos and EXIF orientation
Phones often store a photo sideways and add an EXIF orientation tag that tells viewers to display it upright. This tool works on the pixels as stored and does not read that tag, and the output is re-encoded from pixels, so EXIF metadata (including orientation, camera details and GPS location) is not copied to the new file. If a phone photo comes out sideways, simply apply the rotation that makes it upright. If you want to inspect or remove metadata deliberately, use the EXIF viewer and remover.
Batch transforms
Select several images and the same crop, rotation, flips and output format apply to every one. Each result is named after its source with a -transformed suffix, and multiple results download together as transformed-images.zip. This works best for series of the same size, such as screenshots from one device or pages from one scanner. A crop rectangle that does not fit a smaller image fails for that file only; the others complete and the error is reported.
Compared with an editor or the command line
Photo editors offer interactive cropping and free rotation, which is better when you are framing a single picture by eye. ImageMagick (convert in.jpg -crop 1080x1080+420+0 -rotate 90 out.jpg) or jpegtran do precise, scriptable transforms, and jpegtran can even rotate JPEGs without re-encoding. This tool gives you the same precise, repeatable parameters without installing anything, plus batch processing from the browser.
Private by design
The images you crop are often the ones you would rather not upload: scans of ID cards and contracts, screenshots with personal data, family photos. Every operation here runs in your browser tab through Rust compiled to WebAssembly. The file is decoded, transformed and encoded locally, and no request sends it to a server. You can verify it in the Network tab of your developer tools.
Frequently asked questions
- How do I crop an image to an exact size?
- Tick Enable crop and enter the width and height you need, plus the X and Y position of the top left corner. The output will be exactly that many pixels.
- Does rotating reduce image quality?
- The rotation itself is lossless because it works in 90 degree steps. Quality only changes if you save as JPEG or AVIF, which re-encode with lossy compression.
- Can I rotate by an arbitrary angle?
- No. Only 90, 180 and 270 degrees are supported.
- Why is my phone photo sideways after transforming?
- The original relies on an EXIF orientation tag, which this tool does not apply. Add a 90 or 270 degree rotation to make it upright.
- How do I mirror an image?
- Tick Flip horizontal for a left to right mirror, or Flip vertical for top to bottom.
- Are my images uploaded?
- No. Everything runs locally in your browser. Nothing is sent to or stored on a server.