Converters
Calculators
Other Tools
Browse tools
Image

Image Cropper

Crop JPG, PNG, WEBP, GIF, and BMP images to a specific region. Pick the X/Y origin and the crop width and height in pixels — the result is exactly the rectangle you specified.

Uploads to our server Max 10MB No signup Free forever
Drop your image here or click to upload
Supports .jpg, .png, .webp, .gif, and .bmp. Up to 10MB.
How it works

Three steps, no account

1

Upload your image

Drag a JPG, PNG, WEBP, GIF, or BMP file onto the drop zone, or click to browse.

2

Set the crop region

Enter the X/Y origin and the crop width and height in pixels, or pick a preset (full image, center square, or center same size).

3

Preview and download

Check the cropped result, then download it in the same format you uploaded.

FAQ

Common questions

What do X and Y mean?
X and Y are the top-left corner of the crop region, measured in pixels from the top-left corner of the source image. The crop rectangle extends from (X, Y) to (X + width, Y + height).
What happens if the crop region extends past the image edge?
The crop is automatically clamped to the image bounds — the actual output may be smaller than the width/height you requested. The response filename reports the actual (post-clamp) crop size, and the result subtitle on this page reflects the same value.
What do the presets do?
Use full image sets the region to the entire source (X=0, Y=0, width=source width, height=source height).
Center square makes a square crop the size of the source's shorter side, centered.
Center same size keeps the current width/height values but recenters the region on the source image.
What happens to transparency when cropping to JPG or BMP?
JPG and BMP don't support transparency. If the source had any transparent pixels, the output is flattened onto a white background in the affected areas. PNG, WEBP, and GIF keep their transparency.
Can I crop HEIC, TIFF, or SVG files?
Not directly — this tool accepts JPG, PNG, WEBP, GIF, and BMP. To crop a HEIC, TIFF, or SVG, first run it through the Image Converter to flatten it to a raster format, then upload the result here.
Is my image stored on your server?
Your file is uploaded to crop it — that upload is required for this specific tool — and the file is cleaned up from server storage after processing.
ad slot · bottom of content 336×280 / responsive
Related

People who used this also used

Image Cropper

Our Image Cropper extracts a rectangular region from a JPG, PNG, WEBP, GIF, or BMP image. Specify the X/Y origin and the crop width and height in pixels, or pick a preset (full image, center square, or center same size). The result is exactly the rectangle you asked for — or the largest portion that fits inside the source image if the requested region extends past an edge.

How to Use the Image Cropper

1. Upload Your Image

  • Drag and drop a JPG, PNG, WEBP, GIF, or BMP file onto the drop zone
  • Or click to browse and select a file from your device
  • Files up to 10MB are supported

2. Set the Crop Region

  • X and Y are the top-left corner of the crop rectangle, measured in pixels from the top-left of the source image
  • Width and Height are the size of the crop rectangle
  • All four values are in pixels and must be non-negative (X/Y) or positive (W/H)
  • Or click a preset:
    • Use full image — region = entire source (X=0, Y=0, W=source width, H=source height)
    • Center square — square crop the size of the source's shorter side, centered
    • Center same size — keep the current W/H but recenter the region

3. Preview and Download

  • The cropped image keeps the same file format as the original
  • The filename is suffixed with the actual crop dimensions (for example, photo-crop-600x400.jpg)
  • Download with one click

Key Features

Pixel-Exact Crops

  • Specify any X/Y origin and any W/H size
  • The result is exactly the rectangle you requested (clamped to the image bounds if the region extends past an edge)

Smart Clamping

  • When the requested crop extends past an image edge, the output is automatically clamped to the source bounds
  • The response filename and result subtitle both report the actual (post-clamp) crop size so you can tell what was asked vs. what was returned

Three Quick Presets

  • Use full image — no crop, the entire image comes through unchanged
  • Center square — the most common social-media aspect (1:1 from a rectangular source)
  • Center same size — keep your W/H values but center the region

Server-Side Performance

  • Crops run on the server with PHP's GD extension — fast and accurate
  • The crop itself is a single imagecrop() call; no resampling, no quality loss

Format Preservation

  • The cropped file uses the same format as the original (JPG → JPG, PNG → PNG, etc.)
  • PNG, WEBP, and GIF keep their transparency
  • JPG and BMP have transparent pixels filled with white (those formats don't support transparency)

Use Cases

1. Social Media

  • Crop a portrait photo to a square for Instagram, X (Twitter), or Facebook
  • Use Center square to quickly produce a 1:1 aspect from any source

2. Profile Photos and Avatars

  • Crop the face area of a larger photo to a square avatar size (256×256, 512×512)
  • Use Center same size to keep the aspect while centering on the subject

3. Image Cleanup

  • Remove watermarks, timestamps, or unwanted borders from a screenshot
  • Trim the edges of a scanned document to the actual page area

4. Design and Layout

  • Extract a specific tile or section of a larger image
  • Crop a hero photo to the exact dimensions your template requires

5. Web Publishing

  • Crop a full-width banner to a specific featured-image size
  • Trim stock photos to focus on the subject matter

Technical Features

  • Server-Side Processing: Crop runs on the server with PHP's GD extension — accurate and reliable
  • Same-Format Output: No format conversion happens — what you upload is what you download
  • Automatic Cleanup: Uploaded files are processed and discarded, not retained

Understanding Crop Coordinates

The X/Y Origin

X and Y are the top-left corner of the crop region, measured in pixels from the top-left corner of the source image. So X=0, Y=0 starts at the very top-left; X=100, Y=50 starts 100 pixels from the left and 50 pixels from the top.

Width and Height

Width and height are the size of the crop rectangle. The crop extends from (X, Y) to (X + width, Y + height).

Clamping

If the requested region extends past the image edge, the API clamps the crop to the source bounds. For example, cropping a 1000×500 image with X=900, width=200 results in a 100×500 region (the right edge is clamped to the source's right edge).

Limitations

  • This tool accepts JPG, PNG, WEBP, GIF, and BMP. HEIC, TIFF, and SVG are not accepted directly — to crop one of those, first run it through the Image Converter to flatten it to a raster format, then upload the result here.
  • Maximum crop dimensions are 8000×8000 pixels.
  • Cropping is a destructive operation — the cropped image does not include any pixels from outside the requested region. Use the Image Resizer if you need to change dimensions without removing content.

Remember: cropping removes pixels from the edges of the image. If you want to change the pixel size without removing content, use the Image Resizer instead.