Image & Photo Tools Free browser utility Updated 2026-11-23

Trim Transparent Pixels (Autocrop PNG)

Automatically crop empty transparent borders around PNG and WebP images to hug content tightly with optional padding.

🔒 Runs in your browser. Your input is never uploaded.
🔲 Trim Transparent Pixels
🔲✂️

Upload transparent PNG/WebP to auto-trim

Automatically detects non-transparent pixels and crops away empty borders, whitespace, and excessive padding with mathematical accuracy.

Lossless 32-Bit Alpha SupportInteractive Bounding BoxCustom Padding Margin100% Client-Side Private

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.