Image compressor: shrink JPG, PNG and WebP
TL;DR: drop up to 50 images, choose a target such as 100 KB or 1 MB or set the quality, and download the smaller files one by one or as a ZIP. The compressor finds the best quality that fits and reduces the dimensions only if it has to.
Is your site slow because of images and PDFs? We’ll fix it
We audit page weight, move images to modern formats with responsive sizes and lazy loading, and set up caching and a CDN, so pages load fast on mobile. Tell us about your site and get an estimate.
Thank you! We will reply within one business day.
Upload forms, email and websites all have limits: “the file must be under 100 KB”, “maximum 1 MB”. Lowering the quality by hand until it fits takes several tries per photo. This compressor does it for you: choose the target size and it tries different quality levels for every file and keeps the best one that fits.
How to use it
- Add images. Drag up to 50 files onto the box, choose them with the button or paste a copied image with Ctrl+V.
- Choose the target. Pick 50 KB, 100 KB, 200 KB, 500 KB or 1 MB, enter your own size, or switch to “By quality” and set the quality yourself.
- Limit the dimensions if needed. For a website, setting the longest side to 1920 or 2560 px often saves more than lowering the quality.
- Check the format. By default each file keeps its format. WebP gives the smallest files at the same quality; PNG can only shrink by getting smaller.
- Download. Save the files one by one or as a ZIP. Each row shows the size before and after and the quality that was used.
Compress a photo to 100 KB, 200 KB or 1 MB
Each target below is a link: it selects the size in the compressor above. Sizes are counted in decimal kilobytes, so a file “up to 100 KB” is at most 100,000 bytes and passes both decimal and binary limits.
| Target | Typical use | What to expect for a 12 MP photo |
|---|---|---|
| 50 KB | Avatars, small thumbnails, strict upload forms | Reduced to roughly 800–1000 px on the long side |
| 100 KB | Online applications, ID photos, forum attachments | Around 1200–1600 px, fine on a phone screen |
| 200 KB | Blog and product images, email | Around 1600–2000 px at good quality |
| 500 KB | Large website photos, portfolios | Close to full size for many photos |
| 1 MB | Document portals, marketplaces, print previews | Usually full size at high quality |
How the compressor reaches the target size
JPG and WebP have a quality setting. The compressor first tries the quality you chose. If the file is still too big, it searches for the highest quality between 50 and your value that fits, using a binary search of up to eight attempts. If even quality 50 is too heavy, it reduces the dimensions in proportion to the excess and searches again, so a 6 MB phone photo can still go under 100 KB.
PNG is lossless and has no quality setting, so a PNG reaches the target only by getting smaller in pixels. For screenshots and graphics with transparency, WebP is usually a better choice: it keeps transparency and is several times lighter. If you want to change the format as well, use the image converter.
At YuSMP Group we build websites and keep them fast, and images and PDFs are the most common reason pages load slowly. If you need to fix the images of a whole site rather than a few files, see our web development service or start with the page speed test.
FAQ
How do I compress a photo to 100 KB?
Pick “100 KB” above the drop box (or open this page with #100kb in the address), then add the photo. The compressor finds the highest quality that fits and, if needed, reduces the dimensions. Download the result when the row shows the new size.
Does “100 KB” mean 100,000 or 102,400 bytes?
The compressor uses 100,000 bytes, the smaller of the two. A file made with this target fits both a decimal limit and a binary one, which Windows Explorer shows as KB.
Will compression make my photo look worse?
At quality 75–85 most people do not notice a difference. Strict targets for large photos also reduce the dimensions; the row shows the quality and the new size so you can judge the result.
Why didn’t my PNG get smaller?
PNG is lossless, so re-saving it rarely saves much. Choose WebP or JPG as the format, or set a target size: a PNG is then reduced in pixels until it fits.
Can I compress many images at once?
Yes, up to 50 files per batch, each up to 100 MB, and download all of them as a ZIP.
Is EXIF and GPS data removed?
Yes, by default. The image is redrawn, so camera data and location are not copied. If you need to keep EXIF in a JPG, clear the checkbox.
Are my images uploaded?
No. The compressor works in your browser in a background Web Worker. The files never leave your device.
What if the target cannot be reached?
Very small targets for very large images may not be reachable at a sensible size. The row then says so and shows the smallest result it produced.