How to use this tool
Reduce the file size while keeping the original format, then review the result before downloading. Small limits may reduce image dimensions.
- 1Select an image from your device.
- 2Choose a target in KB. Keep the original format, or select JPG, PNG, or WebP.
- 3Compress the image, review the before-and-after size, and download it.
Best for
Upload limits, forms, email attachments, websites, and smaller image storage or downloads.
Privacy
Your image is processed locally in your browser and is not uploaded to us. Read our privacy policy
Reduce an image for an upload limit
Read the destination's accepted file type, pixel dimensions, and maximum file size before compressing. If it requires an exact width and height, resize first, then compress the exported image. Check both the downloaded dimensions and file size: a difficult compression target can reduce dimensions again.
Fix a rejected photo uploadSet the required pixel dimensions first
How target-size image compression works
The compressor encodes the image at a high quality first, then searches between higher and lower quality settings until it finds the highest practical JPEG or WebP quality whose file is at or below your target. Choose a 20 KB, 50 KB, 100 KB, 200 KB, 500 KB, or 1 MB preset, or enter a custom limit of at least 5 KB.
Why a very small KB limit can reduce image dimensions
Quality reduction cannot remove enough data from every image. A detailed 12MP phone photo may need fewer pixels to fit a 20 KB limit, so dimensions are preserved first and reduced only when the lowest practical quality at the original size is still too large. The aspect ratio stays the same, and the result tells you when dimensions changed.
JPEG and WebP compression
JPEG is widely supported and works well for photographs, but it does not preserve transparency; transparent areas receive a white background. WebP can produce a smaller modern image and can preserve transparency when your browser supports WebP encoding. PNG output preserves transparency and may need smaller dimensions to meet a file-size target.
Limitations
- JPG, PNG and WebP support a file-size target. PNG may need smaller dimensions to reach it.
- Very small limits can require reducing pixel dimensions, and lossy compression can reduce visual quality.
Questions
How do I compress an image to 100 KB?
Choose an image, select the 100 KB target, choose JPEG or WebP, and start compression. The tool searches for the highest practical quality that stays at or below 100 KB.
Can I choose the exact file-size limit?
Yes. Use the 20 KB, 50 KB, 100 KB, 200 KB, 500 KB, or 1 MB preset, or enter a custom target of at least 5 KB.
Does compressing an image reduce quality?
JPEG and WebP compression can reduce visual quality. The compressor searches for the highest practical quality that stays within your chosen file-size limit.
Does compression change image dimensions?
Dimensions stay the same whenever quality reduction alone can reach the target. If the limit is very small, the compressor may reduce dimensions while preserving the aspect ratio.
Which output formats can I use?
The compressor can create JPG, PNG or WebP output. By default it keeps the original format. PNG may need smaller dimensions to meet the target.
Is my image uploaded to a server?
No. Image pixels stay in your browser while the image is compressed, and the selected image is not uploaded to an iLoveIMG server.
Related tools
- Compress Image to 50KB
Compress an image to 50 KB or less while keeping its original format.
- Resize Image
Resize JPG, PNG, and WebP images to exact dimensions. Choose crop, fit, or stretch.
- Convert Image
Convert JPG, PNG, and WebP images in your browser.

