Crop Images to the Exact Dimensions You Need
Almost every image ends up with unwanted edges, extra background, or the wrong aspect ratio for the place it needs to go. The Image Cropper trims any picture to custom dimensions using four numbers: the X and Y start position plus the width and height of the crop area. You need it when a profile photo must be square, a hero banner must fit a wide slot, or a screenshot contains a distracting border you want to remove. Because the crop runs locally in your browser, you can iterate quickly, re-check the result, and download only when the framing is exactly right. No account, no upload, no waiting.
How to Crop an Image by X, Y, Width, and Height
- Open the Image Cropper and load your image from the file picker or by dragging it onto the page.
- Look at the current dimensions, then decide the top-left corner of the area you want to keep.
- Enter the X offset and Y offset values, for example
x=120andy=80, to position the crop window on the source image. - Set the width and height of the crop, such as
width=800andheight=600, and check that the selection stays inside the image bounds. - Adjust the values until the preview shows the framing you want, then download the cropped result.
Real Example: Input and Output
A 2400x1800 screenshot contains a toolbar along the top and empty space on the left. Cropping to a 16:9 area starting at the right position removes the clutter and produces a clean slide-ready image.
| Input | Output |
|---|---|
screen.png (2400x1800) | screen-cropped.png (1920x1080, x=480&y=360) |
Tips for Best Results
- Plan the aspect ratio first — decide whether you need square, 4:3, or 16:9 before entering numbers so you do not crop twice.
- Keep subjects clear of the edges — leave a little breathing room around faces and important details so nothing feels cramped.
- Stay inside the bounds — a crop rectangle that extends past the image edge gets clamped, which may shift your framing.
- Use the biggest source you have — cropping then upscaling looks soft, so start from the highest-resolution original you can find.
- Mind the focal point — when the final image is small, center the crop on the element viewers should notice first.
- Export a backup crop — if you are unsure about the final size, download a slightly larger crop now; trimming again later costs nothing.
When to Use This Tool
- Profile pictures — make any photo a perfect square for avatars and social accounts.
- Banner and cover images — cut wide, cinematic slices from ordinary photos.
- Screenshot cleanup — remove toolbars, watermarks, and dead space before publishing.
- Product thumbnails — frame each product consistently so catalog grids look uniform.
Frequently Asked Questions
What do the X and Y values mean?
They are the coordinates of the top-left corner of the crop area, measured in pixels from the top-left corner of the source image. X moves right, Y moves down.
Does cropping reduce the quality of the image?
No. Cropping only removes pixels; the pixels that remain keep their original resolution and quality.
Can I crop to a specific aspect ratio?
Yes. Choose the width and height so the ratio matches, for example 1080 by 1080 for a square or 1920 by 1080 for 16:9.
What happens if my crop values are larger than the image?
The crop area is clamped to the image bounds, so the output may be smaller than you requested. Reduce the width or height to fit.
Is there a way to crop without entering numbers?
You can use the preview to find the right values visually, then fine-tune the numbers until the selection matches your intended framing.
Will the file format change after cropping?
No. The output keeps the format of the input, such as JPEG, PNG, or WebP, with the same encoding settings.
Can I undo a crop after downloading?
No, the cropped pixels are gone from the output. Keep the original file if you think you might need the full frame later.
Why would I crop instead of resizing?
Resizing squeezes the whole image into new dimensions, which distorts it. Cropping removes content, so the aspect ratio changes without stretching anything.