Compress Image to 300KB
Upload any JPG, PNG, or WebP image and automatically reduce its file size to 300KB or less
Drop a JPG, PNG, or WebP file above and get it under 300 KB in seconds — the tool automatically finds the highest quality setting that fits the limit, scaling dimensions down only if it has to. And everything runs in your browser. Nothing gets uploaded.
How It Works
Your image gets drawn onto an HTML5 canvas. The tool then tries different quality values — starting in the middle, going higher if there's room, lower if it's too big. It is basically a binary search that converges on the best quality you can have without busting the 300 KB limit. If even quality 0 isn't small enough, the dimensions get scaled down and the search restarts. You end up with the sharpest possible result under the target.
Examples
Passport Photo for a Visa Application
Government portal says max 300 KB. Your phone camera shot is way over.
passport_photo.jpg
4032 × 3024 px
3.8 MB
passport_photo_compressed.jpg
2016 × 1512 px
297 KB
Product Image for an eBay Listing
eBay recommends keeping images under 300 KB for faster loading. You shot a product on a white background with a DSLR.
product_shot.png
6000 × 4000 px
5.1 MB
product_shot_compressed.jpg
2400 × 1600 px
294 KB
Screenshot for a Support Ticket
The helpdesk portal won't accept attachments over 300 KB. Quick fix.
screenshot.png
1920 × 1080 px
820 KB
screenshot_compressed.jpg
1920 × 1080 px
289 KB
Who Uses This
Shrink ID photos and certificates to meet online application upload limits.
Compress product photos for marketplace listings that cap image sizes at 300 KB.
Get hero images and thumbnails under budget for faster page loads.
Keep newsletter images light so emails don't get clipped by Gmail's 102 KB limit.
Common Mistakes
PNG is lossless, which means photos almost never fit under 300 KB in that format. Switch to JPEG or WebP — they're designed for photographic content and compress much smaller.
If your file is already 150 KB, running it through again won't help — it'll actually add artifacts and possibly make it look worse. Only compress images that actually exceed 300 KB.
A 15 MB RAW-quality image squeezed to 300 KB will lose some detail. That is just how lossy compression works. For best results, crop or resize the image first, then compress.
Technical Details
- Processing: 100% client-side (Canvas API + Blob)
- Browser Support: Chrome, Firefox, Safari, Edge
- Input Formats: JPEG, PNG, WebP, BMP, GIF
- Output Formats: JPEG, WebP, PNG
- Target Size: ≤ 300 KB (307,200 bytes)
- Algorithm: Binary search on quality + optional downscaling
Frequently Asked Questions
Does compressing to 300 KB ruin image quality?
Not usually. For a typical 2-5 MB photo, the tool finds a quality level that looks nearly identical to the original. You'd need to zoom in close to spot differences. Extremely large files (10 MB+) will show more visible compression, but results are still very usable for web and forms.
Why is my compressed image slightly under 300 KB instead of exactly 300 KB?
The tool targets "at or under" 300 KB, not exactly 300 KB. It finds the highest quality setting that stays below the limit. Because JPEG/WebP quality steps aren't linear, the result might be 285 KB or 299 KB — but never over 300 KB. That's by design.
Can I compress a PNG screenshot to under 300 KB?
Yes, but you'll want to select JPEG or WebP as the output format. PNG is lossless, so large screenshots rarely compress below 300 KB while staying in PNG format. Converting to JPEG typically cuts the size by 80-90% with minimal visible difference for screenshots.
Is my image uploaded to a server when I use this tool?
No. Everything happens in your browser. The image never touches a server — compression runs locally using the Canvas API. You can even disconnect from the internet after the page loads and it'll still work. Your files stay completely on your device.
What happens if my image can't be compressed to 300 KB?
The tool will scale down the image dimensions and retry. If a photo is extremely large, both quality reduction and resizing kick in. You'll see the final dimensions in the result. In rare cases with very complex images, you might need to crop the image first to reduce the amount of detail the compressor has to deal with.