To compress an image to 100 KB, save it as JPEG or WebP and lower the quality step by step until the file is just under 100 KB. If it still won’t fit at around 60% quality, reduce the width and try again. The compress image to size tool does this search for you: pick 100 KB (or any limit), drop the image in, and it finds the highest quality that fits, all in your browser.
The same method works for 20 KB, 50 KB, 200 KB or 1 MB. Only the starting dimensions change.
Key takeaways
- No single quality setting always gives 100 KB, because file size depends on the picture. You have to test.
- Lower the quality first, then the dimensions. Quality down to about 60–70% is rarely noticeable on photos.
- WebP is 25–34% smaller than JPEG at the same visual quality, so it keeps more detail under a tight limit, but some upload forms only accept .jpg.
- PNG is lossless and rarely gets small enough. Convert photos to JPEG or WebP first.
Why can’t you just set “quality 70” and get 100 KB?
JPEG and WebP compress by throwing away detail your eye is unlikely to miss. A photo of a clear blue sky has very little detail, so it compresses to a tiny file. A photo of gravel, leaves or a busy crowd has detail everywhere, so the same quality setting gives a much bigger file. Two images with the same dimensions can differ in file size several times over.
As a quick test, I ran a 1600×900 graphic (one of our featured images) through the same search. As a PNG it was 916 KB and as a 95% JPEG 187 KB. Six rounds later, the highest JPEG quality under 100 KB was about 82%, at 98 KB. The same image as a WebP at that quality was 45 KB.
That is why online forms only give a size limit: they can’t tell you which setting reaches it. The reliable way is to try a quality, check the size, and adjust. Doing that by hand takes a few rounds in an image editor. A tool can do dozens of rounds in a second.
How do you compress an image to 100 KB step by step?
- Start from the original, not a copy that has already been compressed. Re-compressing a JPEG adds new artefacts each time.
- Choose the format. Use JPEG if the form only accepts .jpg (common on government and job application sites). Use WebP for websites and anywhere it is accepted.
- Set a sensible width. For a 100 KB limit, around 1200–1600px wide is a reasonable starting point for photos. A phone photo at its full 4,000px width rarely fits without looking blocky.
- Lower the quality until the file is just under the limit. Stop as soon as it fits; going further only loses detail.
- Shrink only if needed. If quality has dropped to about 60% and the file is still too big, reduce the width by 10–15% and repeat.
- Check the result at 100% zoom. Look at faces, text and edges for blockiness or colour banding.
What size should the image be for each file size limit?
These are starting points for a typical photo, not guarantees. Simple images can be larger; very detailed ones may need to be smaller.
| Limit | Typical use | Starting width for a photo |
|---|---|---|
| 20 KB | Signatures, thumbnails, some ID upload forms | 400–600px |
| 50 KB | Profile photos, small product images | 600–900px |
| 100 KB | Application forms, blog images, email | 1000–1400px |
| 200 KB | Website hero images (WebP or AVIF) | 1600–2000px |
| 500 KB – 1 MB | High-quality portfolio or print previews | 2000px and above |
Check the form: Many forms that ask for a passport-style photo or a signature also state minimum dimensions in pixels. Check both: a 20 KB photo that is too small in pixels can be rejected just like one that is too large in KB.
JPEG, WebP or AVIF: which gets smallest?
Google’s own tests found WebP files are 25–34% smaller than JPEG at equivalent quality, so at a 100 KB limit a WebP keeps noticeably more detail. AVIF is usually smaller still, but fewer tools can create it and some upload forms reject it. For a full comparison, see WebP vs AVIF vs JPEG.
| Format | Best for | Watch out for |
|---|---|---|
| JPEG | Forms that only accept .jpg, email, maximum compatibility | Larger files at the same quality |
| WebP | Websites, most modern uploads; supports transparency | A few older forms and apps reject it |
| AVIF | Websites where every KB counts | Slower to encode; not accepted everywhere |
| PNG | Screenshots with text, graphics needing perfect edges | Far too large for photos under a tight limit |
If you have a PNG photo, convert it rather than trying to squeeze the PNG. The image format converter handles PNG to JPEG, WebP and AVIF; choose WebP if you need to keep transparency.
Is it safe to use an online image compressor?
It depends what you are compressing. Many online compressors upload your file to their server, which matters for ID photos, signatures, scanned documents and client work. Photos from phones can also carry GPS location in their EXIF data. Refract’s compressor runs in your browser, so the file never leaves your device. If location data is a concern, read how to remove EXIF data and GPS location.
Compressing lots of images at once
For a whole folder going on a website, it is usually better to set a target width and quality than a fixed file size, so every image looks consistent. The bulk image resizer does that, and our guide to compressing images for a website covers the settings. When an exact limit matters, such as an upload form, drop the batch into the compress to size tool and download them all as a ZIP.
Last checked: October 2026.
Sources: Google for Developers: WebP, MDN: Image file type and format guide.


