How to use the Transparent PNG Trimmer
- Drop PNG or WebP images with transparent backgrounds.
- Set the padding to keep around the content (0 for a tight fit).
- Optionally raise the alpha threshold to ignore faint shadows or near-invisible pixels.
- Click Trim and download individually or as a ZIP.
How trimming works
MediaShrink scans every pixel’s transparency (alpha) value and finds the smallest rectangle containing all visible pixels. Everything outside it is removed, and the padding you choose is added back as transparent space.
The alpha threshold decides what counts as “empty”. At 0, only fully transparent pixels are removed. Raising it to around 10–20 also trims soft glows or stray, almost invisible pixels left by editing software.
Great for game assets and design work
- Tighten sprite frames and UI icons so they align correctly in game engines.
- Remove the extra canvas exported by design apps around logos.
- Make stickers and emoji the same visual size by trimming, then adding equal padding.
Frequently asked questions
Are my files uploaded to a server?
No. MediaShrink processes files with your browser’s own engine (Canvas for images, WebAssembly for video). Your files never leave your device, and nothing is stored after you close the page.
Does it work with JPG images?
JPG has no transparency, so there is nothing to trim. Use Crop Image to crop JPGs manually.
Is the image quality affected?
No. Pixels inside the trimmed area are copied exactly, and PNG output is lossless.
What happens if an image is completely transparent?
It’s reported as an error for that file (there is nothing to keep), and the rest of the batch continues.