Skip to content

Images & Files

Compress Image to a Specific Size

Registration portals often reject photos above a certain size. Set the limit, and this tool finds the best quality that still fits. Your photo never leaves your device.

Free · no sign-up · runs in your browser · updated

Use Compress Image to a Specific Size

The result is guaranteed to be no larger than 100,000 bytes (1 KB is counted as 1,000 bytes, so it is safe for portals that use either 1,000 or 1,024).

Output format

PNG is not offered: its size cannot be controlled with quality. PNG images can still be converted to JPEG here.

Dimensions

If quality alone is not enough, the dimensions are reduced only as much as needed to keep the image sharp.

How to use Compress Image to a Specific Size

  1. Choose or drag a photo or image into the upload area.

  2. Pick a size limit from the preset buttons (20 KB to 1 MB) or type your own, then choose JPEG or WebP.

  3. Check the note on each image: the final size and whether the target was reached. Then download the result.

How this tool decides the result

A JPEG file gets smaller as quality goes down. This tool first looks for the highest quality that still fits your limit at the original dimensions. If even the lowest acceptable quality (around 50) is not enough, it shrinks the dimensions only as much as needed, then searches for quality again.

The result is an image with the highest possible quality that stays within the limit. If the original photo is already under the limit, the original file is used as it is, unchanged.

How many bytes is a KB?

Some systems count 1 KB as 1,000 bytes, others as 1,024 bytes. This tool uses 1,000 bytes, so a 100 KB result passes under either count. On Windows, the size shown may look slightly smaller (about 97.7 KB for 100,000 bytes), which is normal.

When the target is not reached

A very detailed photo with a very small target, such as 20 KB, may need small dimensions. The tool limits shrinking to 10% of the original dimensions, and tells you if the target is still not reached. If you turn on Keep original dimensions, quality is lowered much further and the image can look grainy.

Questions about Compress Image to a Specific Size

Is my photo uploaded to a server?

No. The whole process runs in your browser, so photos of ID cards, diplomas or passport photos never leave your device.

Why is the result slightly below the limit, not exactly at it?

The quality search stops at the highest value that is certain to fit. A gap of a few percent from the limit is normal, and safer than going over it.

What if the portal also asks for a minimum size?

This tool only guarantees that the size does not exceed the limit. The result is usually close to the limit when the original photo is much larger. If it is too small, raise the limit a little.

Why is PNG not in the format options?

PNG is lossless, and its size cannot be controlled with quality. You can still add a PNG image: the result is converted to JPEG or WebP.

Is a transparent background lost?

With JPEG, transparent areas turn white because JPEG has no transparency. WebP keeps it.

Need more than tools?

We build websites, apps, and custom systems for your business.

These tools are only a small part of what Tipamedia can build. Tell us what you need and we will help you work out the next step.