How to use this image tool
- Select a supported image.
- Set the available options and review their limits.
- Choose Trim borders, inspect the result, then download the newly created file.
Detect a uniform outer border from the corner color and crop it away with adjustable tolerance and padding.
The tool compares pixels against the top-left corner color, finds the bounding box of pixels outside the tolerance, then crops to that box.
This works best for flat borders. If the subject touches the top-left corner, choose a lower tolerance or crop manually.
PNG, JPEG, and WebP are supported when decoded by the browser. Output is PNG to preserve transparency.
| Input | image/png,image/jpeg,image/webp |
|---|---|
| Processing | Local browser session |
| Safety limit | 40 megapixels per raster operation |
It samples the top-left pixel and treats nearby colors as border according to the tolerance.
Only if the texture stays within the tolerance; complex frames are better cropped manually.
Yes, when the top-left sample is transparent and visible content differs from it.
The subject may resemble the sampled border near an edge, or the tolerance may be too high.
The result is PNG so transparent edges remain transparent.
| Privacy | Local processing |
|---|---|
| Output | New downloadable Blob |
| Reset | Clears files and object URLs |