Auto Trim Image Edges

Crop transparent or solid-color outer margins while keeping your content.

Free. No signup.

Drop your image here

Drag and drop, or choose a file below

JPG · PNG · WEBP
Up to 250 MB · One image at a time
Each image: up to 16 megapixels and 8192 px per side

Adjust the effect

Removes outer rows and columns only. The margin keeps existing pixels; it does not enlarge the canvas.

Exports a full-resolution PNG with transparency. PNG files can be larger than the original.

Original

Choose an image or try the sample to see your preview here.

100% local processing

How to use

  1. 01

    Choose a JPG, PNG or WebP image, or try the local sample.

  2. 02

    Choose transparent or solid-color edges, adjust tolerance and set the margin to keep.

  3. 03

    Process, compare with the original and download the PNG.

Details and tips

How it works

The tool finds the bounding rectangle of non-background pixels and removes only outer rows and columns. The margin expands that rectangle within the original image. Interior holes remain unchanged.

Made for everyday images

Clean exported logos, remove screenshot borders and tighten illustration assets.

Frequently asked questions

Does the margin add new pixels?

No. It only keeps available pixels from the original. Use Add Image Border to create new space.

Are my images uploaded?

No. These tools process image data on your device. Images and encoded text are not saved to your account.

Which images are supported?

JPG, PNG and WebP up to 8192 px per side and 16 million pixels. Pixel-based effects and comparison use a single still frame of animated files. Base64 conversion preserves original bytes and has a 5 MiB file limit.