Auto Crop Image

Trim image borders without uploading your files

Trim transparent, white or solid-color borders locally. Preview and adjust exact crop bounds, then download PNG, JPG or WebP. Free, no account.

Transparent

Original: 1254 × 1254
Original: 1254 × 1254
Output: 879 × 735
Output: 879 × 735

White

Original: 1024 × 1536
Original: 1024 × 1536
Output: 775 × 1104
Output: 775 × 1104

Custom color

Original: 1254 × 1254
Original: 1254 × 1254
Output: 689 × 617
Output: 689 × 617

Transparent · Keep margin (pixels): 48

Original: 1254 × 1254
Original: 1254 × 1254
Output: 884 × 866
Output: 884 × 866

How to trim image borders

  1. Choose one or more images. Files are decoded locally in your browser.
  2. Select transparent, white, custom color or automatic detection, then detect borders.
  3. Review the highlighted crop and adjust its coordinates or size if needed.
  4. Download the selected image or a ZIP, or continue with Image Padding.

Pixel-accurate detection

Detection scans the original pixels, including one-pixel lines.

Manual control

Adjust exact coordinates and keep a margin in original image pixels.

Local batch processing

Process files sequentially and cancel a running detection.

Limits and behavior

This tool trims rectangular outer borders; it does not remove complex backgrounds. Automatic mode retains the original when edge colors are inconsistent. Empty images also remain unchanged. PNG and WebP can retain transparency; JPEG uses your chosen background. Output is limited to 16 megapixels and 8192 pixels per side. Animated images are not supported. ZIP output is limited to 100 MiB.

Frequently asked questions

Will white details inside my image disappear?

No. The tool crops only the outer rectangle and does not erase any pixels inside the chosen crop.

Why did automatic detection keep the original?

The sampled edge colors did not form a consistent background. Select white or a custom color and review the result.

Are my images uploaded?

Image decoding, detection and export run in your browser. Continuing to another tool stores a temporary local handoff in this browser.