Skip to content

Image Cropper

Crops to a freeform or fixed-ratio region and can auto-trim uniform or transparent borders.

Cropping is the one image operation where the automatic answer is almost always wrong, because the interesting rectangle is a judgement about the picture. So this is a rectangle you place by hand, with the ratio presets and the border trim as the two cases where a machine can decide.

🔒 Runs entirely in your browsercroptrimratio

Drag the box to place the crop, or press Trim borders to cut away a uniform or transparent margin automatically. Cropping to PNG keeps the pixels exactly; cropping to JPEG re-encodes them.

Drop an image to crop

PNG, JPEG, WebP or GIF. Read in this tab and never uploaded.

How to use it

  1. Drop one image

    PNG goes through a decoder that keeps straight alpha, so a soft shadow is not altered before you have done anything.

  2. Place the rectangle

    Drag it, or type exact numbers into the X/Y/width/height boxes. Locking a ratio shrinks the rectangle to fit rather than growing it, so the corner you anchored stays where you put it.

  3. Or trim the border automatically

    The corner pixel is the reference: anything matching it within a small tolerance is border. That handles a transparent margin and a white scan with the same rule.

  4. Choose the output format

    PNG keeps the pixels exactly — a crop is just a smaller window on the same buffer. JPEG re-encodes, which is a loss the crop itself did not cause.

Common questions

It says there is no border to trim.

The edge pixels are not all the same colour as the corner. A photograph with a vignette or a screenshot with a gradient background has no uniform margin to find; place the rectangle by hand instead.

Can I crop many images the same way?

Not here — a hand-placed crop is about this picture. The resizer’s “cover” mode is the batch answer, and it centres the crop because that is the only defensible automatic choice.

Does cropping remove the EXIF data?

Yes. The output is written from the pixel buffer, so camera, GPS and timestamp tags do not survive. If you wanted them gone that is convenient; if you wanted them kept, crop last.

Feed it from

Next

These accept what this tool produces, so the result can go straight in.