Back to all toolsSELECTED TOOLAdd or trim image margins

18 A little breathing room.

Make room. Or trim it.

Add an even border around an image or remove a plain outer margin, entirely on your device.

IMAGE TOOL

Just enough space.

Stays on your device
Drop an image for its marginsJPG, PNG or WebP · up to 50 MB
What should change?
48px

The image is decoded and newly encoded on your device. Embedded metadata is not copied to the result.

A LITTLE MORE DETAIL

Give an image space—or take the excess away.

Add an exact border in pixels, or detect a plain edge color and trim it with an adjustable tolerance.

How it works

  1. 01

    Choose one supported image.

  2. 02

    Select add or trim and adjust the controls.

  3. 03

    Create and download the newly encoded result.

Questions, answered.

How does automatic trimming work?

The tool compares pixels with the top-left border color and keeps the foreground bounds.

What if the border is uneven?

Raise the sensitivity carefully; a high value can trim similar foreground colors.

Does adding margins stretch the image?

No. Original pixels stay at their original size.