🗜️ Compress an image to 300KB
How it works in your browser
To hit 300KB, the tool re-encodes your image several times at different quality settings and runs a binary search: each pass picks a quality level, measures the resulting file size, then narrows in until it lands the highest quality that still stays at or under 300KB. If even the lowest quality is still too big, it keeps the smallest version it could make. All of this happens in a background worker on your device.
How target-size compression works
To hit 300KB, the tool re-encodes your image several times at different quality settings and runs a binary search: each pass picks a quality level, measures the resulting file size, then narrows in until it lands the highest quality that still stays at or under 300KB. If even the lowest quality is still too big, it keeps the smallest version it could make. All of this happens in a background worker on your device.
A 300KB target is generous for most web photos - large pictures can usually hit it while still looking sharp.
You can output JPEG or WebP. WebP generally reaches a given target at higher visual quality than JPEG, so it is the better pick for hitting 300KB when your destination accepts WebP; choose JPEG when you need maximum compatibility.
How to compress to 300kb
- Drop your image (or click to choose).
- Click Compress to size - we search for the best quality under 300KB.
- Download the result, created locally.
FAQ
Are my files uploaded anywhere?
No. The whole process runs inside your browser. Your images never leave your device and nothing is sent to a server.
How do you compress to exactly 300KB?
The tool repeatedly re-encodes the image at different quality levels and keeps the best one that stays at or under 300KB.
Will quality drop?
It picks the highest quality that still fits your target size. Smaller targets mean more compression, so set a realistic size for your image.