Image Cropper

Crop an image to an exact pixel rectangle, right in your browser.

Crop images by exact pixel coordinates

This image cropper cuts a precise rectangle out of your picture. You give it a starting point (X, Y — measured from the top-left corner) and the Width and Height of the region you want to keep. The selected pixels are copied onto a fresh canvas and returned as a download, and the file never leaves your browser.

Coordinates that always stay in bounds

Numeric inputs give you pixel-perfect control without wrestling a drag handle. Whatever you type is automatically clamped to the image, so you can never crop outside the edges — the effective values are written back into the boxes and the live preview updates as you go.

How to use the Image Cropper

  1. Choose an image. Pick any JPG, PNG or WebP file from your device.
  2. Set the origin. Enter X and Y — the top-left corner of the crop, in pixels.
  3. Set the size. Enter the Width and Height of the region to keep.
  4. Download. Save the cropped image — it is generated instantly in your browser.

Frequently asked questions

Is my image uploaded to crop it?

No. Cropping runs entirely in your browser with the Canvas API; the file is never uploaded, stored or seen by any server.

What do X and Y mean?

They are the pixel coordinates of the top-left corner of your crop, measured from the top-left of the image. X is horizontal, Y is vertical.

What if I enter values outside the image?

They are automatically clamped to the image bounds, so the crop always stays inside the picture. The adjusted values appear in the input boxes.

Does cropping change the format?

No. The cropped file keeps your original format where possible (JPG or WebP) and otherwise saves a PNG.