Image Compressor
Compress JPG, PNG and WebP images, or reduce them to an exact size such as 20 KB, 50 KB or 100 KB.
Runs in your browser. Your images are not uploaded.
75% is a good starting point for photos. Lower it for smaller files.
Drag & drop images here
or click to select JPG, PNG or WebP files
Related Image Tools
This image compressor makes JPG, PNG and WebP files smaller in two ways. Lower the quality yourself and watch the file size drop, or pick a maximum size such as 20 KB, 50 KB or 100 KB and let the tool find the best quality that fits. You can compress one photo or a whole batch, compare each result with the original, and download them one by one or as a ZIP.
How to Compress an Image
- Choose how to compress: By quality for the usual case, or To a file size when a form or website has a limit.
- Pick the output format: Auto keeps JPG as JPG and WebP as WebP, and saves PNG as WebP. Choose JPG if an upload form only accepts JPG.
- Add your images: they are compressed as soon as they are added. Change a setting and press Apply new settings to redo them.
- Check the result: each card shows the size before and after. Press and hold Hold to compare to see the original.
- Download: one file at a time, or all of them as a ZIP.
Compress an Image to 20 KB, 50 KB or 100 KB
Exam portals, job applications and government forms often accept a photo or signature only under a fixed size. Choose To a file size, pick the limit or type a custom size in KB, and every image is compressed until it fits.
The tool keeps the highest quality that still fits. If the file is too big even at about 30% quality, it makes the image smaller in pixels and tries again. For example, a 14 MB panorama 8,000 pixels wide came out at 19.4 KB as a JPG, about 790 pixels wide. If an image cannot get under the limit at all, the card says so.
- Passport-style photo: crop to your face and shoulders first with the Image Cropper. Fewer pixels means more quality at the same file size.
- Signature: sign on plain white paper in dark ink. A clean signature fits under 20 KB easily.
- Exact dimensions too: if a form also asks for a pixel size, set it in the Bulk Image Resizer, which has the same file size targets.
Which Format Makes the Smallest File?
| Format | Compression | Best for |
|---|---|---|
| WebP | Lossy, with transparency | The smallest files for websites; Google reports lossy WebP 25–34% smaller than JPG at the same quality |
| JPG | Lossy, no transparency | Photos for forms and email, where JPG is the format every system accepts |
| PNG | Lossless only | Screenshots and graphics that must stay pixel-perfect; it cannot be compressed with a quality setting |
To change format without compressing further, use the PNG to WebP or JPG to WebP converters.
What Quality Should You Use?
Start at 75%, where the slider begins. How much that saves depends on where the image came from. In our tests a 10.5 MB phone photo saved as PNG dropped to 236 KB, a 14 MB high-quality camera JPG to 4.1 MB, and a 310 KB JPG that had already been compressed only to 186 KB. Go down to 60% for web images where size matters more, and stay at 85% or higher for photos you may print or edit again.
Compressing the same JPG again and again loses a little more detail each time. Keep your originals and always compress from them. For more on why image size matters on websites, see our guide to website speed optimization.
Frequently Asked Questions
How do I reduce a photo to 20 KB?
Choose To a file size, pick Under 20 KB, set the format to JPG if the form asks for JPG, and add the photo. The tool lowers the quality until the file fits, and if that is not enough it also makes the photo smaller in pixels. A large phone photo usually ends up a few hundred pixels wide at 20 KB, which is normal for forms that ask for that size.
How do I reduce an image from MB to KB?
Add the image and either lower the quality slider or pick a target such as Under 200 KB. A phone photo of several megabytes normally drops to a few hundred kilobytes at 75% quality without any visible change, and a size target takes it lower if you need it.
Does compressing an image reduce its quality?
Lossy compression (JPG and WebP) removes detail that is hard to see. At 70–80% quality most people cannot spot a difference at normal viewing size. Use Hold to compare on each result to check before you download. Very small targets such as 20 KB do show some softening.
Why is my compressed image smaller in pixels?
Only in To a file size mode, and only when lowering the quality to about 30% is still not enough. Past that point compression blocks become obvious, so the tool shrinks the image instead, which looks cleaner. The result shows (resized to fit) when this happens.
Why did a file not get smaller?
It was already compressed well, often a JPG that a phone or website had saved at low quality. When the new file would be the same size or larger in the same format, the tool keeps your original instead. Pick a lower quality or a size target to force it smaller.
Can I compress a PNG and keep the transparent background?
Yes. PNG has no lossy mode, so in Auto the tool saves it as WebP, which keeps transparency and is usually far smaller. Choose JPG only if a form requires JPG; transparent areas then become white.
Does 100 KB mean 100,000 or 102,400 bytes?
Both are in use. The tool aims for 1,000 bytes per KB, the smaller of the two, so the file is under the limit whichever way an upload form counts. The sizes shown use 1,024 bytes per KB, so a 100 KB target shows as about 97 KB.
Are my images uploaded?
No. Compression runs in your browser with its own image encoder. The files stay on your device.