Trim Image Whitespace Online in Bulk
Automatically remove white or transparent borders from images in bulk. Clean up product photos in one batch.
1. Upload images
Drop images here or click to browse
JPEG, PNG, WebP, GIF, TIFF, AVIF — up to 10 files, 20 MB total
2. Configure settings
Higher values trim pixels that are close to (but not exactly) the background color — useful for JPEG-compressed edges.
Free plan: up to 10 images per batch. Upgrade for more.
What this tool does
Remove unwanted white space, solid color borders, or transparent padding from the edges of your images in bulk. PixelForge's whitespace trimmer detects the background color from the image corners and crops to the actual content — no manual selection required. Essential for product photography cleanup before uploading to any marketplace.
Problems it solves
- Removing white borders left by photo editing software before uploading to Shopify or Etsy
- Trimming transparent padding from exported design assets
- Cleaning up scanner output with excess white space around the subject
- Standardizing product images that have inconsistent padding from different sources
Example
Auto-trim white borders from 300 product photos before uploading to a marketplace
Frequently asked questions
How does auto-trimming work?
PixelForge samples the corner pixels of each image to determine the background color, then trims any edges that match that color within the specified threshold. A threshold of 10 removes near-white pixels; increase it to catch off-white or slightly varied backgrounds.
What is the threshold setting?
Threshold controls how similar a pixel's color must be to the detected background to be trimmed. A value of 0 only trims exact matches. A value of 40 trims pixels that are close to the background color, useful for images with slight JPEG compression artifacts on the edges.
Will this work on transparent backgrounds?
Yes — PixelForge can trim transparent padding from PNG and WebP images. The transparency is detected and trimmed from all edges, leaving only the content area.
Can I trim to a specific aspect ratio after cropping?
Not in a single step. Run Trim first, then add a Crop or Resize operation in the same job to bring the trimmed result to your target dimensions.
Related tools
Bulk Crop
Crop hundreds of images to exact dimensions in bulk. Center crop, square crop, or choose a focal position.
Add Padding
Resize images to a target canvas size by adding padding instead of cropping. Choose any background color.
Remove EXIF
Strip GPS coordinates, camera info, and all metadata from images before sharing. Private by default.