How to reduce an image's file size in KB (e.g. under 100 KB)
Quick answer
To get an image under a size limit such as 100 KB, reduce its dimensions first and then lower the JPG or WebP quality until it fits. Our Compress Image tool does this automatically: enter the target size in KB and it finds the highest quality that fits, shrinking the dimensions only if it has to. A typical phone photo resized to about 1000 px on the long side often fits under 100 KB at around 70–75% JPG quality.
How to compress an image to a specific size in KB
- 1Add your image
Open Compress Image and drop in your JPG, PNG, WebP or HEIC files, or paste with Ctrl+V / Cmd+V.
- 2Pick the output format
Choose JPG for upload forms and maximum compatibility, or WebP for websites. Keep format works for JPG and WebP sources.
- 3Enter a target size
Switch to Target size and type the limit in KB, for example 100. Leave a small margin if the limit is strict.
- 4Optionally cap the dimensions
Set a maximum width/height such as 1280 px to get a sharper result than squeezing a huge photo with low quality.
- 5Compress and download
Click Compress. Each file shows its new size, the quality used, and whether it had to be resized to fit.
What actually decides an image's file size
Two things dominate: how many pixels the image has, and how strongly they're compressed. A modern phone photo is around 12 megapixels (4032×3024), which as a JPG is typically 2–5 MB. No amount of quality tweaking will get that to 100 KB without visible damage, but halving the width and height cuts the pixel count to a quarter, and the file size drops roughly in proportion.
That's why the order matters: resize first, then compress. A 1200 px wide photo at 80% quality looks far better than a 4000 px photo crushed to 20% quality to hit the same size.
| Long side | Typical JPG size at 75–80% quality | Good for |
|---|---|---|
| 4032 px (original) | 2–5 MB | Printing, archiving |
| 1920 px | 300–600 KB | Full-screen viewing, websites |
| 1280 px | 120–250 KB | Email, blog posts, most uploads |
| 1000 px | 80–180 KB | Forms with 100–200 KB limits |
| 600 px | 30–80 KB | Profile photos, ID uploads, 50 KB limits |
These are typical ranges for photos; busy scenes such as trees, gravel or crowds sit at the top end, while plain backgrounds and portraits sit at the bottom. Documents and screenshots behave differently: text on white compresses very well.
How the target-size mode works
In Compress Image, target-size mode encodes your image at different quality levels and narrows in on the highest quality that still fits under your limit. If even the lowest quality is too big, it reduces the dimensions step by step until the file fits, and tells you the new width and height. If the original already fits in the same format, it's kept as it is.
Everything happens in your browser, so the photos (often ID documents or personal pictures, for upload forms) never leave your device. Compressed copies also have EXIF metadata such as GPS location removed.
Choose the right format for small files
- JPG is the safe choice for upload forms, job portals and government websites, which often accept only JPG or JPEG.
- WebP gives smaller files than JPG at the same quality and keeps transparency, so it's best for your own website. Some forms reject it.
- PNG can't be squeezed to a target size, because browsers can only save PNG losslessly. Convert PNG photos and screenshots to JPG or WebP to make them small.
HEIC photos from an iPhone are converted to JPG by the compressor, since browsers can't write HEIC. Animated GIFs become a still image of the first frame.
The compressor works the same in a phone browser, which is handy when a form on your phone rejects a photo straight from the camera. Add several photos at once and the target size is applied to each file separately; download them individually or as one ZIP.
KB isn't always the same KB
Our tools count 1 KB as 1,024 bytes, as Windows File Explorer does. macOS Finder and some websites count 1 KB as 1,000 bytes. The difference is only 2.4%, but it can matter when a form checks a hard limit: a file shown as 99 KB on Windows is about 101 KB by the 1,000-byte measure.
If a form rejects a file that looks just under the limit, set the target a few KB lower, for example 95 KB for a 100 KB limit.
Common problems and fixes
- The result looks blocky or blurry. The quality had to drop too low. Set a smaller maximum width/height (such as 1280 or 800 px) so the tool can use a higher quality, or crop away empty background.
- It says it couldn't reach the target. Very small limits on very detailed images can be impossible at a usable size. Crop to the important part, or reduce the dimensions further with Resize Image.
- The file got bigger. This can happen converting an already compressed JPG to another format. In the same format, the compressor never silently returns a bigger file; it keeps your original and says so.
- The form says the file type is wrong. Check it expects JPG and that you didn't choose WebP. Some forms also check the extension: .jpg and .jpeg are the same format.
- I need a PDF under a size limit. Use Compress PDF, or convert photos straight to a PDF with JPG to PDF.
Frequently asked questions
Open Compress Image, choose JPG, switch to Target size and enter 100 (or 95 for a safety margin). The tool finds the best quality that fits and resizes the photo only if it must.
Only a little. Lossless methods such as removing metadata save a few KB. Big reductions always come from fewer pixels or lossy compression, but done carefully the difference is hard to see.
PNG is lossless, so the browser can't trade quality for size. Convert it to JPG for photos or WebP if you need to keep transparency.
Around 1280–1600 px on the long side is plenty for viewing on screen, which usually means 150–400 KB per photo as JPG.
Yes. Add them all, set the target size once, and each image is compressed to fit that limit on its own. Download them one by one or together as a ZIP.
Not unless you set a maximum width/height or the target size can't be reached at the lowest quality. If the tool resizes, it shows the new dimensions.