How to use the Image Cropper
- 1Upload a PNG, JPG, or WebP image file from your device using the upload button at the top left.
- 2Click Rotate 90°, Flip H, or Flip V if you need to correct orientation or mirror the photo before cropping.
- 3Select Free Crop, a preset aspect ratio (1:1, 4:3, 16:9, or 9:16), or Custom Ratio, then fine-tune X Offset, Y Offset, Crop Width, and Crop Height in pixels.
- 4Check the live preview rectangle and Source vs. Output Crop dimension readout, then click Copy Crop Dimensions or Download Cropped Image.
What the Image Cropper does
The Image Cropper runs orientation transforms and pixel-accurate cropping strictly inside your browser tab via HTML5 canvas:
- Preserves your uploaded file format—exporting PNG files losslessly and JPG or WebP files at 0.94 quality without transmitting photos to any server.
- Applies 90-degree rotation plus horizontal and vertical flips onto an oriented canvas before computing the cropped slice.
- Locks Crop Height automatically whenever 1:1, 4:3, 16:9, 9:16, or a Custom Ratio is active, while letting you type any exact pixels under Free Crop.
- Clamps X Offset, Y Offset, Crop Width, and Crop Height inside oriented source bounds and includes Copy Crop Dimensions beside Download Cropped Image.
Example
Source: hero.jpg (1920 × 1080 px) | Ratio: 1:1 | X: 420 px | Y: 0 px | Width: 1080 px | Height: 1080 px
File: cropped-1080x1080.jpg | Dimensions: 1080 × 1080 px centered square slice
Clicking Rotate 90° swaps the Source dimensions readout from 1920×1080 to 1080×1920 immediately so crop offsets always stay aligned to the rotated canvas.
Frequently asked questions
Does cropping an image here reduce its quality?
PNG exports are lossless. For JPG and WebP files, re-encoding through browser canvas at high quality (0.94) keeps details sharp while trimming unwanted pixels outside the crop rectangle.
Are my photos uploaded to a server when cropping?
No. The image file loads into browser memory via FileReader and is transformed and exported exclusively through local HTML5 canvas APIs.
How do I crop an image to an exact pixel size?
Leave Free Crop active (or select a matching ratio first) and type your exact target numbers into Crop Width (px) and Crop Height (px), then adjust X Offset and Y Offset to position the rectangle before downloading.
Can I rotate or flip an image before cropping?
Yes. Click Rotate 90°, Flip H, or Flip V above the ratio buttons; the source dimensions readout updates automatically so your crop offsets align with the rotated image.
Related tools
View All ToolsImage Resizer
Resize image dimensions (width and height in pixels) maintaining exact aspect ratio, ideal for responsive srcset setups.
Aspect Ratio Calculator
Calculate simplified aspect ratios and proportionally locked pixel width or height for images and video, with common presets and visual preview box.
Image Compressor
Client-side image compression: reduce file sizes of JPEG, PNG, and WebP images while preserving high visual fidelity.