Image Compressor
Make JPG, PNG and WebP files smaller, or resize them to an exact size like 50 KB or 100 KB. Your image is processed in your browser and never uploaded.
Compression settings
Original
Compressed
CompressingHow to get the file size you need
-
1
Add your image. Drag it onto the box, click to browse, or paste a screenshot straight from your clipboard.
-
2
Pick how to shrink it. Use Quality when you just want a lighter file. Use Target size when a form or email says “under 100 KB” and you need to land below a limit.
-
3
Compare and download. Check the preview and the percentage saved, then download. Changing any setting re-compresses the image instantly.
Practical tips
- Start at 75%. For most photos it is hard to tell from the original, and the file is often more than half the size.
- Use JPEG or WebP for photos. Keep PNG for logos, screenshots and anything with sharp text or transparency. WebP gives the smallest files and keeps transparency.
- Very small targets cost sharpness. If you ask for a size the image can’t reach at readable quality, the tool also reduces the dimensions and tells you so.
- Results land at or just under your target. The tool searches for the highest quality that still fits, so expect a few KB of headroom rather than an exact match.
Frequently asked questions
Are my images uploaded to a server?
No. Compression happens inside your browser using the HTML5 canvas, so the image never leaves your device. That makes it safe for private photos and documents, and it works even on a slow connection once the page has loaded.
What quality setting should I use?
For photos, 70 to 80 percent is the sweet spot: the difference from the original is rarely visible and the savings are large. Below about 50 percent you will start to see blocky patches and blurred edges, especially around text.
Why won’t my PNG get smaller with the quality slider?
PNG is a lossless format, so a quality setting has nothing to throw away. To shrink a PNG, change the output format to WebP or JPEG, or use Target size, which reduces the image dimensions when it needs to. Note that JPEG does not support transparency, so transparent areas become white.