Trim image border

Crop away a uniform border — white scanner edges, letterbox bars, or solid padding — automatically.

The image stays in this browser. Nothing is uploaded or stored.

PNG, JPG, or WebP up to 25 MiB. Trims a uniform border — white scanner edges, letterbox bars, or solid padding — detected from the corner pixels. Busy or uneven borders are not detected. Output keeps the input format.

How to use

  1. Choose an image.
  2. Set the tolerance and padding to keep.
  3. Trim and download the result.

What it supports

The border color is the average of the four corner pixels — it works on flat borders, not busy or uneven edges. PNG, JPG, or WebP up to 25 MiB; the output keeps the input format. For cropping by hand, use the image cropper.

Related tools

Related guides