Batch Image Compression: Resize 100 Images to KB at Once
Need to compress 100+ images to 20KB each? I've tested every batch compression method. Here's the fastest way to process hundreds of photos without spending hours.

When You Need Batch Compression
Compressing images one by one is fine for 5-10 photos. But what if you have:
- Wedding photos to upload to a gallery (50-200 images)
- Product catalog for e-commerce (100+ product shots)
- Real estate listings (20-30 photos per property)
- Student records with passport photos (entire class)
- Blog article images for the year (hundreds of photos)
You need a batch workflow. Manual compression would take hours. Here's how to do it in minutes.
Best Batch Compression Tools
Method 1: XnConvert (Best for Windows/Mac)
Free desktop software that can process unlimited images at once. Set it up once, reuse the preset forever. Supports 500+ formats.
Step-by-Step Tutorial:
- Download XnConvert from xnview.com/en/xnconvert (100% free)
- Add your images: Click "Add Files" or drag entire folder
- Go to "Actions" tab: Click "Add Action" → "Image" → "Resize"
- • Set target dimensions (e.g., 800×600 pixels for 20KB target)
- • Check "Keep aspect ratio"
- Go to "Output" tab:
- • Format: JPEG
- • Quality: Start at 75% (adjust based on file size)
- • Choose output folder
- Test with 1 image first: Select one image, click "Convert"
- Check file size: Right-click output → Properties
- • Too large? Lower quality to 65%
- • Too small? Increase to 85%
- Process all images: Once settings are right, click "Convert" for all
✅ Pros:
- • Process unlimited images
- • Save presets for reuse
- • Very fast (100 images in 30 seconds)
- • 100% free, no watermarks
❌ Cons:
- • Need to install software
- • File size is approximate (not exact KB)
- • Learning curve for first setup
Best For: Regular batch processing (photographers, designers, businesses)
Method 2: iLoveIMG (Best for Web)
Online tool for batch compression. No installation. Good for occasional bulk work.
How to Use:
- Go to iloveimg.com/compress-image
- Upload up to 30 images at once (free tier)
- Click "Compress images"
- Download as ZIP file
✅ Pros:
- • No installation needed
- • Simple interface
- • Works on any device
❌ Cons:
- • Free: 30 images max per batch
- • Can't specify exact KB size
- • Need premium for 100+ images
Best For: Occasional batches of 10-30 images
Method 3: Photoshop Actions (For Professionals)
If you already have Photoshop, use Actions + Image Processor for maximum control.
Quick Setup:
- Open one sample image in Photoshop
- Window → Actions → Create New Action
- Record these steps:
- • Image → Image Size → Set to 800×600px
- • File → Export → Save for Web → JPEG quality 60%
- Stop recording
- File → Scripts → Image Processor
- Select source folder, choose action, run
Best For: Professional photographers with existing Photoshop workflow
Method 4: ImageMagick (For Developers)
Command-line tool for ultimate automation. Script it once, run forever.
# Install ImageMagick first
brew install imagemagick # Mac
# Batch compress all JPGs to ~20KB
mogrify -resize 800x600 -quality 75% *.jpg
Best For: Developers automating image pipelines
Real-World Workflows
Scenario 1: Wedding Photographer (200 photos)
Challenge: Client wants online gallery. Each photo must be under 100KB for fast loading.
Solution: XnConvert
- Import 200 wedding photos
- Resize to 1920×1080 pixels (HD resolution)
- JPEG quality 80% (balances size and quality)
- Output to "Wedding_Compressed" folder
- Process time: 2 minutes for 200 images
Scenario 2: E-commerce Store (150 product photos)
Challenge: Product catalog needs uniform sizing. Each photo exactly 50KB for consistency.
Solution: Photoshop Action
- Create action: Resize to 1000×1000px, white background
- Export at JPEG quality 70%
- Use Image Processor on entire product folder
- Manually check first 5, then batch process rest
Scenario 3: HR Department (500 employee photos)
Challenge: ID card system requires exactly 20KB per photo. 500 employees to process.
Solution: XnConvert with precise settings
- Test with 10 sample photos to find perfect settings
- Resize to 600×600 pixels (passport size)
- JPEG quality 65% (gives ~20KB for 600×600)
- Save preset as "ID_Card_20KB"
- Process all 500 photos: 3-4 minutes total
Scenario 4: Blogger (100 article images)
Challenge: Year's worth of blog images. Need web-optimized versions under 100KB each.
Solution: iLoveIMG (quick and easy)
- Upload 30 images at a time (free limit)
- Compress automatically
- Download ZIP, extract
- Repeat 4 times for 100 images
- Total time: 10 minutes
Pro Tips for Batch Compression
Tip #1: Always test with 5-10 samples first
Don't compress all 500 images only to find they're too large or too compressed. Test a small batch, check quality and file size, then process the rest.
Tip #2: Keep originals in separate folder
Never overwrite your original files. Always output compressed images to a different folder. You might need originals later.
Tip #3: Match dimensions to your target KB
Want 20KB? Try 800×600 pixels. Want 50KB? Try 1200×900. Want 100KB? Try 1920×1080. Dimensions affect final file size more than quality slider.
Tip #4: Use consistent naming convention
Add suffix to filenames: "_compressed", "_20kb", "_web". Makes it easy to tell originals from compressed versions. XnConvert can auto-add suffixes.
Tip #5: For exact KB targets, compress individually
Batch tools give approximate sizes. If you need EXACTLY 20KB per image (e.g., government forms), use ResizeKB to process individually or in small batches.
Comparison: Which Method for Your Needs?
| Method | Images/Batch | Setup Time | Cost | Best For |
|---|---|---|---|---|
| XnConvert | Unlimited | 10 min | Free | Regular batch users |
| iLoveIMG | 30 (free) | 0 min | Freemium | Occasional use |
| Photoshop | Unlimited | 15 min | $10/mo | Professionals |
| ImageMagick | Unlimited | 30 min | Free | Developers |
| Manual | 1 at a time | 0 min | Free | Under 10 images |
My Recommendation
For most people: Download XnConvert. Yes, it takes 10 minutes to learn. But once you set it up, you can process 1000 images in 5 minutes. Worth the initial investment.
For quick one-time batches: Use iLoveIMG. No installation, works on any device, perfect for 10-30 images.
For exact KB requirements: Batch tools give approximate sizes. When you need EXACTLY 20KB per image (government forms), compress individually with ResizeKB.
Need Exact KB Sizes?
For government forms and applications requiring exact file sizes
Compress to Exact KB →