Compress Image to Target Size
Choose a maximum file size and create a smaller JPG or WebP for application forms, email, websites, portals, and upload limits.
Advertisement
Aim for a real file-size limit
Target size in KB
Enter the maximum accepted file size instead of guessing with a generic compression level.
Automatic quality search
The browser tests multiple encoding qualities and reduces dimensions only when quality changes are not enough.
Honest result reporting
See final dimensions, quality, and measured file size before downloading.
Target-size compression guide
| Setting | Result | Best use |
|---|---|---|
| 20–50 KB | Small avatars and strict forms | Expect reduced dimensions or detail |
| 100–200 KB | Web thumbnails and email | Good balance for many photographs |
| 300–500 KB | Product and article images | More detail at larger dimensions |
| 1 MB or more | Large web imagery | Higher resolution and quality |
How it works
- 1
Upload an image
Choose a browser-supported photo or graphic.
- 2
Set the maximum KB
Select JPG or WebP, minimum quality, and maximum width.
- 3
Compress and download
Review the measured output size and save the result.
How target file-size compression works
A target-size compressor cannot promise an exact byte count because every image has different visual complexity. It searches encoding quality first, then reduces pixel dimensions when necessary. The output aims to stay at or below the selected limit while preserving as much useful detail as possible.
Photographs generally compress efficiently as JPG or WebP. Logos and screenshots with sharp text may need a larger target to remain crisp. Always inspect small text, faces, and product edges before submitting the result.
Frequently asked questions
Can I compress an image to exactly 100 KB?
The tool aims for 100 KB or less. Exact byte size is not guaranteed because browser encoders and image complexity vary.
Why did the image dimensions become smaller?
When the minimum quality is still above the target, reducing dimensions is the next reliable way to lower file size.
Is JPG or WebP smaller?
WebP often produces a smaller file, while JPG has broader compatibility with older systems.
Is the image uploaded?
No. Compression and measurement happen locally in your browser.
Compress Image to Target Size last reviewed: Aug 2, 2026.