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 JPG, PNG, or WebP format.
- 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. Targets use 1,024 bytes per KB: the 1 MB preset is 1,048,576 bytes. For a decimal 1,000,000-byte cap, use a custom 976 KB target (999,424 bytes). Check the downloaded bytes and dimensions; an impossible target reports an error.
Use the fixed 50 KB compression targetUse the fixed 100 KB compression target
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.
Where your image is processed, verified
This compressor runs entirely in your browser. We verified that by network capture: while compressing a real photograph with a 100 KB target, no request carried image data — the only outbound traffic is standard page analytics (Cloudflare RUM, Mixpanel, Microsoft Clarity), which measures page usage and never sees your image. You can reproduce the check yourself: load this page, disconnect from the internet, and compress an image. It still works, because the work happens on your device.
Which tools differ: the AI features — background removal, AI blur and upscale, and the AI image detector's server mode — do send your image for processing when you use them. Each tool page says so before you upload, nothing is stored, and the detector's browser mode keeps images local. Ordinary compress, convert, resize, crop, metadata and redaction tools never upload your image.
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, and start compression in the source format. 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 supports JPG, PNG and WebP images and keeps the source format in the download. 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 a SafeImageTools server.
Related tools
- Compress Image to 50KB
Compress an image to 50 KB or less while keeping its original format.
- Compress Image to 100KB
Compress an image to 100 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.

