How to use the compress image to a target size
- Choose the size limit. Pick 20 KB, 50 KB, 100 KB, 200 KB, 500 KB or 1 MB, or type your own. Upload forms usually state their limit next to the field.
- Add your images. Drop in one image or a whole batch. A sample photo is loaded first so you can see how it works.
- Let Refract find the quality. Each image is saved at the highest quality that fits the limit. Only if it still won’t fit at the lowest sensible quality are its dimensions reduced, step by step.
- Download. Download images one by one or as a ZIP. Images that were already under the limit are left exactly as they were.
How it hits an exact size
File size depends on the picture, so there’s no single quality setting that always gives 100 KB. Refract does what you’d do by hand, many times over: it saves the image at different qualities, homing in on the highest one that stays under your limit. That takes a second or two per image, all on your device.
Which format to choose
JPEG works everywhere, including government and job application forms that only accept .jpg. WebP is usually 25–35% smaller at the same quality, so it keeps more detail under a tight limit, and every current browser supports it. AVIF can be smaller still, but only some browsers can create it and some upload forms reject it.
When the image has to shrink
A large, detailed photo can’t reach 20 KB at full size without looking blocky. Rather than drop to unusable quality, Refract reduces the width and height in steps until a reasonable quality fits. Setting a maximum width yourself, such as 1200px for a website, usually gives a sharper result at the same size.
Frequently asked questions
How do I compress a photo to 100 KB?
Choose 100 KB, drop the photo in and download the result. Refract keeps the highest quality that fits.
Are my images uploaded?
No. Everything happens in your browser, which matters for ID photos, signatures and documents for applications.
Why is my image still smaller than the limit?
Refract picks the highest quality that stays under the limit, so the result is usually a little below it. Upload forms only care that it isn’t over.
Can I compress a PNG to a small size?
Yes, but it’s converted to JPEG or WebP, because PNG is lossless and rarely gets small enough. Choose WebP to keep transparency.