Skip to content

Trim transparent edges

Auto-crop the empty space around PNG images.

Runs in your browser

About Trim transparent edges

Exported logos and icons often come with a big transparent margin that throws off alignment in designs and documents. This finds the visible pixels and crops tightly around them, optionally leaving a small even margin.

  • Works on WebP with transparency too.
  • Add a few pixels of margin so edges do not touch in buttons.
  • Batch trim a whole icon set in one go.

How to use it

  1. 1Drop PNG files with transparency.
  2. 2Set an optional margin to keep.
  3. 3Download the trimmed images.

Questions

Does it work on white backgrounds?
No, it trims transparent pixels only. Use Crop image for white margins.
Will the image be resized?
No, only the empty edges are removed; visible pixels stay the same.
Is anything uploaded?
No. Everything runs in your browser, so your photos never leave your device.

More resize & crop tools