Compress Image to KB
Set a 20, 50, 100, 200 KB or custom limit and automatically try quality and size adjustments.
Drop your image here
Drag and drop, or choose a file below
JPG · PNG · WEBP
Up to 250 MB · One image at a time
Each image: up to 16 megapixels and 8192 px per side
100% local processing
Original image preview
Your preview will appear here
How to use
- 01
Choose a JPG, PNG or WebP image.
- 02
Enter the maximum KB, select a format and decide whether pixel dimensions may shrink.
- 03
Compress, check actual bytes and dimensions, then download the result.
Details and tips
How it works
The tool tests browser encodings and checks each actual Blob size. It first searches JPG/WebP quality between 35% and 92%, then optionally reduces dimensions from the original image. PNG ignores quality and can only try re-encoding and smaller dimensions. A bounded search reports when it cannot meet the limit.
Made for everyday images
Prepare photos for forms, listings and email attachments with explicit size limits. Keep the original separately and verify that the receiving service accepts the downloaded file.
Frequently asked questions
Will the result be exactly 200 KB?
No. The goal is at or below your maximum, not padding a file to an exact size. The result shows actual bytes and explicitly warns when the limit was not met.
Can I keep the original dimensions?
Yes. Disable dimension reduction. If quality changes cannot meet the limit, you can download the smallest attempt or change your settings.
Why can a PNG remain too large?
PNG does not use the JPG/WebP quality setting. A detailed transparent PNG may need smaller dimensions or WebP. JPG removes transparency by filling it with white.