🎯

Compress Image to Target Size

Compress an image to a specific file size —100KB, 50KB, 200KB, or any custom size. Automatically finds the optimal quality to hit your target. No upload required.

Image Tools Runs locally No data sent
compress 100KB target size image
Target File Size
KB max
Output Format
Result
Original —
Output —
Quality used —
Status —
Preview
🎯
Drop your image here
or click to browse
JPEG · PNG · WebP · GIF · BMP

What is Compress to 100KB?

Compress images to a specific file size (100KB, 50KB, 200KB, or any size) online for free. Auto-adjusts quality to hit your target. No upload —runs entirely in your browser.

How to Use Compress to 100KB

  1. Upload the image that needs to fit under the 100KB limit.
  2. Let the tool reduce quality or dimensions until the target size is reached.
  3. Check the preview to make sure the image still looks acceptable.
  4. Download the compressed file once it meets the size limit.
Understand Targeted Image Compression ▾
Example
Input Upload a 1.8 MB passport photo and set the target to 100 KB
Output The tool iterates compression settings until the exported image is close to the target size
Common Use Cases
  • Meet government or school upload limits
  • Reduce profile photos for forms with strict file caps
  • Shrink scanned documents before submitting online
  • Avoid repeated trial-and-error in desktop editors
Frequently Asked Questions
What if the image can't be compressed to my target size?

If the target is extremely small (e.g., 10KB for a high-resolution photo), the tool will compress to the lowest quality possible and show "Best effort —target not fully met." In that case, try resizing the image dimensions first using the Image Resizer , then compressing.

How does the binary search algorithm work?

The algorithm starts at quality 50%, checks if the output is above or below the target, then halves the search range: if too large, try lower quality; if small enough, try higher quality. After ~15 iterations it converges to the highest quality that produces a file within your target size.

Why does the output size sometimes exceed the target by a few KB?

JPEG compression is not perfectly predictable —the actual output size depends on image complexity. The algorithm tries to get as close as possible while staying under the target, but final blob size may vary by 1— KB. If strict compliance is required, set your target slightly lower (e.g., 95KB instead of 100KB).

Should I use JPEG or WebP to achieve the smallest file?

WebP generally produces smaller files at the same visual quality. Use WebP if the platform you're uploading to supports it. Use JPEG for maximum compatibility with older systems and image editors.