Auto Crop Image Borders
Crop a uniform edge color using a chosen pixel tolerance.
Your workspace
Temporary server processingThis tool automatically removes uniform borders from an image by identifying a specific edge color and trimming the canvas based on your chosen tolerance.
How to crop borders
- Upload the image file you want to trim.
- Enter the hex code for the border color and set the RGB tolerance to define how strictly the tool matches that color.
- Download the resulting cropped image after the server processes the file.
Understanding tolerance
The RGB tolerance setting determines how much color variation the tool ignores when identifying the border. A low tolerance requires the border pixels to match your chosen color almost perfectly, while a higher tolerance allows for slight variations, such as shadows or compression artifacts, to be included in the crop.
Processing limits
All images must be under 16 megapixels to be processed. The combined upload limit for files is 40 MB. Because processed jobs expire after 15 minutes, ensure you download your result immediately after the operation completes.
Cropping a white border
An image with a 20-pixel white border, setting color to #ffffff and tolerance to 10.
An image with the white edges removed, leaving only the central content.
Frequently asked questions
Does this tool remove non-uniform backgrounds?
No, this tool specifically targets uniform edges. It cannot distinguish between a complex background and a subject.
What happens if the tolerance is too high?
If the tolerance is set too high, the tool may mistake parts of your main image for the border and crop into your content.
Continue your workflow
AI Image Detector
Analyze an image locally with an experimental AI image classifier and inspect its model scores.
AVIF to JPG
Convert a AVIF image into a downloadable JPG file with explicit quality and size controls.
AVIF to PNG
Convert a AVIF image into a downloadable PNG file with explicit quality and size controls.