Trim Transparent Pixels (Autocrop PNG)
Automatically crop empty transparent borders around PNG and WebP images to hug content tightly with optional padding.
Upload transparent PNG/WebP to auto-trim
Automatically detects non-transparent pixels and crops away empty borders, whitespace, and excessive padding with mathematical accuracy.
How it works
Scans pixel alpha channels from outer borders inward to locate non-transparent bounding boxes and crops the canvas cleanly.
Zero Telemetry: You can verify this utility's client-only execution anytime by opening your browser's Developer Tools (Network tab). No keystrokes, payloads, or clipboard contents leave your device.
Frequently asked questions
What does trimming transparent pixels do?
It eliminates unnecessary empty transparent borders around icons, logos, and cutout graphics.
Can I add a little buffer padding after trimming?
Yes. Use the Padding slider to leave a custom border (e.g. 8px, 16px) around the subject.