Trim images online and get back the version without the blank edges
Drop in a PNG, JPG or WebP and the empty border comes off automatically. Everything runs in your browser, so the files never leave your device.
Screenshots, exported logos and product shots almost always carry a margin of dead space around them. That space makes your subject render smaller in every card, thumbnail and social crop it lands in, and it adds weight to a page for nothing. This tool scans in from each edge, finds where the content actually starts, and hands back the tight version. Load a whole folder at once if you need to.
Trimming vs cropping, side by side
Same logo export, 1000 × 1000, with the mark itself only 600 × 200 in the middle. Here is what each one gives you back.
The file you have
1000 × 1000. Most of it is empty artboard that still gets encoded and downloaded.
Trimmed
600 × 200. The scan stopped at the first real pixel on each side, so every part of the mark survived. You made no choices.
Cropped
Whatever box you dragged. Here it clips the wordmark, which is sometimes exactly what you want and is never what you want from a logo export.
Trim when
- A logo or icon exported with a big empty artboard around it
- A screenshot with a slab of desktop background down one side
- A product shot with more white sweep than product
- A set of images that need to line up in the same grid
Crop instead when
- You want a tighter composition, closer to the subject
- You need a fixed ratio for a banner or a social post
- Something in the frame has to go, and it is not just blank space
- The background is a photo rather than one flat colour
Frequently Asked Questions
What does trimming an image actually do?
What is the difference between trimming and cropping an image?
Are my images uploaded anywhere?
Which file types can I trim?
Why is nothing being trimmed off my JPG?
Can I trim several images at once?
Does trimming reduce the file size?
Can I add space back after trimming?
Trimming vs cropping: what is the difference?
People use the two words for the same job. They are not the same job.
Cropping is you choosing a rectangle. You drag a box over the picture and everything outside it is thrown away, including parts of the subject if that is what you want. A crop is a compositional decision: cut the bin out of a street photo, turn a landscape shot into a square for Instagram, push in on a face.
Trimming makes no decision at all. It walks in from the top edge until it meets a pixel that is not the background, then does the same from the bottom, the left and the right. Whatever rectangle those four stopping points describe is the result. No part of your subject can be lost, because the scan stops the moment it finds any of it.
Take a 1000 x 1000 logo export sitting on a transparent artboard, with the mark itself only 600 x 200 in the middle. Trimming gives you a 600 x 200 PNG of exactly the same mark. Cropping it to 600 x 200 by hand gives you whatever you happened to drag, and you will be one pixel off.
So: change what is in the picture, crop it. Delete the white or transparent margin that is already doing nothing, trim it. This page trims. The dashed box on the before preview shows you what the scan found, so you can see what is coming off before you download anything.
How the auto-detection decides what counts as empty
The tool reads the four corner pixels first. If any of them is transparent, it treats transparency as the background and trims to the visible artwork. That is the right behaviour for a logo exported out of Illustrator or Figma with a big empty artboard around it.
If the corners are opaque, the most common corner colour becomes the background. A scanned document on white, a product shot on a grey studio sweep, a chart exported on a dark canvas: all of them trim correctly without you picking anything.
Where it needs help is JPG. Lossy compression smears the edge of a white background into a spread of near-whites, so an exact match finds nothing to remove and you get your image back unchanged. That is what the tolerance slider is for. Push it to 5 or 10 per cent and those almost-white pixels count as background again. Push it too far and it starts eating pale parts of your subject, which the before preview will show you straight away.
You can also skip the detection and name the colour to remove, which is handy when a design has a deliberate coloured frame you want gone.
Why blank margins cost you on a website
An image with a 20 per cent dead border looks fine on its own and behaves badly everywhere else:
- Your subject renders smaller than the slot it sits in. A logo with built-in padding goes into a header that already has padding, so it reads as undersized next to a competitor who trimmed theirs.
- Grids go ragged. Ten team photos or partner logos with different amounts of surrounding space will never line up, however careful the CSS is.
- You pay for pixels nobody sees. Blank area still gets encoded, still gets downloaded, and across thirty images on a page that works against your Largest Contentful Paint.
- Social and Open Graph crops go wrong. Platforms crop to their own ratio from the centre out. Extra margin pushes the subject toward the edge, where it gets clipped.
Trim first, then resize, then compress. The order matters, because resizing a padded image just gives you smaller padding.
Trimming a batch of images at once
Drop in up to 20 files together and the same settings run across all of them. That is the case this was built for: rebuilding a team page, cleaning up a folder of supplier logos, tidying a set of screenshots for documentation.
A few of the settings earn their place on batch work:
- Padding adds a consistent margin back after the trim. Set it to 24 and every image ends up with the same breathing room instead of whatever it was exported with.
- Square canvas pads the short side so everything comes out at 1:1. Quickest way to make a row of logos sit properly in a grid.
- Longest edge caps the size, so a mixed folder of 4000px exports and 600px screenshots all come out at one sensible width.
- WebP as the output usually lands around a third of the PNG size at a quality nobody questions.
When more than one image is loaded, one button gives you the whole set back as a ZIP.
Trimming is one of three jobs in the free image tools set. If the margin you are cutting is a white background rather than empty canvas, the transparent background maker removes it properly and leaves alpha behind, and if the file is simply too heavy for a web page, the bulk image resizer shrinks a whole folder at once.
Other free tools
Transparent Background Maker
Free transparent background maker. It reads the colour at the edges of your image and deletes it inward until it meets the artwork, so a logo keeps the white inside a ring. Runs in your browser, nothing is uploaded.
Open Tool DesignBulk Image Resizer
Free bulk image resizer. Resize, compress and convert up to 100 images at once by longest side, exact size, percentage or target file size. Runs in your browser, nothing is uploaded.
Open ToolYour images are tidy. Is the site around them?
We design and build websites where every image is trimmed, sized and compressed before it ships, and the custom artwork is made to match your brand.