Image Cropper

Crop PNG, JPEG or WebP by pixel coordinates. Set the origin, width and height with keyboard-accessible fields.

Drop files here. Files stay on your device.

How to use

Coordinates start at the top-left of the decoded image: X increases to the right and Y downward. Enter an integer origin and crop dimensions. A blank width or height extends from the origin to that image edge.

For a 200 × 100 image, X=20, Y=10, width=80 and height=40 extract an 80 × 40 region. The selected rectangle must fit completely inside the source. This tool uses numeric controls rather than a drag selection.

Choose a ratio preset to fit the largest exact integer-multiple rectangle inside the requested crop box, anchored at X/Y. Free uses the dimensions as entered.

Behavior and limits

Input limit: 40 MiB, 40 million pixels and 10,000 pixels per side. Preview the result before downloading. JPEG uses a white background for transparency; metadata and color profiles may change during re-encoding.

Questions & answers

Can the rectangle extend outside the image?

No. Out-of-bounds coordinates produce an error instead of silently padding or shrinking the selection.

Can I use this without uploading data?

Processing runs on your device. Input is not sent to a conversion API. Keep the page open until the result is ready.

Other Languages