Remove Transparent Padding from an Image
Trim empty alpha around icons and product cutouts without changing visible pixels.
Open Trim Transparent in LabsDirect answer
Find the smallest bounding box containing non-transparent pixels, then crop to that box. Keep a deliberate margin if shadows, focus rings, or visual alignment need breathing room.
This guide's before-and-after files

800×800 · 29.51KB · download file

340×340 · 23.07KB · download file
Visible pixels are preserved while dimensions change to 340×340.
The alpha bounding box is calculated from a deterministic transparent PNG and the output is decoded.Validation date: 2026-07-18. Both files are downloadable; dimensions, byte counts, decodability, and distinct SHA-256 hashes are checked by the repository test suite.
Use the verified workflow
- Choose a PNG or WebP with alpha.
- Preview the detected non-transparent bounds.
- Export and confirm the new dimensions in the downloaded image.
Limits and failure cases
- Near-transparent shadows may be treated as visible content.
- Trimming every asset independently can create inconsistent visual alignment.
Official sources and verification
Tool behavior and samples were checked on 2026-07-18. External references:
Common question
Does PixCloak upload the source image?
No. The editing pipeline uses browser File, Canvas, and Blob APIs on this device. Optional analytics and advertising are separate and load only after the applicable consent choice; product events never include image bytes or filenames.