Skip to content

Crop Image

Crop a region of an image.

X (px)
Y (px)
Width (px)
Height (px)

Input

Output

—

About Crop Image

Crop Image cuts out a rectangular region of an image defined by where it starts and how large it is. You give the position of the top-left corner and the size of the area you want, and you get back that rectangle alone — the standard way to remove a distracting edge, cut a portrait out of a wider frame, or trim a screenshot down to the part that matters.

Coordinates are measured from the top-left corner of the image, in pixels, which is the convention nearly every graphics tool uses. Sizes are clamped rather than rejected: if the rectangle you describe runs past the edge of the image, the crop stops at the boundary and you get a smaller result. That is more forgiving than an error, though it does mean a rectangle that is mostly outside the image can produce a surprisingly small output.

Cropping cannot add anything. There is no fill and no outpainting, so a region extending beyond the edge gives you only the part that exists. Because the operation is a straight rectangular cut, results are exact — the retained pixels are unchanged from the original, which matters if the crop is going to be measured or compared.

How to use Crop Image

  1. 1 Choose the image to crop.
  2. 2 Enter the X and Y offsets of the top-left corner of the region you want.
  3. 3 Enter the width and height of the region.
  4. 4 Check the result against your numbers, since a rectangle past the edge is trimmed to fit.

Frequently asked questions

Where is the origin measured from?

The top-left corner of the image, with X increasing to the right and Y downwards. That is the near-universal convention for image coordinates, so values taken from a graphics editor or a design file can be used directly.

What happens if my rectangle is larger than the image?

It is trimmed to the image boundary, so you get the largest region that actually exists rather than an error. Check the dimensions of the result if the crop looks smaller than expected, since that is the signal that your rectangle extended past the edge.

Is the cropped image stretched to fill anything?

No, the retained region keeps its own proportions. If you need a specific output shape, crop to a region with that shape rather than resizing afterwards, which would distort the content instead of reframing it.

Can I crop to a fixed aspect ratio?

Not with this tool, which takes explicit pixel offsets and dimensions. Working out the numbers from your target ratio first gives the same result with more control, since you can choose exactly which part of the frame to keep.

Free, online, and private

Free to use

Crop Image is completely free. There is no account to create, no login, and no hidden charge or usage limit.

Runs online in your browser

It is a free online tool that runs entirely in your browser. Nothing to download or install — open the page and start using it right away.

Your data stays private

All processing happens locally on your device. Your input is never uploaded, stored, or tracked, so it never leaves your browser.

How Crop Image behaves in detail

These are the specifics of this implementation — the exact ranges, defaults and fixed settings you are working with.

Parameter Value
Origin measured from the top-left corner; x and y both default to 0 and cannot go below 0
Default rectangle 300 wide by 300 high, starting at the top-left corner
Oversized requests clipped to whatever pixels remain — a width larger than the remainder is reduced to the remainder itself
Coordinates floored to whole pixels before the rectangle is cut, so a fractional x or y is silently trimmed
Output PNG sized exactly to the crop, not to the source image

Compiled from the implementation of this tool and checked against it by itoolnet.

What Crop Image does not do

Knowing the edges of a tool saves more time than another list of its features. These are the cases where it will not do what you might expect.

  • An origin at or past the right or bottom edge is not reported as an error. The remaining extent becomes zero or negative and nothing clamps it back to one, so the canvas is handed an invalid size instead of the tool refusing the rectangle.
  • There is no aspect-ratio lock, no drag-a-box preview and no centre preset on this page — the rectangle is four numbers you work out yourself, and a mistake only becomes visible after the crop has already been produced.
  • Cropping is destructive to the copy you get back: anything outside the rectangle is gone from the output, and recovering it means starting again from the original file rather than widening the box.

Tested and documented by itoolnet, the team that builds and maintains this site.

Share & embed this tool

Writing a guide or article? You are welcome to link to Crop Image with the snippet below. It is free, runs entirely in your browser, and needs no signup.