Crop Image: Crop JPG, PNG and WebP to Any Size or Aspect Ratio
Crop a JPG, PNG, WebP, GIF or BMP image in your browser with a draggable box or exact pixel values, using a free or fixed aspect ratio.
Drop an image here or choose one
JPG, PNG, WebP, GIF (first frame), BMP and, where your browser can open it, AVIF. One image at a time.
This is a very large image. The preview is scaled down, but cropping uses the full resolution and may run out of memory, especially on a phone.
Drag the box to move it and drag its handles to resize it, or drag on the image outside the box to draw a new one. When the box has keyboard focus, the arrow keys move it by 1 pixel (10 pixels with Shift). You can also enter exact values below.
JPG, PNG and WebP images keep their format. GIF, BMP, AVIF and other images are saved as PNG, because browsers cannot save in those formats.
JPG does not support transparency: transparent areas become white.
A circle crop needs transparency, which JPG cannot store, so the image will be saved as PNG.
Choose an image or drop it on the box above.
Result
Notes
- Cropping keeps the pixels inside the crop area at their original resolution; nothing is scaled. A small crop area gives a small image, which can look soft when it is displayed large.
- JPG and WebP are saved again with lossy compression, so a little quality is lost even though the pixels are not scaled. PNG is lossless but usually larger for photos.
- EXIF, GPS, colour profile and other metadata are not copied to the output. The orientation recorded by a camera is applied first, so the crop is measured on the upright image as you see it.
- For animated GIFs only the first frame is cropped and saved.
- Very large images (above about 50 megapixels or 50 MB) need a lot of memory and may fail on phones or in older browsers. The preview is scaled down; the crop itself uses the full image. The largest output size is 16,384 pixels per side.
- Images are processed in your browser and are not uploaded to LeedyBox.
How to use
- Choose an image or drop it on the box at the top of the tool.
- Pick an aspect ratio such as Free, 1:1 or 16:9, or enter your own ratio under Custom.
- Drag the crop box and its handles on the preview, or type the exact position and size in pixels.
- Choose the output format and, for JPG or WebP, the quality.
- Press "Crop image", check the result and download it.
Frequently asked questions
Is my image uploaded to a server?
No. The image is opened, cropped and saved by your browser on your device. It is not uploaded to LeedyBox.
Does cropping reduce the image quality?
The pixels inside the crop area are copied at their original resolution without scaling. Saving as JPG or WebP compresses the image again, which loses a little detail; PNG keeps the pixels unchanged but gives larger files for photos.
Why are the X, Y, width and height values larger than the preview?
The preview is scaled to fit your screen, but the values refer to pixels of the original image. The output has exactly the width and height shown under "Output size".
Why does my photo appear rotated differently than in some other programs?
Many cameras store the orientation as an EXIF tag instead of rotating the pixels. This tool applies that tag first, so you crop the upright image. The saved file has the rotation applied to its pixels and no orientation tag.
Is there a size limit?
There is no fixed file size limit, but very large images need a lot of memory and may fail on phones. Each side of the output can be at most 16,384 pixels.