How to compress an image to a specific size
Pick a target such as 100KB, 200KB or 1MB (or type any size, like 50KB), then add your photos. For each image the compressor finds the highest quality that still fits under your target and shows the result next to the original size.
- Add images with the button, by drag and drop, or paste a screenshot with Ctrl+V. Add as many as you like; they are processed one by one.
- Download each file, or use Download all. On phones, Share · Save to Photos opens the share sheet so you can save straight to your photo library.
- Change any setting and every image is re-compressed automatically.
How target-size compression works
JPG and WebP get smaller as quality goes down. The tool runs a binary search over the quality value, encoding several times, and keeps the best quality that fits. If even a moderate quality is too large (typical for 12-megapixel phone photos and small targets), it scales the image down proportionally instead of crushing the quality, which looks much cleaner.
Targets are calculated with 1KB = 1,000 bytes. Some sites count 1KB as 1,024 bytes, some as 1,000; meeting the stricter one passes both. Your file manager may therefore show a “300KB” result as about 290KB.
JPG, PNG or WebP?
- JPG: best for photos and accepted almost everywhere. Choose this for forms and applications.
- WebP: usually smaller than JPG at the same visual quality. Great for websites, but some upload forms reject it.
- PNG: lossless, ideal for screenshots and logos with sharp text. Photos saved as PNG are often larger, and the only way to hit a target is to reduce dimensions.
- HEIC (iPhone): drop it in and it is converted to JPG while compressing. To convert without compressing, use the HEIC to JPG converter.
Private by design: no uploads, GPS removed
Most online compressors upload your photos to a server. This one re-encodes them inside your browser with the canvas API, so your images never leave your device, and it keeps working even if you go offline after the page loads.
Phone photos often contain EXIF metadata such as GPS coordinates, camera model and date. Files saved here contain none of it; when the original had GPS data you will see a “GPS location removed” badge. Rotation is applied to the pixels so the photo still displays the right way up.
Tips for the best result
- If the result looks soft, raise the target one step or set a max size such as 1600px. Moderate downscaling looks better than very low quality.
- If a site also requires exact pixel dimensions, resize first with the Image Resizer, then compress here.
- Use Compare to slide between the original and the compressed version.
FAQ
Are my photos uploaded anywhere?
No. Decoding, resizing and encoding all happen in your browser. Nothing is sent to a server.
How do I compress a photo to under 100KB?
Tap 100KB (or type any size under Custom) and add your photo. The tool picks the best quality that fits and reduces the dimensions if needed.
The website still says my file is too large.
Targets use 1KB = 1,000 bytes, which satisfies both common definitions. If it is still rejected, try a smaller target and check whether the site also limits pixel dimensions or only accepts JPG.
Can I compress iPhone HEIC photos?
Yes. HEIC files are converted to JPG while compressing. Safari can open HEIC natively; other browsers download a converter the first time.
Is there a limit on the number of images?
No fixed limit. Images are processed one at a time to save memory, but very large batches may be slow on older phones.
Does PNG transparency survive?
Yes, when saving as PNG or WebP. JPG has no transparency, so transparent areas become white.