Skip to content

Compress Image to 100KB or Any Size

Pick a file size and get the best quality that fits, for JPG, PNG and WebP images.

Processed in your browser. Files never leave your device.No signup

Add up to 30 JPG, PNG or WebP images (up to 50 MB each), choose a target of 20 KB, 50 KB, 100 KB, 200 KB, 500 KB, 1 MB or any custom size, and each image is compressed to the highest quality that fits. JPG and WebP search quality from 92 down to 30, PNG tries lossless first and then 256 down to 16 colors, and only if that is still too large are the dimensions reduced. Images already under the target are returned unchanged, and every result says what was done or that the target couldn't be reached.

Compress an image to a specific file size

Job portals, exam and visa applications, government forms and some email systems accept images only up to a fixed size, often 20 KB, 50 KB or 100 KB. A normal compressor makes you guess a quality setting, check the size, and try again. Here you set the size and the tool does the guessing.

For each image it first tries a high quality. If that is too big, it searches for the highest quality that still fits, encoding a few versions and keeping the best one under the limit. The live preview shows the result for the selected image, with its size and the quality used, before you download anything.

What happens when the target is very small

Quality alone can only go so far. A 12 megapixel phone photo stays well above 100 KB even at low JPG quality, because it has too many pixels. When the lowest quality the tool allows (30 for JPG and WebP, 16 colors for PNG) is still over the target, it shrinks the width and height step by step until the file fits, then raises the quality again at that size. The result note tells you when an image was resized and gives the new dimensions.

If even a very small version can't fit, for example a 1 KB target for a detailed photo, the tool gives you the smallest version it found and says clearly that the target wasn't met. Nothing is resized below 32 px on the longest side.

Choosing the output format

Same as input, the default, keeps JPG as JPG, PNG as PNG and WebP as WebP, which matters when a form only accepts one type. PNG is lossless, so a photo saved as PNG usually has to lose colors and pixels to reach a small target. Switching the output to JPG often keeps much more detail at the same size; transparent areas become white in that case. WebP is often smaller still and keeps transparency, but some upload forms don't accept it.

Sizes, KB and what gets removed

Here 1 KB means 1,000 bytes, so a 100 KB target gives a file of at most 100,000 bytes. That fits limits counted in either 1,000 or 1,024 byte kilobytes. The result note shows the exact byte count.

To save space, compressed images don't keep camera metadata such as EXIF dates and GPS location. Images that were already small enough are returned as they were, metadata included. To learn how quality settings and formats affect size, read lossy vs lossless compression, and for full control over the settings use the image compressor.

FAQ: Compress Image to Size

How do I compress a photo to 100 KB?

Add the photo, keep the 100 KB target selected and click Compress images. The tool finds the highest quality that fits under 100,000 bytes and shows the size before you download. For other limits, pick 20 KB, 50 KB, 200 KB, 500 KB or 1 MB, or choose Custom and type the size in KB.

Why was my image resized?

The target was smaller than the image could reach at the lowest quality the tool uses. Fewer pixels need fewer bytes, so the tool reduced the width and height until the image fit, then used the best quality possible at that size. The result note shows the new dimensions.

What if the target can't be reached?

You get the smallest version the tool could make, and the note says the target wasn't met. This happens with very small targets for large or detailed images. Try a larger target, crop the image first, or convert it to JPG or WebP.

Is 100 KB the same as 102,400 bytes?

Some systems count 1 KB as 1,024 bytes and others as 1,000. This tool uses 1,000, so a file compressed to 100 KB is at most 100,000 bytes and passes either kind of limit.

Will the image keep its format?

Yes, by default. JPG stays JPG, PNG stays PNG and WebP stays WebP. You can also save everything as JPG or WebP, which usually reaches small sizes with better quality than PNG.

Can I compress many images to the same size?

Yes. Add up to 30 images and each one is compressed to the same target with its own best quality. Download them one by one or as a ZIP.

Are my images uploaded?

No. Compression runs in your browser with WebAssembly versions of MozJPEG, libwebp and oxipng, and your images never leave your device.

Learn more: Lossy vs Lossless Compression