You export a logo and it has a wide empty margin. You photograph products on white paper and every picture has a different amount of blank space around the item, so they look inconsistent in a shop. Cropping each one by hand is slow, and eyeballing the edges is inexact. The Trim Image tool finds the smallest rectangle that holds the content and removes the empty border around it, for many images at once.
Step by step
- Drop one or many images (PNG, JPG or WebP), or paste them. They are trimmed immediately.
- Look at each result. The tool shows each trimmed image as a card.
- Adjust Background to remove, Tolerance, Padding and Save as if the result is not what you want.
- Download one image, or Download all (ZIP).
The settings in detail
| Setting | Options | What it does |
|---|---|---|
| Background to remove | Auto, Transparent, Corner color | Auto reads the corners and decides. Transparent trims only see-through pixels. Corner color trims pixels like the corner color |
| Tolerance | 0% to 100% | How different from the background a pixel may be and still count as background. Higher also trims near-white or soft edges |
| Padding | 0 to 200 px | Space kept around the content after trimming |
| Save as | Same, PNG, JPG, WEBP | Output format. PNG and WEBP keep transparency; JPG does not |
Which background mode
- Auto is right for most uses: transparent PNG logos, white-background product shots and solid color backgrounds.
- Transparent is the safe choice for a transparent PNG with white content near the edge, which Auto might mistake for background.
- Corner color is for a solid, non-white background, such as a gray studio sweep or a colored banner.
Tolerance: the setting that fixes noisy white
A photo saved as JPG rarely has a perfectly white background. Compression leaves faint noise, so pixels are 250 or 252 instead of 255, and a strict trimmer will see them as content and trim nothing. Raise Tolerance a little at a time. The tool's guidance for a JPG with compression noise is that it usually needs 10% to 20%. If you push it too high, the trimmer will start to cut into the soft edges or shadows of the subject, so stop as soon as the border is gone. If a drop shadow around the product is part of the look, keep tolerance low, or use Background Remover instead to separate the subject properly.
Using padding for listings
Trimmed to the edge, a product touches the border of the picture, which looks cramped. Padding adds back a consistent margin, for example 20 to 40 pixels, so every item has the same breathing room. Consistent padding across a batch makes a catalogue look uniform, even if the original photos were framed differently. Marketplaces often prefer a square image, so after trimming, use the Image Crop tool with a 1:1 ratio, or resize with the Image Resizer, to reach the final dimension.
Batch workflow for a shop
- Remove busy backgrounds first if needed.
- Drop all photos into Trim Image together.
- Choose a tolerance that works for the most photos, and a padding value.
- Download as a ZIP.
- Compress the images with the Image Compressor for fast pages.
What it does not do
- It does not remove a background; it only removes empty margins. If a subject sits on a busy photo background, there is nothing empty to trim.
- It trims a rectangle. It does not follow the shape of the subject.
- An image with empty space in the middle, such as a ring with a hole, keeps that hole.
- If content already touches the edges, there is little or nothing to trim.
Quality
Pixels inside the crop are not changed. PNG is lossless; JPG and WEBP are saved again at high quality. The images stay on your device.
Common problems
- Nothing was trimmed. The background is not a solid color, or noise is above the tolerance. Increase Tolerance.
- Too much was trimmed. The tolerance is too high, or Auto mistook light content for background. Lower it or choose Transparent.
- A white box appears where it was transparent. The output format is JPG. Use Same or PNG.
- A thin line remains at one edge. A faint border, such as a scanner edge, counts as content. Raise Tolerance, or crop it off first.
A worked example: ten mugs on white paper
You photographed ten mugs, each with a different amount of white space around it. Drop all ten, leave Background to remove on Auto and see which cards look wrong. On three of them a gray corner shadow leaves a margin. Raise Tolerance to about 15 percent and the margins disappear, while the mugs stay intact. Set Padding to 30 pixels so every mug has the same air around it, download the ZIP, and the set already looks like a coordinated catalog. Finally, crop to squares with the Image Crop tool if your shop needs them.
Before and after: what to look for
Open the result of one image at full size and check each of the four edges. The subject should have the same breathing room you asked for in Padding, and no thin strip of leftover background should be visible. Compare the file dimensions with the original: a big drop means a lot of empty space was removed, and an unchanged size means nothing was found to trim. If you plan to place the images in a grid, note the final sizes, since a trimmed tall item and a trimmed wide item will have different shapes, and the grid will need a consistent canvas around them.
FAQ
Can it trim a transparent PNG?
Yes. It detects transparent corners and removes the transparent margin, keeping transparency in PNG or WEBP.
Are my images uploaded?
No. Everything runs in your browser.
Can I trim many images with different margins?
Yes. Each image is trimmed on its own, with the shared settings.