Image Cropper
Choose the part of your image to keep.
1. Choose image & settings
Still JPEG, PNG or WebP. Up to 20 MiB, 8 MP and 4096 px per side.
No image selected.
Original image — drag to select a crop
Select an image to begin.
2. Preview & download
No imageThe crop result appears here. Adjust the selection or coordinates to make another crop.
Processed locally, same file format. Exports may remove metadata and re-encode lossy formats.
How to crop an image to the area you want
Keep a rectangular part of an image and remove everything outside it, without scaling the selected area.
- Select Choose image to open a still JPEG, PNG or WebP. The full image is selected initially.
- On the original image preview, drag from one corner of the area you want to keep to the opposite corner. For a precise crop, enter Left (px), Top (px), Width (px) and Height (px) instead. The centered presets set a rectangle; they do not lock its shape as you drag.
- Read the output dimensions and check the selection: the shaded area is what will be removed. Select Crop image to create the result.
- Check the result preview and dimensions, then select Download image to save a new file in the same format.
The crop is processed locally in your browser; the original file is not uploaded to an image-processing server or modified. You can adjust the selection and crop again from the loaded original. Changes to the rectangle clear the previous download result. Use Reset to clear the selection and load a file again.
This tool handles one still image at a time, up to 20 MiB (20,971,520 bytes), 8,000,000 pixels and 4,096 pixels per side. All three source limits apply, even when you only want a tiny crop. The tool makes rectangular crops, not circular masks, background removal or animated images.
Enter an exact crop in pixels
Left and Top locate the upper-left corner of the rectangle, starting at zero in the image itself. Width and Height are the size of the area to keep, not the coordinates of the opposite corner. The preview may be much smaller than the image on your device; use the pixel values shown for the image, not its apparent size on the screen.
For a 1600 × 1000 px screenshot, suppose you want to keep an 800 × 600 px area beginning 320 pixels from the left and 150 pixels from the top:
| Field | Enter |
|---|---|
| Left (px) | 320 |
| Top (px) | 150 |
| Width (px) | 800 |
| Height (px) | 600 |
The right boundary is at 1120 and the bottom boundary is at 750. The saved image is 800 × 600 px, not 1120 × 750 px. You can record these four values to repeat the same rectangle on another image with the same framing and dimensions.
If your specification instead gives two edge coordinates, subtract the left edge from the right edge to get Width, and the top edge from the bottom edge to get Height. For example, boundaries at x = 320 and x = 1120 span 800 pixels. If you have inclusive pixel indices (320 through 1119), include both endpoints: 1119 − 320 + 1 = 800.
Trim a known number of pixels from each edge
For that same 1600 × 1000 image, remove 120 px from the left, 80 from the right, 50 from the top and 150 from the bottom. Enter Left 120, Top 50, Width 1400 and Height 800. Width is 1600 − 120 − 80; Height is 1000 − 50 − 150. This is useful for removing screenshot borders or blank margins without shrinking the content inside.
Why the crop button is unavailable
All four entries must be whole numbers. Left and Top cannot be negative, and Width and Height must be at least 1. The rectangle must fit entirely inside the original:
- Left + Width cannot exceed the image width.
- Top + Height cannot exceed the image height.
For example, Left 900 and Width 800 reach 1700 on a 1600 px wide image. To keep an 800 px width, move Left to 800 or less. To keep the starting point at 900, reduce Width to 700 or less. This tool refuses an invalid rectangle rather than silently clipping it or adding pixels. If you need picture content beyond an edge, start with a larger original. If you only need blank space around the picture, use the image padding tool.
Crop to a square, 16:9 or another exact ratio
Choose a Centered crop preset to select the largest whole-pixel rectangle of that ratio that fits inside your image. A ratio describes shape, not a fixed export size.
For example, a 2400 × 1601 px image gives these starting selections:
| Preset | Crop dimensions | Left / Top |
|---|---|---|
| 1:1 Square | 1601 × 1601 | 399 / 0 |
| 4:3 | 2132 × 1599 | 134 / 1 |
| 3:2 | 2400 × 1600 | 0 / 0 |
| 16:9 | 2400 × 1350 | 0 / 125 |
| 2:3 Portrait | 1066 × 1599 | 667 / 1 |
Each dimension is a whole-number multiple of the ratio’s parts. If the leftover width or height is odd, the extra pixel is left on the right or bottom. For example, the 1:1 crop removes 399 pixels on the left and 400 on the right.
A preset is not a ratio lock. Dragging a new rectangle or editing a coordinate switches the selector to Free selection. To move a preset crop without changing its proportions, keep Width and Height unchanged and edit only Left and Top. Selecting the preset again will recenter the largest matching rectangle.
If a subject is too close to an edge for the largest rectangle to frame it well, use a smaller rectangle of the same ratio. For the 2400 × 1601 image, a 1280 × 720 crop is also exactly 16:9. Enter Width 1280, Height 720, Left 1000 and Top 500, for example, to keep an off-center region farther to the right and down.
For a ratio without a preset, enter the exact dimensions manually. A 9:16 crop from this image can use Width 900, Height 1600, Left 750 and Top 0. That keeps a centered portrait-shaped region. Use the aspect ratio calculator to work out other matching sizes, then enter both dimensions and position here. If the calculator rounds to a different ratio, choose whole-number multiples of the reduced ratio instead.
A small source may be too narrow or short even for one whole group of the ratio. A 10 × 10 px image cannot contain an exact 16:9 rectangle. If a preset is unavailable, choose another ratio or enter a valid free rectangle; an earlier result is not proof that the requested ratio was applied.
Crop, resize or pad for a required image size?
Start with the width and height your destination actually accepts. Cropping to 1080 × 1080 selects that many pixels from a larger image; it does not shrink the entire scene into a square. If the subject would be cut off, decide whether you can change the framing or need a different operation.
- Keep a precise region at the original scale: use this cropper with the four pixel fields.
- Keep the whole picture at a different scale: use the image resizer. Its Fit mode preserves the proportions of the full image; Fit & Pad can also fill a required frame with added space.
- Fill a different frame: crop to the desired ratio first, then resize the downloaded file if the required size is different. For a simple anchored crop and scale, the resizer’s Fill & Crop mode can do both in one export.
- Keep all the picture at its current scale and add space: use the padding tool instead. A rectangle crop cannot create empty space beyond the image edges.
For example, the 900 × 1600 portrait crop above has the right 9:16 shape for a 1080 × 1920 requirement but not enough pixels for that exact size. You cannot get a 1920 px tall crop from a 1601 px tall source. Use a larger original if available. Otherwise, if enlargement is acceptable, open the cropped file in the Image Resizer. Under Advanced settings, choose Fit, keep Lock aspect ratio checked, enable Allow enlargement, and set the width to 1080 px. Select Resize image. Check that the result is 1080 × 1920 px. Resampling adds pixels, not captured detail. If the cropped file exceeds the resizer’s 20 MiB input limit, use a compatible local editor instead.
Image orientation, quality and file size
The crop coordinates refer to the decoded image as shown in the original preview. For a supported JPEG stored as 1600 × 2400 with EXIF orientation 6 (90 degrees clockwise), the displayed image is 2400 × 1600. Use the displayed dimensions and choose the area on that preview, not coordinates from the sideways stored raster. The tool checks the decoded dimensions before allowing edits. The createImageBitmap documentation describes this orientation behavior.
The output is drawn using a source rectangle and an equally sized destination, with no intentional enlargement, stretching or reduction. The file is still a new encoding, not a byte-for-byte extraction of the original file.
- JPEG is re-encoded and can lose some detail; WebP may also be encoded lossily.
- PNG uses lossless compression for the rendered crop. PNG and WebP can retain transparent areas inside the rectangle; cropping does not create transparency around a subject. Color conversion, alpha handling or changes to bit depth can still affect the decoded image.
- Original EXIF, GPS, color profile and print-density metadata are not guaranteed to survive the canvas export. Keep the original if you need these details. This is not a certified metadata-removal tool.
See the browser image format guide and canvas export documentation for format and encoding behavior. The cropper checks the encoded file’s format and dimensions before enabling download; if your browser cannot produce the requested format, the tool reports an error instead of returning a different format under the original extension.
A smaller crop need not have a proportionately smaller file size, or even a smaller file size at all. The size shown with the result is rounded up in KiB. For an exact byte limit, check the saved file with the image dimensions checker if it meets that tool’s input limits, or inspect the file’s byte size on your device. For example, when a form specifies a maximum of 100 KB, 100,000 bytes is a conservative limit; 100 KiB is 102,400 bytes. If further compression is needed, use a trusted editor that preserves the required dimensions and accepted format. Avoid repeatedly saving lossy copies.
When an image will not open or export
Check the file’s actual format, byte size and pixel dimensions. A 4096 × 2048 px image is over 8 million pixels, even if it is a small compressed file. Renaming its extension does not change its format. A supported source copy is needed before you can crop it here; if exact original pixels are required, use a compatible editor that can handle the original rather than reducing it first.
The tool also rejects some otherwise valid still PNG or WebP files if their EXIF orientation is not 1. If this happens, use a trusted editor to apply the intended orientation to the pixels and save a new still file with orientation 1 or no orientation tag. Do not simply remove the tag if the picture would then face the wrong way. Reopen the supported copy, confirm its appearance and dimensions, and crop that copy. Animated images and damaged or unsupported files are not accepted.
If an export fails after a valid selection, try a different compatible browser or a supported source copy. The tool also checks the output against a 40 MiB ceiling. Keep the original and inspect the final file, especially when exact color, transparency, metadata or size matters.