Trim empty borders from an image automatically

Remove the blank margin around a logo, scan, chart or screenshot in one click.

Trim image
Drop image files hereChoose image photosor paste with Ctrl V · up to 50 filesUp to 50 · stays on your phoneNo file handy? Try a sample
  • Free, no sign-up
  • No upload
  • Up to 50 files
  • Free, no sign-up
  • No upload
  • Up to 50 files

How it works

Three steps, under a minute

Remove the blank margin around a logo, scan, chart or screenshot in one click. The tool detects the edge colour, including transparency, and crops to the content, with a tolerance slider for scans that are not perfectly even. It runs on your device. Up to 50 files per batch, each up to 40 megapixels at full quality.

  1. 1

    Add your files

    Drop the image or images.

  2. 2

    Trim

    Leave tolerance at 10 for clean graphics; raise it to 25 to 40 for scans and photos of paper. Add padding if you want a small margin kept.

  3. 3

    Download

    Click Trim and download.

What you get

Built for real batches, not just one file

  • Detects white, black, any solid colour or transparency at the edges.

  • Tolerance for uneven backgrounds and JPG noise.

  • Optional padding keeps a margin around the content.

  • Batch of 50 with ZIP download, no upload.

Settings

How the trim is decided

The tool looks at the four corners, takes the colour most of them share as the background, and then walks inward from each edge until it meets a row or column that differs from that colour by more than the tolerance. Transparent edges are treated the same way using the alpha channel. The result is the tightest rectangle around the content, plus any padding you ask for.

In depth

Typical uses

  • Logos exported with a transparent margin that spoils alignment on a page.
  • Scanned documents and receipts with a white or grey border.
  • Screenshots of charts with empty space around them.
  • Product cut-outs before placing them on a new background.

FAQ

Frequently asked questions

Can’t find an answer? The guides cover formats, sizes and privacy in depth.

Read the guides

Is the image uploaded?

No. Everything runs in your browser and the file never leaves your device. The Network tab in the developer tools shows no upload while the tool works.

Why was nothing trimmed?

The edges differ from each other more than the tolerance allows, or the content touches the edge. Raise the tolerance, or crop by hand with the crop tool.

What if too much was removed?

Lower the tolerance so faint content is kept, or add padding to keep a margin.

Does it keep transparency?

Yes, with PNG or WebP output. JPG fills transparency with white.

Related tools

More free tools

Done here? Make it look great.

Adjust, retouch and add effects in the full editor. Still 100% on your device.

Start editing