Image Compressor — Hit an Exact KB Size in Your Browser
Image compressor reduces a photo to a target file size by searching for the highest JPEG quality that still fits — no manual guessing. Everything runs in your browser; the image is never uploaded.
Runs locally · files stay on device · works offline
How it works in 4 steps
- 1
Pick or drop
Select or drag files into the card — loaded directly into local memory.
- 2
Set options
Adjust target KB, format, dimensions or filters with instant feedback.
- 3
Process locally
Canvas, WebAssembly, or Web Crypto completes the job on your device.
- 4
Save result
Download directly; close the tab to clear everything from memory.
When to use this
| Scenario | Recommended | Why |
|---|---|---|
| A form caps uploads at 100KB | Image Compressor | Binary search finds the quality that just fits |
| Still too big after compressing | Image Resizer | Shrink pixels first — same size, better quality |
| You only need 20KB | Compress to 20KB | Smaller targets also need a smaller image |
Privacy & Offline Guarantee
Ready to use with zero installation or login. Once loaded once, core dependencies cache locally so the tool works offline.
FAQ
Will compressing make my photo blurry?
Above quality 0.8 the difference is invisible. For social posts or web uploads, 0.75–0.85 is the sweet spot: 50–80% smaller with no visible loss.
Can I compress several images at once?
Yes. Pick multiple files and download them one by one. There is no server-side queue, so the count is limited only by your device memory.
Why did my PNG get bigger after compressing?
PNG is lossless, and the browser re-encodes it less efficiently than a dedicated tool. For screenshots, switch the output format to WebP — this tool supports it.
Further reading
Something failed, or you wish this tool also did something else? Tell me →
Related Tools
Ready to process your files privately?
Back to tool ↑