Image cropper
Crop images by dragging a selection or entering pixel coordinates, with 1:1, 16:9 and other ratios
Load an image, pick a ratio, drag the selection or type pixel coordinates, click Crop to preview, then download.
Drag the selection or its handles. Arrow keys move it (Shift for 10 px); Alt + arrows resize. Coordinates use original pixels.
Example
Input
sample.png (generated, 1200×800) · ratio 1:1 · centered selection
Example result
sample-crop.png · 720×720 · X 240, Y 40
At 1:1 the default selection is 90% of the shorter side, 800 × 0.9 = 720 px, centered both ways. Drag or type new coordinates to adjust it.
Technical details & limits
Coordinates start at the original image's top-left corner (0, 0) and use original pixels regardless of on-screen zoom. The selection always stays inside the image and is rounded to whole pixels. Cropping copies the selected pixels 1:1 without resampling, so quality depends only on the output encoding. Orientation from EXIF is applied before cropping. The result is re-encoded through Canvas without metadata, and transparent areas become white in JPEG output.
About this tool
Crop a single image locally in your browser. Drag the selection and its 8 handles, or type X, Y, width and height in pixels. Lock 1:1, 4:3, 3:2, 16:9 or portrait ratios, keep the original ratio, or crop freely. The selection supports keyboard nudging, and the result is previewed before download as the original format, JPEG, PNG or WebP. Nothing is uploaded.
How to use
- Drop, choose or paste one image.
- Pick a ratio and drag the selection or its handles, or type X, Y, width and height.
- Click Crop to preview the result, then download it.
Input & output
- Input
- One JPEG, PNG, WebP, AVIF, BMP or GIF (first frame) image, up to 50 MB and 50 megapixels.
- Output
- A cropped JPEG, PNG or WebP file matching the selection size.
- Limits
- One image at a time; no rotation, scaling or circular crop; metadata and animation are not kept.
Notes
Arrow keys move the selection (Shift for 10 px); Alt + arrows change its size. For a fixed output size, run the crop through the image resizer afterwards.
FAQ
- How do I crop a photo into a 1:1 square avatar?
- Choose the 1:1 ratio. The selection then shows only its four corner handles, and width and height stay equal while you drag or resize it. From a 3000×2000 photo the largest possible square is 2000×2000 pixels. Cropping never rescales the pixels, so if a platform requires exactly 512×512, pass the cropped result through the image resizer afterwards to reach that size.
- Can I crop using exact pixel coordinates?
- Yes. X and Y are measured from the original image's top-left corner at (0, 0), and width and height use original pixels, for example X 100, Y 50, width 800 and height 600. Values that would extend past the image are pulled back inside its edges automatically. When a ratio is locked, changing the width recalculates the height to match, and changing the height recalculates the width.
- Does cropping reduce image quality?
- Cropping itself does not, because the selected pixels are copied 1:1 without any rescaling. Only the output encoding can affect quality. PNG is lossless, while JPEG and WebP use a default quality of 92, which introduces slight compression loss. For the most faithful result, choose PNG output or raise the quality slider to 100, accepting a larger file in exchange.
Related tools