About this tool
Smart Trim scans the edges of your image and crops away any uniform border — whether that's transparent padding or a solid background colour. Perfect for cleaning up logos, screenshots and scanned documents.
How it works
- 1Upload your image and choose mode: Trim Transparency or Trim Background Colour.
- 2For transparency, set the alpha threshold (0–50).
- 3For colour trimming, pick the border colour and set a tolerance.
- 4The tool reports exactly how many pixels were trimmed from each side.
Common use cases
- ✓Cleaning up exported logos with extra whitespace
- ✓Removing padding from scanned documents
- ✓Tightening icon artwork bounding boxes
- ✓Batch prepping product images
Privacy first. Smart Trim runs entirely inside your browser using the HTML5 Canvas API. Your images are never uploaded to any server, stored anywhere or shared with third parties. Everything happens locally on your device.
More Crop & Size tools
Circle Crop
Crop any image into a perfect circle — free, instant, no sign-up.
Square Crop
Crop your image to a perfect square with a draggable overlay.
Aspect Ratio Crop
Crop to any standard aspect ratio — 16:9, 4:3, 9:16 and more.
Resize Image
Resize any image to exact pixel dimensions in your browser.
Resize to Max Dimension
Scale down images so the longest side fits within a maximum size.
Resize to File Size
Automatically compress an image to hit a target file size.