Detection uses alpha, not color
Alpha zero is fully transparent; 255 is opaque. The tool finds the outermost rectangle of pixels above the threshold. Opaque white or black backgrounds count as content.
Transparent image trimmer
Images
Remove transparent outer margins and add the padding you need.
Files are processed in this browser.Drop a file or choose one. You can also paste an image.
JPG · PNG · WebP / up to 40 MB and 16 MP / no animation or rotation metadataChoose a file to begin.
Load a PNG or WebP with transparent edges. This tool is not for removing a white background.
Set an alpha threshold and padding in pixels. Start at zero and adjust while checking whether faint shadows remain.
Generate the result to see the original content coordinates and size. Check the edges, then download the PNG.
Alpha zero is fully transparent; 255 is opaque. The tool finds the outermost rectangle of pixels above the threshold. Opaque white or black backgrounds count as content.
A higher threshold can exclude faint shadows from the bounds calculation. Pixels inside the resulting rectangle are unchanged. Padding adds new transparent space outside those bounds.
No. It trims existing transparent margins; it does not segment a photo background.
Lower the threshold. Padding only adds transparent space; it does not restore shadow pixels excluded by the crop.
No. Only the outer bounds change; pixels inside remain unchanged.
Choose an image format by transparency, photographic detail, file size, and compatibility rather than by habit.
Read guide →Separate source coordinates from display scale, then use the ruler, color picker and diff tool together.
Read guide →