Compress Image to a Target Size

Shrink JPG, PNG and WebP images under a size limit. Pick 20KB, 50KB, 100KB, 200KB or 1MB, or type your own.

🔒 Files never leave your device

Many websites reject images over a certain size. Type the limit you need, drop in your images, and you'll get the sharpest version that still fits. Everything happens on your device, so it's fast and private.

How to use the Compress Image tool

  1. Choose or drop one or more images (JPG, PNG or WebP).
  2. Set the target size in KB, or keep the preset.
  3. The tool finds the highest quality that fits under your limit, and only shrinks the pixel dimensions if it has to.
  4. Download each compressed image.

Common file size limits

Upload limits vary from site to site, so always check the exact number on the form you're filling in. These are the ranges you'll meet most often:

What you're uploadingTypical limitSuggested target
Signature on an exam, job or government form10–30 KB20 KB
Passport-style photo on an application form20–100 KB50 KB
Profile picture or forum avatar100–500 KB100 KB
Website, blog or listing photoNo hard limit, but smaller loads faster200 KB
Phone photos you want to emailOriginals are often several MB500 KB
Document upload portals1–2 MB per file1 MB

Getting the best quality at a small size

  1. Crop first. Every pixel you remove is space you don't have to compress. A signature cropped tightly to the ink needs far fewer bytes than the same signature on a whole page.
  2. Use the dimensions the form asks for. If the form wants 200×230 pixels, resize to that first, then compress. A small image at high quality looks much better than a large image squeezed to the same size.
  3. Don't screenshot your photo. Screenshots are saved as PNG, which is several times larger than the original JPG.
  4. Ignore DPI. Forms sometimes mention 300 DPI, but DPI is only a print setting and doesn't change file size. Pixel dimensions and KB are what count.

Need a step-by-step walkthrough for a specific form? Read how to get a photo under the size limit for an online application.

Guides

Frequently asked questions

How do I get a signature under 10KB?

Crop the photo tightly around the signature first, so there's no empty paper. A cropped signature around 300 pixels wide fits easily under 10KB and stays sharp.

Will a 20KB photo still look OK?

For a headshot or a signature around 200 to 400 pixels wide, yes. If you start with a large phone photo, it will be scaled down to fit under 20KB.

The form also needs exact pixel dimensions. What should I do?

Resize the photo first with our Resize Image tool, then compress it here. Doing it in that order gives the best quality.

Why is the result a JPG instead of a PNG?

JPG and WebP let us adjust quality in small steps, which is what makes hitting an exact size possible. PNG is lossless, so it can't be squeezed down to a chosen size the same way.

What happens if my target size is too small?

If the lowest quality setting is still too large, the tool reduces the width and height in steps until the file fits. The final dimensions are shown next to each result.

What happens to transparent areas?

JPG doesn't support transparency, so transparent areas become white. Pick WebP as the output format to keep transparency.

Related tools