Compress Images to Exact File Size
Compress JPG, PNG, and WebP images to a specific file size — 50KB, 100KB, 200KB, 500KB, or any custom target. Perfect for email attachments, forum uploads, and job applications. Free, private, and browser-based.
Drop files here or browse
Supports JPG, PNG, WebP, GIF, BMP — up to 50 MB
When to use exact size compression
Email attachments
Many email providers limit attachments to 25MB, but some corporate systems cap at 5MB or even 1MB per image.
Forum & social uploads
Forums often limit uploads to 100KB–500KB. Pick the right preset to match the requirement exactly.
Quality vs size
The compressor uses binary search to find the highest quality that fits your target — minimal visible loss.
Batch compression
Upload up to 20 images and compress them all to the same target size in one go. Files already under target are skipped.
Why exact file size matters
Many websites, email providers, and application forms enforce strict file size limits. Job applications often require photos under 100KB or 200KB. Government forms may cap uploads at 50KB. Forum avatars and profile pictures typically need to be under 500KB. Our exact-size compressor solves this by targeting the precise KB value you need.
Unlike simple quality sliders, this tool uses a binary search algorithm to find the highest possible quality level that fits within your target size. It tries multiple quality settings automatically, converging on the best result in just a few iterations. For very small targets, it also reduces image dimensions to ensure the target is met.
All compression happens locally in your browser — images are never uploaded to any server. The tool supports JPEG, PNG, WebP, GIF, and BMP, and can process up to 20 images in a single batch.
Frequently asked questions
What target sizes are available?
Preset targets include 50KB, 100KB, 200KB, 500KB, and 1MB. You can also enter a custom KB value for any size between 1KB and 10MB.
Will my image lose quality?
The tool uses a smart binary search algorithm to find the highest possible quality that fits within your target size. For larger targets like 500KB or 1MB, quality loss is typically imperceptible. Smaller targets like 50KB may require more aggressive compression.
What image formats are supported?
We support JPEG, PNG, WebP, GIF, and BMP input formats. Compressed output uses JPEG for best size reduction, including for PNG images.
Can I compress multiple images at once?
Yes. Upload up to 20 images in a single batch. Each image is compressed individually to the same target size. Files already under the target are skipped automatically.
Are my images uploaded to a server?
No. All compression happens locally in your browser. Your images are never uploaded anywhere and remain completely private on your device.